Ad Widget

Collapse

Monitoring Windows-Server with perf_counter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prote
    Junior Member
    • Dec 2008
    • 16

    #1

    Monitoring Windows-Server with perf_counter

    I have some problems with monitoring Windows-Servers. Most perf_counter-Keys doesn't work.

    I tried following on the Windows-"Server":
    Code:
    zabbix_agentd.exe -t perf_counter["\Network Interface(Broadcom NetXtreme-Gigabit-Ethernet)\Bytes Received/sec"]
    perf_counter[]                                [d|352.572364]
    Ok, that's fine. But if I try to get the same parameter from my server I got nothing than a "ZBX_NOTSUPPORTED":
    Code:
    zabbix_get -s1.2.3.4 -p10050 -k'perf_counter["\Network Interface(Broadcom NetXtreme-Gigabit-Ethernet)\Bytes Received/sec"]'
    ZBX_NOTSUPPORTED
    Of course there is an other IP

    So and the funny thing is that I get an answer to the Number of Threads:
    Code:
    zabbix_get -s1.2.3.4 -p10050 -k'perf_counter["\System\Threads"]'
    728.000000
    I tried many different things with ' and " and set some UserParameters in the zabbix_agentd.conf but nothing works for me. Most perf_counters doesn't work (at time the threads are the only known to me which works fine).

    I tried for instance the following line in the zabbix_agentd.conf too:
    Code:
    PerfCounter= NetIn,"\Network Interface(Broadcom NetXtreme-Gigabit-Ethernet)\Bytes Received/sec",30
    But the result on the Win-Machine is:
    Code:
    zabbix_agentd.exe -t NetIn
    NetIn          [m|ZBX_NOTSUPPORTED]
    What's going wrong?

    Used Versions:
    Win-Agent 1.8.3
    Lin-Server: 1.8.2

    Edit:
    Urgh ... an other Win-Server with different Hardware workes fine:
    Code:
    zabbix_get -s1.2.3.4 -p10050 -k"perf_counter[\Network Interface(Broadcom BCM5709C NetXtreme II GigE [NDIS VBD Client])\Bytes Sent/sec]"
    91388.027597
    On this server the Disk reads/writes works fine, but the first server still doen't want to answer my questions ... Any ideas?
    Last edited by prote; 13-12-2010, 00:07.
  • troffasky
    Senior Member
    • Jul 2008
    • 567

    #2
    Originally posted by prote
    But if I try to get the same parameter from my server I got nothing than a "ZBX_NOTSUPPORTED":
    Code:
    zabbix_get -s1.2.3.4 -p10050 -k'perf_counter["\Network Interface(Broadcom NetXtreme-Gigabit-Ethernet)\Bytes Received/sec"]'
    ZBX_NOTSUPPORTED
    Originally posted by prote
    Urgh ... an other Win-Server with different Hardware workes fine:
    Code:
    zabbix_get -s1.2.3.4 -p10050 -k"perf_counter[\Network Interface(Broadcom BCM5709C NetXtreme II GigE [NDIS VBD Client])\Bytes Sent/sec]"
    91388.027597
    On this server the Disk reads/writes works fine, but the first server still doen't want to answer my questions ... Any ideas?
    The difference I see between the two is how you're quoting it. Try quoting the first query in the same way that you've quoted the second one.

    In bash for example:
    Code:
    root@zabbix:~# echo 'this is "quoted"'
    this is "quoted"
    root@zabbix:~# echo "this is "quoted""
    this is quoted

    Comment

    • prote
      Junior Member
      • Dec 2008
      • 16

      #3
      No, that's not the reason, I tried different quote-styles I use Zabbix now for 6 different Win-Machines but the problem still exists on this single server
      Last edited by prote; 22-12-2010, 13:36.

      Comment

      Working...