check_disk confused by negative disk space, fix or workaround?

Nagios nagios at mels-kooijman.nl
Sun Aug 26 11:13:19 CEST 2007


I have seen that before on older systemV systems, there is some "spare" 
space so the system would not crash if it reach 100% full

Mels

Hugo van der Kooij wrote:
> 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.
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070826/2da36d7f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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