Ad Widget

Collapse

Issue with perfcounter in windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hamedg
    Junior Member
    • Dec 2015
    • 3

    #1

    Issue with perfcounter in windows

    Hi,

    I asked the question in IRC also. First of all My env

    1. Zabbix server 2.4.7 (Ubuntu 14.04/Apache/Mysql) all latest
    2. Zabbix Agent Windows 2.4.4
    3. Windows server 2008 R2


    basically when i try to get the followings (both the same)
    perf_counter["\234(0 c\1482"]
    perf_counter["\PhysicalDisk(_Total)\1482"]

    i get the following

    ZBXDFZBX_NOTSUPPORTEDCannot obtain performance information from collector.Connection closed by foreign host.

    however
    perf_counter["\234(_Total)\1482"]

    is working fine so basically how do i get the individual disk stats?


    Any one knows why this is happening?
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    hello try via cmd the following:

    typeperf -qx >data.txt

    here you will see the available items that you can use
    Debian-User

    Sorry for my bad english

    Comment

    • hamedg
      Junior Member
      • Dec 2015
      • 3

      #3
      Originally posted by Colttt
      hello try via cmd the following:

      typeperf -qx >data.txt

      here you will see the available items that you can use

      Many thanks for your reply. I have tried this already and issue is the counters are there but it does not return any data. Another example is this :
      perf_counter["\Process(_Total)\Working Set",300]

      This randomly works. some times it works and some times it just become unsuppported item.

      Comment

      • hamedg
        Junior Member
        • Dec 2015
        • 3

        #4
        Originally posted by Colttt
        hello try via cmd the following:

        typeperf -qx >data.txt

        here you will see the available items that you can use
        Another example is this which is already in perf counter list

        \PhysicalDisk(0 C: E\% Idle Time


        and again zabbix says:

        ZBXD)ZBX_NOTSUPPORTEDInvalid item key format.Connection closed by foreign host.

        Comment

        Working...