Hi,
Just installed Zabbix server and client, and feel very impressed about the quality and features (did use Nagios before, don't think will ever be looking back). However, I can't get UserParameter working. Basically, when I add configuration item and make it active, it switches to "Not supported" after a few seconds.
This is my setup:
1) Zabbix server version: 1.4.1 (out-of-the box Ubuntu Gutsy installation)
2) Zabbix agentd is installed on Win2000 machine as a service (same version as of the server).
3) Agentd path to executable (copy-paste from Windows service properties):
"E:\zabbix\zabbix_agentd.exe" --config "e:\zabbix\zabbix_agentd.conf"
4) Excerpt from e:\zabbix\zabbix_agentd.conf:
UserParameter=testecho,java -version
UserParameter=vyre.heap,e:\zabbix\heapused.bat
5) Testing the agentd from the client machine (everything seems to be OK)
E:\zabbix>zabbix_agentd -c e:\zabbix\zabbix_agentd.conf -t testecho
testecho [t|java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)]
E:\zabbix>zabbix_agentd -c e:\zabbix\zabbix_agentd.conf -t vyre.heap
vyre.heap [t|26057688]
6) But the vyre.heap task cannot be executed from the server. Server log level is set to 4 (debug), and the output is
1016:20071004:153705 Parameter [vyre.heap] is not supported by agent on host [vyre-test1] Old status [0]
Agentd log level is 4, and relevant output is
2044:20071004:153755 Processing request.
2044:20071004:153755 In check_security()
2044:20071004:153755 Requested [vyre.heap]
2044:20071004:153755 Before
2044:20071004:153755 Sending back [ZBX_NOTSUPPORTED]
3008:20071004:153756 Call to PdhCollectQueryData() failed: No data to return.
Another UserParam (testecho) works just fine. I tried increasing timeouts, both in server and client as the heap checking is done via JMX takes a few seconds to finish but it didn't help.
Does anybody know any other ways of tracing the problem? Any advice is much appreciated. Thanks in advance.
Regards,
Mindaugas
Just installed Zabbix server and client, and feel very impressed about the quality and features (did use Nagios before, don't think will ever be looking back). However, I can't get UserParameter working. Basically, when I add configuration item and make it active, it switches to "Not supported" after a few seconds.
This is my setup:
1) Zabbix server version: 1.4.1 (out-of-the box Ubuntu Gutsy installation)
2) Zabbix agentd is installed on Win2000 machine as a service (same version as of the server).
3) Agentd path to executable (copy-paste from Windows service properties):
"E:\zabbix\zabbix_agentd.exe" --config "e:\zabbix\zabbix_agentd.conf"
4) Excerpt from e:\zabbix\zabbix_agentd.conf:
UserParameter=testecho,java -version
UserParameter=vyre.heap,e:\zabbix\heapused.bat
5) Testing the agentd from the client machine (everything seems to be OK)
E:\zabbix>zabbix_agentd -c e:\zabbix\zabbix_agentd.conf -t testecho
testecho [t|java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)]
E:\zabbix>zabbix_agentd -c e:\zabbix\zabbix_agentd.conf -t vyre.heap
vyre.heap [t|26057688]
6) But the vyre.heap task cannot be executed from the server. Server log level is set to 4 (debug), and the output is
1016:20071004:153705 Parameter [vyre.heap] is not supported by agent on host [vyre-test1] Old status [0]
Agentd log level is 4, and relevant output is
2044:20071004:153755 Processing request.
2044:20071004:153755 In check_security()
2044:20071004:153755 Requested [vyre.heap]
2044:20071004:153755 Before
2044:20071004:153755 Sending back [ZBX_NOTSUPPORTED]
3008:20071004:153756 Call to PdhCollectQueryData() failed: No data to return.
Another UserParam (testecho) works just fine. I tried increasing timeouts, both in server and client as the heap checking is done via JMX takes a few seconds to finish but it didn't help.
Does anybody know any other ways of tracing the problem? Any advice is much appreciated. Thanks in advance.
Regards,
Mindaugas
). Sorry for the unnecessary noice...
Comment