Ad Widget

Collapse

Windows CPU Performance counter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajan.s.ravi
    Member
    • Jul 2006
    • 40

    #1

    Windows CPU Performance counter

    Hi,

    I am trying to monitor windows cpu performance counter as below (in zabbix_agentd.conf) -

    PerfCounter = procutil,"\Processor(_Total)\%Processor Time",5

    This comes as unsupported. What can be the issue ?

    TIA,

    Regards,
    Ravi
  • daveres
    Junior Member
    • Feb 2007
    • 3

    #2
    If you are using a non-english OS, you have to review this item. For example, in Spanish:

    PerfCounter = procutil,"\Procesador(_Total)\% de tiempo de procesador",5

    Comment

    • MikeW
      Junior Member
      • Apr 2007
      • 1

      #3
      Windows CPU Performance counter

      Originally posted by rajan.s.ravi
      PerfCounter = procutil,"\Processor(_Total)\%Processor Time",5
      You are missing the space between the % sign and Processor.

      --MikeW

      Comment

      • eran
        Member
        • Apr 2007
        • 36

        #4
        Actually there is no reason to use a performance counter for this.
        You can use the built-in system.cpu.util[] key to read the CPU utilization (the type is float).

        One important thing to note (I had to look in the code to find this out), is that system.cpu.load[] is not the CPU utilization at all. In windows it is equal to the "\System\Processor Queue Length" performance counter.

        Hope this helps.

        Eran

        Comment

        • eran
          Member
          • Apr 2007
          • 36

          #5
          Actually there is no reason to use a performance counter for this.
          You can use the built-in system.cpu.util[] key to read the CPU utilization (the type is float).

          One important thing to note (I had to look in the code to find this out), is that system.cpu.load[] is not the CPU utilization at all. In windows it is equal to the "\System\Processor Queue Length" performance counter.

          Hope this helps.

          Eran

          Comment

          • rajan.s.ravi
            Member
            • Jul 2006
            • 40

            #6
            Thanks for the reply, i am using this now and it works fine

            Ravi

            Comment

            Working...