Hello all,
I have set up a UserParameter in my zabbix_agentd.conf to monitor for a specific process. Here is how I have it set up:
I have set up the item in Zabbix and I am receiving data, however the returned value is +1 on every host.
For example:
Zabbix shows a value of 3 instead of 2. Any idea on why this might be happening?
Cheers
I have set up a UserParameter in my zabbix_agentd.conf to monitor for a specific process. Here is how I have it set up:
Code:
UserParameter=ZabJob,ps -ef | grep xyz | wc -l
For example:
Code:
david@host:/etc/zabbix$ ps -ef |grep xyz 5090 12354 3117 0 11:28 pts/0 00:00:00 grep xyz david 22807 1 5 Jul06 pts/4 01:23:04 xyz david@host:/etc/zabbix$ ps -ef |grep xyz |wc -l 2
Cheers
Comment