Troubleshoot Zabbix Agent

 zabbix_get is a command line utility for getting data from Zabbix agent. Install zabbix_get by executing the command

$ apt-get install zabbix-server-pgsql

When there are situations to troubleshoot on localhost (Zabbix agent host), make sure to add 127.0.0.1 in zabbix_agentd.conf file and update the ‘Server’ parameter

$ sudo vi /etc/zabbix/zabbix_agentd.conf 

Update

Server=10.10.10.10,127.0.0.1

To identify Zabbix agent version zabbix_get -s 127.0.0.1 -p 10050 -k agent.version
Install zabbix_get on another computer to verify reachability of agent on this specific port zabbix_get -s 10.10.10.1 -p 10050 -k agent.ping