I will give an example of monitoring PPS (Packets Per Second) on network interfaces in Linux.
In order to calculate the number of transmitted packets per second on the network interface, create two simple scripts, the first to calculate the transmitted packets:
Category Archives: Zabbix
Monitoring Asterisk in Zabbix
We will monitor Asterisk through Zabbix agent, for this we install it on the same machine as Asterisk.
Continue reading “Monitoring Asterisk in Zabbix”Tracking file changes via Zabbix
I will give an example of checking the integrity of a file through checksum calculation using Zabbix agent.
Continue reading “Tracking file changes via Zabbix”How to solve the error “Unknown Object Identifier (Index out of range: XXX (ifIndex))”
Once I made a Zabbix template for drawing traffic graphs from GPON ports on Huawei SmartAX MA5683T.
From Linux, I looked at the interface indexes with the command:
Continue reading “How to solve the error “Unknown Object Identifier (Index out of range: XXX (ifIndex))””Description of Zabbix agent configuration
In this article I will describe the possible parameters of the configuration file of the Zabbix agent.
The symbol “#” means that the parameter is commented out and is the default, that is,
you can not specify it.
Monitoring CPU usage in Zabbix
I will give an example of monitoring the use of each processor core using Zabbix.
Continue reading “Monitoring CPU usage in Zabbix”Monitoring current RX and TX network interface buffers in Zabbix
One day after restarting the Ubuntu server, due to the long start of a large number of network interfaces, my script which increased the values of the buffers and also performed other settings was performed ahead of time, respectively, the changes did not apply and I found out about this problem only after 24 hours, so I decided monitor current RX and TX buffers.
Continue reading “Monitoring current RX and TX network interface buffers in Zabbix”IPTables rules for Zabbix
Suppose on the default server INPUT DROP, then I will give an example of the rule for Zabbix agent:
Continue reading “IPTables rules for Zabbix”Examples of Items for Zabbix
In this article I will give some examples of items for Zabbix agent and server.
Here is an example of counting the number of active processes (Element type is Zabbix agent, so I often count the number of processes nginx, apache2, sshd, named, radiusd, etc., and for a value of 0 you can make a trigger that the process does not work):
Continue reading “Examples of Items for Zabbix”Zabbix notifications by phone via Asterisk
One night at the station, the air conditioners turned off and the temperature started to rise, naturally, I received email notifications on the phone, but since it was night, I only saw them in the morning, so it was necessary for such an emergency to quickly make the possibility of phone call notifications.
Continue reading “Zabbix notifications by phone via Asterisk”