Ad Widget

Collapse

windows active checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • br74649
    Junior Member
    • Jun 2011
    • 6

    #1

    windows active checks

    Hi,

    I am just looking into putting zabbix into my platform and have encountered a problem with the event logging side of things for the windows agent.

    I have compiled zabbix 1.8.5 and installed it on debian squeeze.

    when trying to monitor the eventlogs i find that i am not seeing anything on the server.

    I have downloaded a template from the wiki that does windows event logs, however zabbix server is not seeing them

    the zabbix_agent.log on a windows 2003 server shows the following:

    PS i have XXX'd out the hostnames for obvious reasons.


    1432:20110609:130033.141 Starting Zabbix Agent. Zabbix 1.8.5 (revision 19047).
    1432:20110609:130033.141 In init_perf_collector()
    1432:20110609:130033.141 cfg: para: [Server] val [172.26.30.35]
    1432:20110609:130033.141 cfg: para: [ServerPort] val [10050]
    1432:20110609:130033.141 cfg: para: [Hostname] val XXXXXXXX
    1432:20110609:130033.141 cfg: para:[ListenPort] val [10050]
    1432:20110609:130033.141 cfg: para: [StartAgents] val [5]
    1432:20110609:130033.141 cfg: para: [DebugLevel] val [4]
    1432:20110609:130033.141 cfg: para: [LogFile] val [C:\zabbix_agentd.log]
    1432:20110609:130033.157 cfg: para: [Timeout] val [5]
    1432:20110609:130033.157 cfg: para: [DisableActive] val [0]
    1432:20110609:130033.157 cfg: para: [EnableRemoteCommands] val [1]
    1432:20110609:130033.157 accepted configuration parameter: 'EnableRemoteCommands' = '1'
    1772:20110609:130033.157 agent #0 started [collector]
    1772:20110609:130033.157 In init_cpu_collector()
    1772:20110609:130033.157 In GetCounterName() pdhIndex:238
    3536:20110609:130033.157 agent #1 started[listener]
    2656:20110609:130033.157 agent #2 started[listener]
    2496:20110609:130033.157 agent #3 started[listener]
    2792:20110609:130033.157 agent #4 started[listener]
    1612:20110609:130033.157 agent #5 started[listener]
    1584:20110609:130033.157 agent #6 started [active checks]
    1584:20110609:130033.172 In init_active_metrics()
    1584:20110609:130033.172 Buffer: first allocation for 100 elements
    1584:20110609:130033.172 In send_buffer() host:'172.26.30.35' port:10050 values:0/100
    1584:20110609:130033.172 End of send_buffer():SUCCEED
    1584:20110609:130033.172 refresh_active_checks('172.26.30.35',10050)
    1584:20110609:130033.172 Sending [{
    "request":"active checks",
    "host":"XXXXXXXXXXXXX"}]
    1584:20110609:130033.172 Before read
    1584:20110609:130033.172 Got []
    1584:20110609:130033.172 In parse_list_of_checks()
    1584:20110609:130033.172 In disable_all_metrics()
    1584:20110609:130033.172 Can't parse list of active checks. Can't open JSON object ""
    1584:20110609:130033.172 In process_active_checks('172.26.30.35',10050)
    1584:20110609:130033.172 End of process_active_checks()
    1584:20110609:130033.172 In get_min_nextcheck()
    1584:20110609:130033.172 Sleeping for 1 second(s)
    1772:20110609:130033.172 In GetCounterName() pdhIndex:6
    1772:20110609:130033.172 In GetCounterName() pdhIndex:2
    1772:20110609:130033.172 In GetCounterName() pdhIndex:44
    1772:20110609:130033.172 End of init_cpu_collector()
    1772:20110609:130033.172 In collector_diskdevice_add() devname:''
    1772:20110609:130033.172 End of collector_diskdevice_add():0000000000E33528
    1772:20110609:130033.172 In collect_cpustat()
    1772:20110609:130033.172 End of collect_cpustat()
    1584:20110609:130034.172 In send_buffer() host:'172.26.30.35' port:10050 values:0/100
    1584:20110609:130034.172 End of send_buffer():SUCCEED
    1584:20110609:130034.172 Sleeping for 1 second(s)
    1772:20110609:130034.172 In collect_cpustat()
    1772:20110609:130034.172 End of collect_cpustat()
    1584:20110609:130035.172 In send_buffer() host:'172.26.30.35' port:10050 values:0/100
    1584:20110609:130035.172 End of send_buffer():SUCCEED
    1584:20110609:130035.172 Sleeping for 1 second(s)
    1772:20110609:130035.172 In collect_cpustat()
    1772:20110609:130035.172 End of collect_cpustat()
    1584:20110609:130036.172 In send_buffer() host:'172.26.30.35' port:10050 values:0/100
    1584:20110609:130036.172 End of send_buffer():SUCCEED
    1584:20110609:130036.172 Sleeping for 1 second(s)
    1772:20110609:130036.172 In collect_cpustat()
    1772:20110609:130036.172 End of collect_cpustat()
    1584:20110609:130037.172 In send_buffer() host:'172.26.30.35' port:10050 values:0/100
    1584:20110609:130037.172 End of send_buffer():SUCCEED
    1584:20110609:130037.172 Sleeping for 1 second(s)
    1772:20110609:130037.172 In collect_cpustat()
    1772:20110609:130037.172 End of collect_cpustat()
    1612:20110609:130037.469 Processing request.
    1612:20110609:130037.469 Requested [net.if.in[172.26.30.61]]
    1612:20110609:130037.485 Sending back [1809869238]
    1584:20110609:130038.172 In send_buffer() host:'172.26.30.35' port:10050 values:0/100
    1584:20110609:130038.172 End of send_buffer():SUCCEED
    1584:20110609:130038.172 Sleeping for 1 second(s)
    1772:20110609:130038.172 In collect_cpustat()
    1772:20110609:130038.172 End of collect_cpustat()
    1584:20110609:130039.172 In send_buffer() host:'172.26.30.35' port:10050 values:0/100
    1584:20110609:130039.172 End of send_buffer():SUCCEED
    1584:20110609:130039.172 Sleeping for 1 second(s)
    1772:20110609:130039.172 In collect_cpustat()
    1772:20110609:130039.172 End of collect_cpustat()

    I have tried the client from version 1.9 but am still seeing the issue. is this a known issue or have i done something wrong?

    my config for the agent looks like this

    Server=172.26.30.35
    ServerPort=10050
    Hostname=XXXXX
    ListenPort=10050
    StartAgents=5
    DebugLevel=4
    LogFile= C:\zabbix_agentd.log
    Timeout=5
    DisableActive=0
    EnableRemoteCommands=1


    thanks in advance for any help you can provide.

    regards

    Tony Mills
    Last edited by br74649; 09-06-2011, 14:25.
  • br74649
    Junior Member
    • Jun 2011
    • 6

    #2
    oops

    sorry, i just figured out that the server port is 10051 not 10050 and its started working for me.

    Thanks for your time but i have fixed it.

    regards

    Tony Mills

    Comment

    Working...