I am having some difficulty with a UserParameter.
my configuration looks like this
When I do zabbix_agentd -t sem.num I get
sem.num [t|7]
However, on the server side when I do zabbix_get -s 192.168.yyy.zzz -k sem.num it always returns 0
On the web I configured it as a zabbix agent using various data types. None of them seem to work. If I change it to an active zabbix agent, it becomes unsupported. When I change back the log shows
but it still returns a 0 instead of the correct number.
Any idea what I am doing wrong? It only takes .006 seconds for the command, so I do not believe it is a timeout error.
I am currently using zabbix 1.1.5 on both the server and the agent under Red Hat Linux.
Thanx for any help.
my configuration looks like this
Code:
UserParameter=sem.num,/usr/bin/ipcs|grep apache|wc -l
sem.num [t|7]
However, on the server side when I do zabbix_get -s 192.168.yyy.zzz -k sem.num it always returns 0
On the web I configured it as a zabbix agent using various data types. None of them seem to work. If I change it to an active zabbix agent, it becomes unsupported. When I change back the log shows
Code:
Parameter [sem.num] became supported by agent on host
Any idea what I am doing wrong? It only takes .006 seconds for the command, so I do not believe it is a timeout error.
I am currently using zabbix 1.1.5 on both the server and the agent under Red Hat Linux.
Thanx for any help.
Comment