Page 1 of 1

Monitorin Disk Read/Write

Posted: Sat Mar 24, 2012 10:59 pm
by kissmathis
I am new to the Nagios application and I am trying to monitor read write speeds of a host's disk. Please I do need some guidiance as I have not yet seen any discussions yet relating to this. Please help

Re: Monitorin Disk Read/Write

Posted: Mon Mar 26, 2012 8:56 am
by scottwilkerson
What type of host are you wanting to monitor this on?

Re: Monitoring Disk Read/Write

Posted: Tue Mar 27, 2012 3:57 pm
by kissmathis
Thank you . I am trying to monitor a regular Centos 6 server. Its a very database intensive server and I wish to monito the read writes speed on this and all other servers of mine. Once I gure it out then I would try to buy the software for full licence.

Re: Monitorin Disk Read/Write

Posted: Tue Mar 27, 2012 4:54 pm
by scottwilkerson
I think this plugin in the exchange can do what you are looking for
http://exchange.nagios.org/directory/Pl ... cs/details

Re: Monitorin Disk Read/Write

Posted: Tue Mar 27, 2012 9:00 pm
by kissmathis
Thank you. I got the plugin, and I uplooaded it as well. However not sure exactly how to activate the plugin to poll the server. Other stuff configured via wizard do work. Can you please pm me, I won't mind if you decide to charge me. I would provide the server and access info.

Thanks for your help.

Re: Monitorin Disk Read/Write

Posted: Wed Mar 28, 2012 9:34 am
by scottwilkerson
You will need to add a command so you can use it in Nagios. This can be setup various ways, but I would suggest something like this:

Add a command at Configure -> Core Config Manager -> Commands -> Add New
Command = check_iostat
Command line* = $USER1$/check_iostat -d $ARG1$ -w $ARG2$ -c $ARG3$
Command type = check command

Then you can add a new service
Configure -> Core Config Manager -> Service -> Add New

In check Command select check_iostat
$ARG1$ = volume (ie. /boot )
$ARG2$ = warning level
$ARG3$ = critical level