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 in zabbix_agentd.conf file and update the ‘Server’ parameter

$ sudo vi /etc/zabbix/zabbix_agentd.conf 



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