check_disk confused by negative disk space, fix or workaround?

Alloo, Vincent v-alloo at ti.com
Mon Aug 27 17:34:32 CEST 2007


Hello,
I have fixed the problem by upgrading my OS version (from RH7.2 to
RHEL3.8).


Vincent Alloo
TI France Design Systems Operations Manager
Europe and Middle East IT Services
Texas Instruments France

E-Mail: v-alloo at ti.com
Phone: +33 4 93 22 26 97
Mobile: +33 6 82 13 00 80

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo
van der Kooij
Sent: Sunday, August 26, 2007 1:21 AM
To: Nagios Users mailinglist
Subject: Re: [Nagios-users] check_disk confused by negative disk space,
fix or workaround?

On Sat, 25 Aug 2007, Thomas Guyot-Sionnest wrote:

> On 25/08/07 11:33 AM, Kelly Jones wrote:
>> Nagios' check_disk plug-in gets confused when "df -k" reports
negative
>> space remaining on a drive. For example, if df -k says:
>>
>> /dev/ccd0 567673758 524004492 -1744634 100% /partname
>>
>> nagios' check_disk says:
>>
>> DISK OK - free space: /partname 17592186042712 MB (-1% inode=97%)
>
> What system are you using? My df command never returns negative values
> so I couldn't make a simple test case...

I guess this is a unique feature of Solaris. Not even sure which version

KJ might be referring to.

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hugo.vanderkooij.org/
 	    This message is using 100% recycled electrons.

 	Some men see computers as they are and say "Windows"
 	I use computers with Linux and say "Why Windows?"
 	(Thanks JFK, for this quote of George Bernard Shaw.)

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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