Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Principle of zabbix Monitoring Architecture

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Introduction of zabbix

Zabbix is an enterprise-level monitoring software, which can monitor the underlying hardware including host, cpu, memory, switch and other information. At the same time, it can also do monitoring based on the software level, including processes, ports, files and other state changes.

II. Zabbix monitoring architecture and flow chart

1. Architecture diagram

Agent,snmp,IPMA, the common monitoring method of zabbix

Zabbix adopts server/client architecture and server-proxy-client architecture.

When there are many node nodes, server-proxy-client is used to avoid too much server pressure and play a shunt role.

How do the components work?

Zabbix-server: responsible for configuring all monitoring items, triggering alarm actions, listening to data reported by node nodes, or actively pulling node data and storing them in the database

Database: responsible for storing the data of node nodes collected periodically by server, and showing the corresponding data changes to web ui.

Web ui: responsible for displaying node node data for a period of time or in real time

Agent: responsible for collecting local data according to the items monitoring items configured on the server side, then reporting it to the server side, and maintaining communication with the server side

Proxy: when the server connects too many node connections, it will bear a certain load, so it is necessary for the proxy to bear part of the node data, and then forward it to the server side to reduce the pressure on the server side.

Think about it: why can't there be more than one server?

If there are more than one server, node does not know who to report to, and may cause data inconsistency.

two。 Monitoring flow chart

Zabbix workflow:

Define a template template, then define the monitoring items items and triggers, bind the trigger and items to the template, then define the host group, join the host group, and bind the template to the host. Agent sends a tcp request to the server, and server sends the amount of items to be monitored to the agent,agent through the zabbix poller process to collect items data and report it to server or proxy, and the server side receives the data of agent or proxy to add to the database. And display the data to web ui, at the same time, the trigger of a project is bound with trigger, and when the project reaches the trigger threshold, it will trigger enents events (such as sending commands) and execute the corresponding action alarm to the corresponding person.

Active and passive monitoring

1. Active monitoring

Agent opens TCP connection Agent request items check list Server returns items list Agent processing response closes TCP connection Agent starts collecting data

two。 Passive monitoring

Server opens a TCP connection Server sends a request agent.ping\ nAgent receives the request and closes the TCP connection in response to Server processing the received data

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report