Ad Widget

Collapse

Problem with Windows performance counters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • begs4399
    Junior Member
    • Nov 2017
    • 9

    #1

    Problem with Windows performance counters

    I have problems with some Windows servers that do not give me Disk performance counters, while others do.

    perf_counter["\LogicalDisk(_Total)\Disk Transfers/sec",300]

    Half of my servers give 0, the second half is working perfectly.

    I found that none of the Win 2012R2 are working, even if I tried to enable them:
    diskperf -y (and reboot even if it says not to)
    Create local performance counters, with the "Disk Transfers" counter and start them)
    I still have 0

    Any other had the same problem ?
  • begs4399
    Junior Member
    • Nov 2017
    • 9

    #2
    Found my bug

    I have some servers that are in french, so I would have to make 2 templates, then assign them one by one.

    Instead I found that you can use the Numbers found in

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009

    So the Item

    perf_counter["\LogicalDisk(_Total)\Disk Transfers/sec",300]

    becomes:

    perf_counter[\236(_Total)\212,300]

    and now it works for every Windows server
    * Please note the exact syntax, as I had a hard time to find this one!

    Comment

    • mohit1993
      Junior Member
      • Feb 2018
      • 21

      #3
      Originally posted by begs4399
      I have some servers that are in french, so I would have to make 2 templates, then assign them one by one.

      Instead I found that you can use the Numbers found in

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009

      So the Item

      perf_counter["\LogicalDisk(_Total)\Disk Transfers/sec",300]

      becomes:

      perf_counter[\236(_Total)\212,300]

      and now it works for every Windows server
      * Please note the exact syntax, as I had a hard time to find this one!

      Have you done cpu and ram monitor in windows??

      Comment

      • begs4399
        Junior Member
        • Nov 2017
        • 9

        #4
        Using Agent

        Yes, but using the zabbix agent, in active mode

        system.cpu.util[all,system,avg5]
        vm.memory.size[used]

        Comment

        • mohit1993
          Junior Member
          • Feb 2018
          • 21

          #5
          Originally posted by begs4399
          Yes, but using the zabbix agent, in active mode

          system.cpu.util[all,system,avg5]
          vm.memory.size[used]
          Its giving you proper output???
          Because in my case my task manager of cpu showing 12% cpu utilization but zabbix showing 8% of cpu utilization and same goes for ram utilization 2.9G utilization but task manager showing 2.7GB utilization.
          Have you got same thing or you getting same value as task manager.


          I am using zabbix 3.2 and windows server 2012R2 server

          Comment

          • begs4399
            Junior Member
            • Nov 2017
            • 9

            #6
            cpu/ram

            Yes I am having similar results, however it's not comparing apples to apples as Zabbix shows 5min average, and task manager is live.

            Even if there is a discrepancy of 1-2%, i don't care as I don't look at those numbers until they get > 90%

            Comment

            Working...