I would like to get the queue length from exim reported back to zabbix. The command line is simple:
exim -bpc
I have tried the following command in zabbix:
system.run[exim -bpc,nowait]
1) What is the difference between 'wait' and 'nowait'? (in this example 'nowait' works but 'wait' returns not supported).
2) Zabbix always returns the result as 1 even though there are significantly more messages in the queue; I am guessing 1 just means the command ran. How do I get the figure that exim echos instead of 1?
exim -bpc
I have tried the following command in zabbix:
system.run[exim -bpc,nowait]
1) What is the difference between 'wait' and 'nowait'? (in this example 'nowait' works but 'wait' returns not supported).
2) Zabbix always returns the result as 1 even though there are significantly more messages in the queue; I am guessing 1 just means the command ran. How do I get the figure that exim echos instead of 1?

Comment