Page 1 of 1
How to set-up Disk I/O Service in Nagios
Posted: Mon Mar 18, 2013 1:20 am
by glenl
How to set-up Disk I/O Service in Nagios
Thanks in Advance.
Re: How to set-up Disk I/O Service in Nagios
Posted: Mon Mar 18, 2013 4:11 am
by glenl
I have checked our Nagios.
2 servers have disk i/o defined in them.
The check command describes "check_counter", while the description states "$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckCounter -a "Counter=$ARG1$" ShowAll MaxWarn=$ARG2$ MaxCrit=$ARG3$ ". Does this actually check DISK I/O?
Re: How to set-up Disk I/O Service in Nagios
Posted: Mon Mar 18, 2013 9:53 am
by slansing
You would be able to combine this with a Performance Counter to retrieve disk I/O, which counter are you looking at using? We can fill in the check command for you once we know this, so that you see an example of how to configure them.
Re: How to set-up Disk I/O Service in Nagios
Posted: Mon Mar 18, 2013 9:26 pm
by glenl
I would like to know if the parameter set is indeed intended to check disk i/o.
$ARG1$: \\PhysicalDisk(_Total)\\% Disk Time
$ARG2$ and $ARG3$: 60 and 90
Thanks.
Re: How to set-up Disk I/O Service in Nagios
Posted: Tue Mar 19, 2013 9:07 am
by slansing
Well, for instance, if we were going to run a Average Transfer I/O counter check it would be defined as follows:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H (windows ip goes here) -c CheckCounter -a "Counter:=\\PhysicalDisk(0 C:)\Avg. Disk sec/Transfer" ShowAll MaxWarn=60 MaxCrit=90
Try running this from the Nagios server's command line, to the Windows server's IP and see what you get.
Re: How to set-up Disk I/O Service in Nagios
Posted: Tue Mar 19, 2013 8:18 pm
by glenl
Thank you the information. I will try it. But,, is the command below is intended to check disk I/O?
$ARG1$: \\PhysicalDisk(_Total)\\% Disk Time
$ARG2$ and $ARG3$: 60 and 90
One of the staff set this command to our nagios but he's not connected now to the company , so i don't know if the parameter is intended to check disk I/O.
Thanks.
Re: How to set-up Disk I/O Service in Nagios
Posted: Wed Mar 20, 2013 9:17 am
by slansing
From Microsoft's TechNet posting on performance counters:
PhysicalDisk : % Disk Time. Much like % Processor time, this counter is a general mark of how busy the disk is. You will see many similarities between the disk and processor since they are both transaction-based services. This counter indicates a disk problem, but must be observed in conjunction with the Current Disk Queue Length counter to be truly informative. Recall also that the disk could be a bottleneck prior to the % Disk Time reaching 100%.
http://technet.microsoft.com/en-us/libr ... 68048.aspx
So yes, it is a form of I/O checking, but if you use this alone, you may want to combine it with another check.
Re: How to set-up Disk I/O Service in Nagios
Posted: Wed Mar 20, 2013 8:32 pm
by glenl
Thank you very much SLANSING
