check_disk confused by negative disk space, fix or workaround?

Hugo van der Kooij hvdkooij at vanderkooij.org
Sun Aug 26 01:21:30 CEST 2007


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





More information about the Users mailing list