I am trying to monitor some custom commands in my zabbix server. inside the config file I have the line
UserParameter=asterisk304,asterisk -rx "sip show peer 304" | grep "Status"
however when I add the zabbix agent key "asterisk304" into zabbix, I get a status of not supported, with an error message of "not supported by the zabbix agent".
what am I doing wrong?
UserParameter=asterisk304,asterisk -rx "sip show peer 304" | grep "Status"
however when I add the zabbix agent key "asterisk304" into zabbix, I get a status of not supported, with an error message of "not supported by the zabbix agent".
what am I doing wrong?
Comment