I will give an example of monitoring PPS (Packets Per Second) on network interfaces in Linux.
Continue reading “Monitoring PPS (Packets Per Second) in Zabbix”
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:
We will monitor Asterisk through Zabbix agent, for this we install it on the same machine as Asterisk.
Continue reading “Monitoring Asterisk in 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”
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))””
In this article I will describe the possible parameters of the configuration file of the Zabbix agent.
Continue reading “Description of Zabbix agent configuration”
The symbol “#” means that the parameter is commented out and is the default, that is,
you can not specify it.
I will give an example of monitoring the use of each processor core using Zabbix.
Continue reading “Monitoring CPU usage 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”
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”
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”
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.
I will give an example of the variant of Zabbix alerts using a phone call through Asterisk.
Asterisk should have a module loaded, to do this, open the module configuration file, for example, in the nano editor (Ctrl+X to exit, y/n to save or cancel changes):
sudo nano /etc/asterisk/modules.conf
Continue reading “Zabbix notifications by phone via Asterisk”