Hello everyone.
I think I might have run into a zabbix quirk, I'm running Zabbix 3.0.4 on ubuntu 14.04 LTS.
Currently I've configured a UserParameter on a zabbix agent to execute an fping command to measure latency in an internal VPN tunnel.
the command looks as followed:
On the machine itself testing the key returns a desired result:
Above command executes in under a second and the timeout in the agent config file is set to 6 seconds.
However the zabbix server seems to not agree with the result.
Screenshot below reveals the server reports "NOT SUPPORTED" with as reason "Received value [] is not suitable for value type [Numeric (float)]"
http://prntscr.com/cokccs (ps. i've tried with a decimal value, same result), it is worth noting the zabbix agent was restarted prior to testing.
Please note changing the key to below userparameter does get accepted by Zabbix Server and data proceeds to get logged.
anyone have an idea ?
I think I might have run into a zabbix quirk, I'm running Zabbix 3.0.4 on ubuntu 14.04 LTS.
Currently I've configured a UserParameter on a zabbix agent to execute an fping command to measure latency in an internal VPN tunnel.
the command looks as followed:
Code:
UserParameter=tun.ping,fping -e -q -p 1000 -c 1 10.9.8.1 2>&1 | sed -n 's%^.* = .* = .*/\(.*\)/.*%\1%pg'
On the machine itself testing the key returns a desired result:
Code:
# /usr/sbin/zabbix_agentd -t tun.ping tun.ping [t|2.89]
However the zabbix server seems to not agree with the result.
Screenshot below reveals the server reports "NOT SUPPORTED" with as reason "Received value [] is not suitable for value type [Numeric (float)]"
http://prntscr.com/cokccs (ps. i've tried with a decimal value, same result), it is worth noting the zabbix agent was restarted prior to testing.
Please note changing the key to below userparameter does get accepted by Zabbix Server and data proceeds to get logged.
Code:
UserParameter=key.test,echo 1.01
Comment