Disks not reporting correctly

Ton Voon ton.voon at altinity.com
Mon Sep 10 09:31:57 CEST 2007


On 7 Sep 2007, at 15:33, Craig Jackson wrote:

> Here's the relevant lines from nrpe.cfg:
> command[check_disk_sda1]=/usr/lib/nagios/plugins/check_disk -w 20 - 
> c 10
> -p /dev/sda1
> command[check_disk_sdb1]=/usr/lib/nagios/plugins/check_disk -w 20 - 
> c 10
> -p /dev/sdb1
> command[check_disk_sdc1]=/usr/lib/nagios/plugins/check_disk -w 20 - 
> c 10
> -p /dev/sdc1
>
> Any ideas?

You want to add a % after the 20 and 10, ie: check_disk -w 20% -c 10%.

It's a common mistake. I believe Ethan has already updated the CVS  
version of nrpe.cfg so that the default has the percent figures  
included.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list