Hi,
I've just added a UserParameter to the configuration file /etc/zabbix/zabbix_agentd.conf.
I've checked it with zabbix_agentd (it's fine)
And it works if I check with zabbix_get
I restarted both server and agent, but still can't see fping.chk in the list of keys in the new data item page.
Do you have any idea of what went wrong?
Thanks in advance!
I've just added a UserParameter to the configuration file /etc/zabbix/zabbix_agentd.conf.
Code:
UserParameter=fping.chk,fping -e 8.8.8.8 | awk '{ print $4 }' | tr -d '('
Code:
$zabbix_agentd -t fping.chk fping.chk [t|12.6]
Code:
$zabbix_get -s 127.0.0.1 -p 10050 -k "fping.chk" 12.9
Do you have any idea of what went wrong?
Thanks in advance!
Comment