Page 1 of 1

Check_pdh: No performance data

Posted: Tue Aug 21, 2018 12:48 pm
by RyanMule
Hello all,

I am upgrading the nsclients in our environment. I have installed the 5.2 client on one of our 2010 Exchange servers and having issues with one of the checks. I keep receiving Error: No performance data from command: check_pdh

[root@nagios02 libexec]# ./check_nt -H x.x.x.x -s password -p 12489 -v COUNTER -l "\\SMTP Server(_Total)\\Messages Pending Routing"
NSClient - ERROR: No performance data from command: check_pdh
[root@nagios02 libexec]#

I have attached my .ini file as well.

I have a feeling it something simple but I don't see why the counter name would change?

Any help would be greatly appreciated

Thank you
Ryan

Re: Check_pdh: No performance data

Posted: Tue Aug 21, 2018 2:19 pm
by tgriep
It could be that there is a Bug in that version of NSClient++ and that is causing the error.
I would try the latest stable 0.4.xx version to see if that works.

Another thing to try is to reset the counters on the Exchange server. See this link for instructions.
https://support.microsoft.com/en-us/hel ... ary-values

Also, look at this link for some further steps in troubleshooting counters and NSClient++
https://docs.nsclient.org/howto/counters/

Let us know what you find.

Re: Check_pdh: No performance data

Posted: Wed Aug 22, 2018 8:59 am
by RyanMule
I sure hope not...
I will try that but I already have 5.2 rolled out to several dev machines.

Thank you for the articles!

Will do

Re: Check_pdh: No performance data

Posted: Wed Aug 22, 2018 1:31 pm
by tgriep
Your welcome.