How to set-up Disk I/O Service in Nagios
Thanks in Advance.
How to set-up Disk I/O Service in Nagios
Re: How to set-up Disk I/O Service in Nagios
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?
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?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How to set-up Disk I/O Service in Nagios
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
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.
$ARG1$: \\PhysicalDisk(_Total)\\% Disk Time
$ARG2$ and $ARG3$: 60 and 90
Thanks.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How to set-up Disk I/O Service in Nagios
Well, for instance, if we were going to run a Average Transfer I/O counter check it would be defined as follows:
Try running this from the Nagios server's command line, to the Windows server's IP and see what you get.
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=90Re: How to set-up Disk I/O Service in Nagios
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.
$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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How to set-up Disk I/O Service in Nagios
From Microsoft's TechNet posting on performance counters:
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.
http://technet.microsoft.com/en-us/libr ... 68048.aspxPhysicalDisk : % 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%.
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
Thank you very much SLANSING 