Hello, I am new to Zabbix, and am having trouble finding examples of how to use your own scripts.
For example, if I add this to zabbix_agentd.conf:
UserParameter=mailq,echo /var/spool/mail/* | wc -w
What do I enter for "key" when I add an Item on the server? Just "mailq"?
When I try this, it goes "unsupported" right away.
Confused.
Thanks in advance.
Jeff Friedman
For example, if I add this to zabbix_agentd.conf:
UserParameter=mailq,echo /var/spool/mail/* | wc -w
What do I enter for "key" when I add an Item on the server? Just "mailq"?
When I try this, it goes "unsupported" right away.
Confused.
Thanks in advance.
Jeff Friedman


Comment