Disk check problem
Subhendu Ghosh
sghosh at sghosh.org
Thu May 5 18:40:46 CEST 2005
On Thu, 5 May 2005, McCann, Brian wrote:
> Hi all. I just hit a problem where Nagios didn't send an alert for a
> disk that got full. Upon further investigation, when I run:
> "/usr/local/libexec/nagios/check_disk -w 20 -c 10 /dev/mlxd0s1e", I get
> "DISK OK [68460 kB (7%) free on /dev/mlxd0s1e]" with an exit code of 0.
> The syntax looks right, but I must be doing something wrong here. It's
> version 1.3.1. Any ideas?
>
> Thanks,
> --Brian
>
-w, --warning=INTEGER
Exit with WARNING status if less than INTEGER kilobytes of disk are
free
-w, --warning=PERCENT%
Exit with WARNING status if more than PERCENT of disk space is free
-c, --critical=INTEGER
Exit with CRITICAL status if less than INTEGER kilobytes of disk are
free
-c, --critical=PERCENT%
Exit with CRITCAL status if more than PERCENT of disk space is free
looks like 20 kilobytes is available.
if you wanted percentage of capacity - need to include a "%" tag for the
definition.
--
-sg
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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