NSClient++ Help (#1) - Performance Counter on .172? (#971) - Message List

Performance Counter on .172?

Hello

are Performance counter working well on .172? mostly it returns 0. but if i look to the perfmon the values arent like 0 for this counter? only sometimes i get the right... i checked some other topic but didnt find an answer to this?

  • Message #2587

    To my knowlege they should be working, If not let me know...

    But should be pretty simple to compare the value you get in perfmon with nsclient+++

    Michael Medin

    • Message #2588

      My nsclient.log writes every check this here:

      2012-05-14 13:06:46: l:..\..\..\..\trunk\modules\CheckExternalScripts\CheckExternalScripts.cpp:229: Arguments: \LogicalDisk(C:)\% Disk Time Averages=true MaxWarn=40 MaxCrit=60
      

      which i think seems correct! Also my server is getting the answer:

      May 14 13:06:50 linux-VirtualBox nsca[1798]: Connection from 192.168.0.109 port 35522
      May 14 13:06:50 linux-VirtualBox nsca[1798]: Handling the connection...
      May 14 13:06:50 linux-VirtualBox nsca[1798]: SERVICE CHECK -> Host Name: 'winpc', Service Description: 'disktime_check', Return Code: '0', Output: 'OK all counters within bounds.|'\LogicalDisk(C:)\% Disk Time'=0;40;60'
      May 14 13:06:50 linux-VirtualBox nsca[1798]: End of connection...
      

      everything seems fine.. theres just the problem that the most values are0? i got 3 values in the last 3 hours which were >0. I see it also on my pnp4 graphs.. and perfmon gives back values like 10.. or 100 or whatever but very rarely 0 or sth around 0..

      • Message #2590

        I see the same thing Dexx, wrote it up a while ago but it appears difficult to track down and reproduce... What counters are you using? I certainly see it on the % Disk counters as you mention yourself - % Idle time is a great example, it should almost never be zero (I would hope!!), but as of .163 or so it has been 0.

        • Message #2594

          Ive got the same thing also with the idle time here...

          Its a bit better but the most values are still 0... which cant be possible...

          • Message #2600

            This will be fixed in the next build...

Subscriptions