Hello,
i have a problem with my UserParameter in zabbix_agentd.
I use the following command:
i test my parameter
but in zabbix_agentd.log on client side I received 0 [i was expecting 4]
also when i try to run zabbix_get it gets 0:
can anybody could help me to resolve these problems?
i have a problem with my UserParameter in zabbix_agentd.
I use the following command:
UserParameter=raid.online,megacli -PDList -aAll | egrep "state: Online" | wc -l
[root@ ~]# /usr/local/zabbix/sbin/zabbix_agentd -t raid.online
raid.online [t|4]
raid.online [t|4]
14811:20120604:121338.505 Run remote command [megacli -PDList -aAll | egrep "state: Online" | wc -l] Result [1] [0]...
14811:20120604:121338.505 Sending back [0]
14811:20120604:121338.505 Sending back [0]
[root@ ~]# zabbix_get -s 10.192.64.2 -k raid.online
0
0
Comment