nagios doesn't display warning and critical situations

Murray Crane murray at liquidthinking.co.uk
Tue Mar 16 10:06:14 CET 2004


On Tue, 16 Mar 2004 08:01:23 +0000
  "stefano razzauti" <stefano.razzauti at yogitech.com> 
wrote:
>
>I check disks by the following plugin check:
>
>bash-2.03$ ./check_disk -w 20 -c 10 /export/home2
>DISK OK [1454591 kB (8%) free on /dev/dsk/c2t10d0s7]
>

I'm pretty sure this is in the docs somewhere (it was 
definitely in the NetSaint docs when I used check_disk 
with NS; new job, new nagios deployment) but if you don't 
explicity specify that your warning and critical values 
are percentages by putting a percentage symbol at the end 
of them ("-w 20% -c 10%") they are interpreted as kilobyte 
values! 

Your current check says "warn on 20k remaining, critical 
on 10k remaining". :)

Kind regards

Murray Crane
Network Administrator
LiquidThinking Ltd


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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