Zabbix basics

  zabbix

Basic terms

  • zabbix server
    Zabbix’s control center collects data and writes it into the database.

  • zabbix agent
    A process on the monitored server responsible for interacting with zabbix server

  • host
    Broadly speaking, servers refer to blade machines in most cases.

  • item
    Specific monitoring indicators

  • trigger
    A combination of logical rules

  • action
    The action that is triggered when the trigger meets a certain value

Configure host /item/trigger

configuration–>hosts

clipboard.png

Configure alert

administration–>media types

clipboard.png

Configure action

configuration–>actions

clipboard.png

There are mainly three parts here, action, conditions and operations.

clipboard.png

trapper

Item of trapper type listens to 10051 by default

Zabbix data transfer protocol

1.<HEADER>:ZBXDx01, 5 bytes in total
2.<DATALEN >: the length of the data transferred by this connection is 8 bytes in total. for example, if the length is 1, then here is 01/00/00/00/00/00/00/00, i.e. 8 bytes in hexadecimal and 64 digits.
In order to limit memory consumption, the maximum data transferred per connection cannot exceed 64MB.

Passive and active modes

  • Passive mode

  1. Server or proxy actively requests data from zabbix agent, and then agent sends the data back to server or proxy.

  • Zabbix trapper

  1. Agent actively sends the data to zabbix server. First, it will pull the list of item to be sent from the server, then it will get the data according to the list and send it to the server.

screen

Screen is a set of graph, examples of which are as follows:

clipboard.png

If screen is created, it will be created under monitoring–>screens. for trapper type, select simple graph.