I am trying to monitoring a Asterisk 1.4 server with UserParameter but doesn't work.
I did the command below and when I run manually on Client, show me the value (like CommandOK file), but when I test by zabbix_agentd -t the value is blank (like Agentd command NOK file).
====Asterisk Command ========
UnsafeUserParameters=1
UserParameter=xpto,asterisk -rvvvvvx 'sip show peers'|grep --text -i 'sip peers'|awk '
'
ps. I tried with $$5 too and the same error and all other collections is OK
Please, could you help me?