check_disk syntax question
Karl DeBisschop
karl at debisschop.net
Wed Jun 18 05:42:47 CEST 2003
On Tue, 2003-06-17 at 11:04, Webster, Stuart SITI-ITDIUR wrote:
> Hello all
>
> I am using check_disk plugin to monitor some very large file systems.
> I was monitoring using percentages, but this is pointless, because
> when you ar 99% full, you still have lots of space.
>
> so I changed to a minimum killobytes check, now i get critical
> messages for every disk i check, probably something obviously wrong
> in what im doing.
>
> Here is one of my filesystems
> #df -k
> sw017 4164728832 858727296 3306001536 21% /sw017
>
> and here is my nrpe command
> command[check_sw017]=/nagios/libexec/check_disk -c 1000000 -w 1500000
> -m /sw017
>
> im trying to set it to 1.5 gb warning, and 1gb crit.
>
> but i get this error every time.
> DISK CRITICAL [-988965760 kB (79%) free on /sw017]
>
>
> is my sytax wrong????
What plugin version on the remote machine?
ISTM there must be a bug, unless you've figured out how to store more
bytes on a disk than its total capacity (which I take to be the meaning
of les than 0 bytes free).
OOTH, if you have figured out a way to create this extra capacity, when
you take out the patent please be sure you do not mention 'Unix' in the
application, otherwise SCO may assert ownership ;-)
--
Karl
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
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