Ad Widget

Collapse

Performance Counters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • navtek007
    Senior Member
    • May 2005
    • 100

    #1

    Performance Counters

    When ever I try to add a Physica Disk performance counter via the Zabbix Front end i always get a value of 0. I can add other counters such as Terminal Services etc..

    Here is the item that I used: perf_counter[\PhysicalDisk(0)\% Idle Time]

    Has anyone else had this problem or found a solution for it? I can get it to work via the zabbix.conf.

    Thanks.
  • navtek007
    Senior Member
    • May 2005
    • 100

    #2
    surely this has to be a priority for most users to be able to view physical disk or other counters on windows servers?

    am i doing something wrong or is it still a bug?

    thanks.

    Comment

    • cameronsto
      Senior Member
      • Oct 2005
      • 148

      #3
      Are your zabbix logs telling you anything? Up the Debug level to 4 if they're not. This would probably provide more insight into what's going on. Also check your items in the database. The Zabbix frontend could be messing with the value especially since it contains '\' it could be trying to escape those characters and might not be passing them correctly to the agent.

      -cameron

      Comment

      • KarmaPolice
        Member
        • Oct 2005
        • 95

        #4
        Originally posted by navtek007
        When ever I try to add a Physica Disk performance counter via the Zabbix Front end i always get a value of 0. I can add other counters such as Terminal Services etc..

        Here is the item that I used: perf_counter[\PhysicalDisk(0)\% Idle Time]

        Has anyone else had this problem or found a solution for it? I can get it to work via the zabbix.conf.

        Thanks.

        I'm just pulling this out of memory, but for perf_counters involving discs don't they need to be specified something like

        Code:
        \PhysicalDisk(0 C:)\% Idle Time
        I believe that will solve your problem as i monitor things using this method.

        Comment

        • navtek007
          Senior Member
          • May 2005
          • 100

          #5
          I have just done another test and I get this error in my server logs:

          026995:20060401:142740 Getting value of [perf_counter[\PhysicalDisk(0 P\% Idle Time]] from host [SERVERNAME] failed (ZBX_ERROR)
          026995:20060401:142740 The value is not stored in database.

          So do all performance counters work via the zabbix interface with beta 8?

          Debug = 4:

          I get this in the log files

          030195:20060401:143204 get_value_agent: host[CUDBSRV01] ip[] key [perf_counter[\PhysicalDisk(0 C\% Idle Time]]
          030195:20060401:143204 Sending [perf_counter[\PhysicalDisk(0 C\% Idle Time]
          ]
          030195:20060401:143204 Getting value of [perf_counter[\PhysicalDisk(0 C\% Idle Time]] from host [CUDBSRV01] failed (ZBX_ERROR)
          Last edited by navtek007; 01-04-2006, 06:34.

          Comment

          • KarmaPolice
            Member
            • Oct 2005
            • 95

            #6
            Originally posted by navtek007
            I have just done another test and I get this error in my server logs:

            026995:20060401:142740 Getting value of [perf_counter[\PhysicalDisk(0 P\% Idle Time]] from host [SERVERNAME] failed (ZBX_ERROR)
            026995:20060401:142740 The value is not stored in database.

            So do all performance counters work via the zabbix interface with beta 8?

            Debug = 4:

            I get this in the log files

            030195:20060401:143204 get_value_agent: host[CUDBSRV01] ip[] key [perf_counter[\PhysicalDisk(0 C\% Idle Time]]
            030195:20060401:143204 Sending [perf_counter[\PhysicalDisk(0 C\% Idle Time]
            ]
            030195:20060401:143204 Getting value of [perf_counter[\PhysicalDisk(0 C\% Idle Time]] from host [CUDBSRV01] failed (ZBX_ERROR)

            i went back and checked... and i actually have these all in the config files on the hosts themselves... not as perf_counter[] stats in the server... so maybe they haven't gotten to making all the perf_counters work from the server?

            Alexei? any progress report on this I know it's a relatively old "bug"?

            Comment

            • navtek007
              Senior Member
              • May 2005
              • 100

              #7
              Still no response. So i am thinking that this must be a bug then? Any chace on getting this fixed before the final release of 1.1?

              Thanks.

              Comment

              Working...