Ad Widget

Collapse

Zabbix 2 Windows Agent stuck in collect_perfstat(0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jvella
    Junior Member
    • Sep 2008
    • 24

    #1

    Zabbix 2 Windows Agent stuck in collect_perfstat(0

    I have just upgrade a couple of Windows 2008 R2 servers to use the new pre-compiled Zabbix 2.0 agent. The agen runs but does not send any data to the server.
    I changed the debug level in the conf file to debuglevel 4 to get more information. The log looks like this:


    3928:20120530:085213.307 End of get_counter_name():SUCCEED
    3928:20120530:085213.307 In get_counter_name() pdhIndex:44
    3928:20120530:085213.307 End of get_counter_name():SUCCEED
    3928:20120530:085213.307 In add_perf_counter() counter:'\System\Processor Queue Length' interval:900
    3928:20120530:085213.307 add_perf_counter(): PerfCounter '\System\Processor Queue Length' successfully added
    3928:20120530:085213.307 End of init_cpu_collector():SUCCEED
    3928:20120530:085213.323 In collector_diskdevice_add() devname:''
    3928:20120530:085213.323 End of collector_diskdevice_add():00000000008F7FF0
    3928:20120530:085213.323 In collect_perfstat()
    3928:20120530:085214.337 In collect_perfstat()
    3928:20120530:085215.351 In collect_perfstat()
    3928:20120530:085216.380 In collect_perfstat()
    3928:20120530:085217.394 In collect_perfstat()
    3928:20120530:085218.408 In collect_perfstat()
    3928:20120530:085219.422 In collect_perfstat()
    3928:20120530:085220.436 In collect_perfstat()


    The In Collect_perfstat() keeps repeating indefinitely.



    Re-installing the Zabbix 1.8.9 agent fixes the problem.

    Anyone with any ideas?

    Thanks.
  • jvella
    Junior Member
    • Sep 2008
    • 24

    #2
    Solution

    My Agent Conf file was missing the new ServerActive parameter.
    Settng this to the correct value cures the error.

    Comment

    • nbliuzhong@gmail.com
      Junior Member
      • Oct 2012
      • 9

      #3
      i have the problem with you!

      could you please send your conf file to me ? thanks lot

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        Originally posted by [email protected]
        could you please send your conf file to me ? thanks lot
        You can copy this one from message #3 in this thread that I posted:

        Comment

        • nbliuzhong@gmail.com
          Junior Member
          • Oct 2012
          • 9

          #5
          thanks lot

          Originally posted by tchjts1
          You can copy this one from message #3 in this thread that I posted:
          http://www.zabbix.com/forum/showthread.php?t=38139
          since i read the wiki of zabbix-agent.conf,it show the parameter "Server" was Mandatory.but my conf is

          Code:
          Server=192.168.1.109
          Hostname=abc
          StartAgents=5
          DebugLevel=3
          LogFile=c:/zabbix/zabbix_agentd.log
          Timeout=3
          in some windows server version it worked well.like server 2003 ,but it worked no not well in the windows server 2008R2.

          a few miniutes ago,i installed zabbix agent in my vps located in HK.no Anti-virus software. and add a TCP port 10050.it look worked well,unfortunatly,it down in a few seconds. the VPS'OS is win server 2003 !

          Comment

          Working...