check_disk syntax question

Webster, Stuart SITI-ITDIUR Stuart.Webster at shell.com
Wed Jun 18 09:55:20 CEST 2003


Thanks for reply...
the plugin is 
./check_disk -V
check_disk (nagios-plugins 1.3.0) 1.7

and nagios is version 1.0.
and both machines are solaris 8

I thought it was very wierd as well, but i thought my syntax might have been wrong.

cheers

Stu

-----Original Message-----
From: Karl DeBisschop [mailto:karl at debisschop.net]
Sent: 18 June 2003 05:43
To: Webster, Stuart SITI-ITDIUR
Cc: Nagios Users
Subject: Re: [Nagios-users] check_disk syntax question


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