The NSClient is running NSCP-0.4.3.77-x64 on a Windows 2008r2 64-bit server and Nagios is version XI 2014R2.6. I have 10 other identical servers but this one is returning this error:
NSClient - ERROR: Invalid return from command: check_pdh
The check is:
check_xi_service_nsclient COUNTER-l "\\Server Work Queues(0)\\Queue Length","Current work queue (an indication of processing load) is %.f " -w 4 -c 7
NSClient - ERROR: Invalid return from command: check_pdh
Re: NSClient - ERROR: Invalid return from command: check_pdh
If you run this from the command line what does it return?
Make sure to change SERVER and PASSWORD with the proper information.
What does this command output on the Windows machine?
Code: Select all
cd /usr/local/nagios/libexec
./check_nt -H SERVER -p 12489 -v COUNTER -l "\\Server Work Queues(0)\\Queue Length" -s PASSWORD -w 4 -c 7What does this command output on the Windows machine?
Code: Select all
typeperf "\Server Work Queues(0)\Queue Length"