Hello,
I know a lot of people have the same errors message but I try all I saw in the forum and it not works for me.
Zabbix server version:
Zabbix agent version:
I create a UserParameter on my agent
UserParameter=pingstatus[*],cscript.exe /nologo c:\zabbix\ping.vbs $1
But I found this error in zabbix_server.log
I check on the zabbix_agentd.log in debugging mode and all seems to be allright
So, the error is not on the agent.
I test zabbix_get on my zabbix server
I put my zabbix server in debugging mode
When i use zabbix_get, it works but not with zabbix_server. Is anybody an idea of the origin of the problem??
Thanks for your help.
I know a lot of people have the same errors message but I try all I saw in the forum and it not works for me.
Zabbix server version:
Code:
Zabbix Server (daemon) v1.8.1 (revision 9702) (27 January 2010) Compilation time: Feb 17 2010 12:23:54
Code:
ZABBIX Agent Win32 (service) v1.8 (revision 8563) (7 December 2009) Compilation time: Dec 7 2009 21:23:12
I create a UserParameter on my agent
UserParameter=pingstatus[*],cscript.exe /nologo c:\zabbix\ping.vbs $1
But I found this error in zabbix_server.log
Code:
16075:20100219:114543.125 Item [hostName:pingstatus[IPaddress]] error: Get value from agent failed: ZBX_TCP_READ() failed [Interrupted system call] 16075:20100219:114543.152 ZABBIX Host [hostName]: first network error, wait for 15 seconds
Code:
4064:20100219:144324.646 Run remote command [cmd /C "cscript.exe /nologo c:\zabbix\ping.vbs IPaddress"] Result [1] [1]... 4064:20100219:144324.646 Sending back [1]
I test zabbix_get on my zabbix server
Code:
ZabbixServer:~$ /usr/local/bin/zabbix_get -s xxx.xxx.xxx.xxx -k pingstatus[IPaddress] 1
Code:
13211:20100219:110654.344 In substitute_simple_macros (data:'pingstatus[172.28.55.131]') 13211:20100219:110654.344 In get_value() key:'pingstatus[172.28.55.131]' 13211:20100219:110654.344 In get_value_agent() host:'hostName' addr:'192.168.210.10' key:'pingstatus[IPaddress]' 13211:20100219:110654.594 Sending [pingstatus[IPaddress] .... 13211:20100219:110657.344 Timeout while answering request 13211:20100219:110657.344 Item [SRV-FS01MAU3:pingstatus[IPaddress]] error: Get value from agent failed: ZBX_TCP_READ() failed [Interrupted system call] 13211:20100219:110657.344 In zabbix_log() ... 13211:20100219:110657.344 End of zabbix_log() 13211:20100219:110657.344 End of get_value():NETWORK_ERROR
Thanks for your help.
, the problem was very simple.
Comment