Problem with service Queue Depth

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Cristian Godoy
Posts: 17
Joined: Tue Sep 12, 2017 8:32 am

Re: Problem with service Queue Depth

Post by Cristian Godoy »

kyang wrote:Can you tell me the version of NSClient++ you are running?
It is NSClient ++ (x64) version 0.4.4.23
kyang

Re: Problem with service Queue Depth

Post by kyang »

Looks like I gave the wrong command. Forgot a \

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 
Try this and let us know the output!
Cristian Godoy
Posts: 17
Joined: Tue Sep 12, 2017 8:32 am

Re: Problem with service Queue Depth

Post by Cristian Godoy »

kyang wrote:Looks like I gave the wrong command. Forgot a \

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 
Try this and let us know the output!
The same message

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

Post by scottwilkerson »

Sorry this is being so tricky, we have some trailing \\ on the performance counter

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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Cristian Godoy
Posts: 17
Joined: Tue Sep 12, 2017 8:32 am

Re: Problem with service Queue Depth

Post by Cristian Godoy »

scottwilkerson wrote:Sorry this is being so tricky, we have some trailing \\ on the performance counter

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

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

Post by scottwilkerson »

Glad we were able to sort it out for you!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked