I tried setting up an icmpping item however that doesn't seem to work. After moving fping to fping.real and creating a script in its place to see what arguments it is called with I see this:
-q -C3 -S<zabbix-server-ip>
There are two problems here:
1. The "-S" doesn't seem to be a valid option for fping.
2. Why is the IP of the zabbix server put in there and not the IP/Hostname of the host the item is created for? I tried to provide the hostname explicitly by setting the key to "icmpping[<hostname-of-system>]" but strangely enough fping is still called with the zabbix-server-ip.
Problem 1 can be worked around with an sed substitution in the wrapper script but I'm not sure what to do about problem 2?
-q -C3 -S<zabbix-server-ip>
There are two problems here:
1. The "-S" doesn't seem to be a valid option for fping.
2. Why is the IP of the zabbix server put in there and not the IP/Hostname of the host the item is created for? I tried to provide the hostname explicitly by setting the key to "icmpping[<hostname-of-system>]" but strangely enough fping is still called with the zabbix-server-ip.
Problem 1 can be worked around with an sed substitution in the wrapper script but I'm not sure what to do about problem 2?
Comment