Hello
I'm sure this is an easy one and has been asked before - though I didn't find it.
I have a UserParameter like this:
On the zabbix agent's machine, I get a text result (probably because bash has no data types):
But when I get the information on the Zabbix server, the result is 0:
Why is that?
I'm sure this is an easy one and has been asked before - though I didn't find it.
I have a UserParameter like this:
Code:
UserParameter=asterisk.num_registered_sip,asterisk -r -x "sip show registry" | grep -c Registered
Code:
root@amy:~# zabbix_agentd -t asterisk.num_registered_sip asterisk.num_registered_sip [t|2]
Code:
root@primrose:~# zabbix_get -s amy -k "asterisk.num_registered_sip" 0
Comment