Hello Fellow Zabbix Users,
I've created a PingTest.exe in .Net 2.0 that will allow the Zabbix Agent to ping remote hosts. It returns a 1 for successful pings. This way you can monitor a host's connectivity to other machines. The source code is included for anyone the wants to help improve it.
Note For those of you running 1.1.6 like me, you'll need to switch to jlh's patched Win32 Zabbix Agent. This will allow you to use wildcards.
1. Add the following line with the correct path to your zabbix_agentd.conf.
2. Create an item with target to ping from the monitored server.
localPing[target_host]
3. Then create a trigger to monitor that ping.
{FM1-WEB-A:localPing[target_host].last(0)}=0
I've created a PingTest.exe in .Net 2.0 that will allow the Zabbix Agent to ping remote hosts. It returns a 1 for successful pings. This way you can monitor a host's connectivity to other machines. The source code is included for anyone the wants to help improve it.
Note For those of you running 1.1.6 like me, you'll need to switch to jlh's patched Win32 Zabbix Agent. This will allow you to use wildcards.
1. Add the following line with the correct path to your zabbix_agentd.conf.
Code:
UserParameter = localPing[*],C:\Zabbix\pingTest.exe $1
localPing[target_host]
3. Then create a trigger to monitor that ping.
{FM1-WEB-A:localPing[target_host].last(0)}=0
Comment