Ad Widget

Collapse

Agent does not collect data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gbernardes
    Junior Member
    • Mar 2011
    • 22

    #1

    Agent does not collect data

    Dear,

    I have a strange problem. The zabbix agent collects only the item
    update_cpustats () and does not respond to anything. I tried to compile from
    source and the error persists. This occurs in the third server's are identical. Here
    following scenario:

    S.O: Centos 5.8 x86.64
    Kernel: 2.6.18-308.11.1.el5 (last)
    Agent Version: 2.0 (precompiled) and 2.0.1 (compiled from source)

    Agent log:

    15223:20120726:164027.413 Starting Zabbix Agent [srv10]. Zabbix 2.0.1 (revision
    28 455).
    In 15223:20120726:164027.414 init_collector_data ()
    End of 15223:20120726:164027.414 init_collector_data ()
    15224:20120726:164027.414 agent # 0 started [collector]
    In 15224:20120726:164027.414 init_cpu_collector ()
    End of 15224:20120726:164027.414 init_cpu_collector (): SUCCEED
    In 15224:20120726:164027.414 update_cpustats ()
    End of 15224:20120726:164027.415 update_cpustats ()
    15226:20120726:164027.415 agent # 2 started[listener]
    15225:20120726:164027.415 agent # 1 started[listener]
    15227:20120726:164027.415 agent # 3 started[listener]
    In 15224:20120726:164028.415 update_cpustats ()
    End of 15224:20120726:164028.416 update_cpustats ()
    In 15224:20120726:164029.416 update_cpustats ()
    End of 15224:20120726:164029.417 update_cpustats ()
    In 15224:20120726:164030.417 update_cpustats ()
    End of 15224:20120726:164030.418 update_cpustats ()
    In 15224:20120726:164031.418 update_cpustats ()
    End of 15224:20120726:164031.418 update_cpustats ()
    In 15224:20120726:164032.419 update_cpustats ()
    End of 15224:20120726:164032.419 update_cpustats ()

    And do not log out of it. If having it gives telnet localhost 10050 conection refused
    right away. Have check firewall, permission from the zabbix folder,
    SELINUX = disabled. What can be??

    [In addition] I tried to install the agent 1.8, returned similar error:


    In send_buffer () host: 'xxxx' port: 10051 values: 0/100
    End of 12109:20120726:172018.972 send_buffer (): SUCCEED
    12109:20120726:172018.972 Sleeping for 1 second (s)
    In 12105:20120726:172019.972 update_cpustats ()
    End of 12105:20120726:172019.972 update_cpustats ()
    In 12109:20120726:172019.973 send_buffer () host: 'xxxx' port: 10051
    values: 0/100
    End of 12109:20120726:172019.973 send_buffer (): SUCCEED
    12109:20120726:172019.973 Sleeping for 1 second (s
  • gbernardes
    Junior Member
    • Mar 2011
    • 22

    #2
    The problem was solved after I installed kernel 2.6.18-308.11.1.el5.centos.plus. There has to understand exactly what was wrong (because the kernel version is the same), but somehow resolved.

    Comment

    Working...