Log file monitoring in Zabbix means that the Zabbix agent in active mode will periodically check if the given log file has received new content that match the configured regular expression. Matched content is sent to the Zabbix server (or proxy, if the agent is monitored by a proxy) for further processing and storage. Zabbix […]
Tag: zabbix
Zabbix 7.0 Proxy Load Balancing
One of the new features in Zabbix 7.0 LTS is proxy load balancing. As the documentation says: Proxy load balancing allows monitoring hosts by a proxy group with automated distribution of hosts between proxies and high proxy availability. If one proxy from the proxy group goes offline, its hosts will be immediately distributed among other […]
Decrypting Zabbix TLS with Wireshark
One of the built-in security features in Zabbix is TLS (Transport Layer Security) support for external connections. This means that when your distributed Zabbix proxies or Zabbix agents connect to the Zabbix server (or vice versa), TLS can be used to encrypt all the connections. When the connections are encrypted, third parties cannot read the […]
Troubleshooting Zabbix Agent with Wireshark
A user has a Zabbix agent that collects the used disk space information on a host. The item interval is one minute: However, the user complains that Zabbix fails to collect to data appropriately as the graph has empty areas with occasional dots: In Zabbix implementations with very high NVPS (new values per second) this […]
Change History for Zabbix Protocols
All the information on this page is gathered from the official Zabbix documentation about the protocols and the upgrade notes. I’m using this information to assist with the Zabbix protocol dissector development in Wireshark, thus not all possible protocol change details will be documented here but mostly only those that affect the dissector. Version history: […]
Data Buffering in Zabbix Proxy
One of the features of Zabbix proxy is that it can buffer the collected monitoring data if connectivity to Zabbix server is lost. In this post I will show it happening, using packet capture, or packet analysis. Zabbix setup and capturing Zabbix proxy traffic This is the setup in this demo: For simplicity, the agent […]
LLD Filtering with Macros in Zabbix
When configuring monitoring and using templates in Zabbix you often see low-level discovery (LLD) used for finding out the monitored components or features of a host. In this post I will explain how user macros and regular expressions are used in LLD for filtering the discovery results. I’m using the Network Generic Device by SNMP […]
Zabbix Active Agent Autoregistration
Let’s see how the Zabbix active agent autoregistration works in the communication. I have configured the Zabbix agent (version 6.2.3) on the Linux host at 192.168.7.17 with this configuration: ServerActive=192.168.7.15 Hostname=Test-agent After restarting the agent, the Zabbix server (version 6.2.3) at 192.168.7.15 logged immediately in /var/log/zabbix/zabbix_server.log: cannot send list of active checks to “192.168.7.17”: host […]
Basics of Zabbix API with Python and PyZabbix
Zabbix API is the way to go when you need to manage Zabbix configurations or get data from Zabbix programmatically. For Python applications one of the community-based libraries is PyZabbix. Note: There is also a package called py-zabbix. That is a different one, not handled in this post. In this post I’ll show: How to […]
Graph Filtering Gotcha When Upgrading from Zabbix 5.0 to 6.0
The current Long Term Support (LTS) version series of Zabbix is 6.0, released in February 2022. The previous LTS version was 5.0, released in May 2020. Many of us are upgrading the Zabbix installation from 5.0 to 6.0 series these days, here is one catch to be aware of. In 5.0, when viewing graphs of […]