Skip to main content

Zabbix

Adding a new Zabbix Agent
sudo apt install zabbix-agent
sudo systemctl status zabbix-agent

Configure IP address of Zabbix server

vim /etc/zabbix/zabbix_agentd.conf

Locate the Server= and ServerActive= parameters in the configuration file. Uncomment these lines if necessary and set the IP address or hostname of your Zabbix Server:

Server=your_zabbix_server_ip
ServerActive=your_zabbix_server_ip
Hostname=agentserver_hostname
Once added, you can configure the host within Zabbix:

Zabbix > Configuration > Hosts > Create Host

Go to Configuration -> Hosts -> Create Host -> Host tab and fill the Hostname field with the FQDN of the monitored Zabbix agent machine, use the same value as above for the Visible name field.

Next, add this host to a group of monitored servers and use the IP Address of the monitored machine at the Agent interfaces field

Next, move to the Templates tab and hit Select. A new window with templates should open. Choose Template OS Linux then scroll down and hit on Select button to add it and automatically close the window.