I would like to graph average ping results from Windows-based Zabbix agents to our cloud-based call center server's remote addresses. I've figured out how to return a result of 1 (successful ping) or 0 (unsuccesful ping), but this is useless in my scenario.
I know this is not inherent to Zabbix in any way. The only way I've found that was even close, was to setup a UserParameter in the zabbix_agentd.conf file that pings the remote IP address, and GREPs the required info. Unfortunately, GREP will only return the value of the entire line containing the string I'm looking for.
For example (pinging from the Zabbix agent):
ping 192.168.120.1 | grep "Average ="
returns:
Minimum = 46ms, Maximum = 51ms, Average = 49ms
All I really want returned is 49. That way I can graph the results in a useful manner.