It is NSClient ++ (x64) version 0.4.4.23kyang wrote:Can you tell me the version of NSClient++ you are running?
Problem with service Queue Depth
-
Cristian Godoy
- Posts: 17
- Joined: Tue Sep 12, 2017 8:32 am
Re: Problem with service Queue Depth
-
kyang
Re: Problem with service Queue Depth
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 -
Cristian Godoy
- Posts: 17
- Joined: Tue Sep 12, 2017 8:32 am
Re: Problem with service Queue Depth
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_pdh-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with service Queue Depth
Sorry this is being so tricky, we have some trailing \\ on the performance counter
I believe this is correct
I believe this is correct
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-
Cristian Godoy
- Posts: 17
- Joined: Tue Sep 12, 2017 8:32 am
Re: Problem with service Queue Depth
scottwilkerson 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
I work, thank you very much to all for the help
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with service Queue Depth
Glad we were able to sort it out for you!