strawberry Posted September 16, 2010 Posted September 16, 2010 Right, Got nagios working fairly well, but i need to monitor the disk queue lengths, I'm using nsclient. any help for a poor *unix noob?
mounters Posted September 16, 2010 Posted September 16, 2010 #Disk Queue Length From Checking NT Services with Nagios - Nagios Wiki define command{ command_name check_nt_queue_length command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length","Average number of both read and write requests queued is %.2f Consider a faster disk array" -w 1 -c 5 }
riffleman Posted September 16, 2010 Posted September 16, 2010 (edited) Try this: In your command.cfg file create the command to do the monitoring: #Disk Queue Length define command{ command_name check_nt_queue_length command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER -l "\\PhysicalDisk(_Total)\\Avg. Disk Queue Length","Average number of both read and write requests queued is %.2f Consider a faster disk array" -w 1 -c 5 } Then in the host file for the server you are monitoring, add a check command similar to those already present, but altering the check to 'check_nt_queue_length'. Hope this helps. Edit: Doh! Mounters beat me to it! Edited September 16, 2010 by riffleman Adding extra info
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now