ive been trying to get active checks to work since 1.1beta1, but to no avail. now im on 1.1beta7, and im still getting errors like this in my agentd log:
i know the server is listening, because manually telnetting to the server at port 10051 gives me this:
now from what i can tell from the server logs, the server at least thinks its sending the list of active checks to the agent. the problem is that the agent apparently never recieves the list. heres the relevant part of that log:
im pretty much baffled at this point. any help would be greatly appreciated.
Code:
029651:20051208:162827 Sending [ZBX_GET_ACTIVE_CHECKS hostname ] 029651:20051208:162827 Before read 029651:20051208:162827 Connection reset by peer. 029651:20051208:162827 Getting list of active checks failed. Will retry after 60 seconds
Code:
telnet 10.120.120.201 10051 Trying 10.120.120.201... Connected to 10.120.120.201. Escape character is '^]'. Connection closed by foreign host.
Code:
025164:20060307:161415 Got line:ZBX_GET_ACTIVE_CHECKS hostname 025164:20060307:161415 Trapper got [ZBX_GET_ACTIVE_CHECKS hostname] 025164:20060307:161415 In autoregister(hostname) 025164:20060307:161415 Executing query:select hostid from hosts where host='hostname' 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [1] 025164:20060307:161415 Host [hostname] already exists. Do nothing. 025164:20060307:161415 Host already exists [hostname] 025164:20060307:161415 In send_list_of_active_checks() 025164:20060307:161415 Executing query:select i.key_,i.delay,i.lastlogsize from items i,hosts h where i.hostid=h.hostid and h.status=0 and i.status=0 and i.type=7 and h.host='hostname' 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [agent.ping:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [agent.version:3600:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [net.if.in[eth0]:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [net.if.in[eth1]:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [net.if.out[eth0]:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [net.if.out[eth1]:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [proc.num[cron]:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [proc.num[]:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [system.cpu.load[all,avg5]:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [system.swap.size[all,free]:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [system.uname:3600:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [system.uptime:300:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [system.users.num:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [vfs.fs.size[/,free]:60:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [vfs.fs.size[/home,free]:60:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025163:20060307:161415 Sending [swap[free] ] 025164:20060307:161415 Sending [vfs.fs.size[/opt,free]:60:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [vfs.fs.size[/tmp,free]:60:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [vfs.fs.size[/usr,free]:60:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [vfs.fs.size[/var,free]:60:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [vm.memory.size[free]:30:0 ] 025164:20060307:161415 In DBnum_rows 025164:20060307:161415 Result of DBnum_rows [20] 025164:20060307:161415 Sending [ZBX_EOF ]
Comment