Re: Problem with service Queue Depth
Posted: Wed Sep 20, 2017 2:45 pm
It is NSClient ++ (x64) version 0.4.4.23kyang wrote:Can you tell me the version of NSClient++ you are running?
Support for Nagios products and services
https://support.nagios.com/forum/
It is NSClient ++ (x64) version 0.4.4.23kyang wrote:Can you tell me the version of NSClient++ you are running?
Code: Select all
/usr/local/nagios/libexec/check_nt -H 10.161.176.75 -s "Config2006" -p 12489 -v COUNTER -l "\\PhysicalDisk(6)\\Avg. Disk Queue Length\\","Drive C:\MSSQL\PCL\LOGS queue length is %.2f %%" -w 80 -c 90 The same messagekyang wrote:Looks like I gave the wrong command. Forgot a \
Try this and let us know the output!Code: Select all
/usr/local/nagios/libexec/check_nt -H 10.161.176.75 -s "Config2006" -p 12489 -v COUNTER -l "\\PhysicalDisk(6)\\Avg. Disk Queue Length\\","Drive C:\MSSQL\PCL\LOGS queue length is %.2f %%" -w 80 -c 90
Code: Select all
[nagios@nvsplmonnagvt01 ~]$ /usr/local/nagios/libexec/check_nt -H 10.161.176.75 -s "Config2006" -p 12489 -v COUNTER -l "\\PhysicalDisk(6)\\Avg. Disk Queue Length\\","Drive C:\MSSQL\PCL\LOGS queue length is %.2f %%" -w 80 -c 90
NSClient - ERROR: Invalid return from command: check_pdhCode: Select all
/usr/local/nagios/libexec/check_nt -H 10.161.176.75 -s "Config2006" -p 12489 -v COUNTER -l "\\PhysicalDisk(6)\\Avg. Disk Queue Length","Drive C:\MSSQL\PCL\LOGS queue length is %.2f %%" -w 80 -c 90scottwilkerson wrote:Sorry this is being so tricky, we have some trailing \\ on the performance counter
I believe this is correctCode: Select all
/usr/local/nagios/libexec/check_nt -H 10.161.176.75 -s "Config2006" -p 12489 -v COUNTER -l "\\PhysicalDisk(6)\\Avg. Disk Queue Length","Drive C:\MSSQL\PCL\LOGS queue length is %.2f %%" -w 80 -c 90