The detailed process and difference of Zabbix active and passive detection

Source: Internet
Author: User

Recently, the project re-write collector to capture the function of software indicators, take this opportunity to learn some knowledge of Zabbix monitoring.

http://www.ttlsa.com/zabbix/zabbix-active-and-passive-checks/

Zabbix agent detection is divided into active (agent active) and passive (agent) two forms, active and passive statements are relative to the agent to discuss. A brief explanation of the difference between active and passive is as follows:

Active: The agent requests the server to get a list of active monitoring items and proactively submits the data that needs to be detected in the monitoring item to Server/proxy

Passive: The server requests data from the agent for the monitored items, and the agent returns the data.

The protocols in the Zabbix agent communication process are based on the JSON format, in the following format:

1 2 -"zbxd\x01" (5 bytes)-Data Length (8 bytes). 1 'll be formatted as 01/00/00/00/00/00/00/00 (eight bytes in HEX, + bit number)

Note: To avoid memory exhaustion, server restricts the use of up to 128MB of memory per communication connection.

Passive Detection

The server initiates the following request

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.