check_disk

Ton Voon ton.voon at altinity.com
Wed Dec 20 20:29:06 CET 2006


On 20 Dec 2006, at 15:51, Marc Powell wrote:

>> 1.64 (from plugins-1.4.3) works successfully here (RHAS3.7  
>> checking an
>> ext3 formatted LVM partition) --
>>
>> $ ./check_disk --version
>> check_disk (nagios-plugins 1.4.3) 1.64
>>
>> $ ./check_disk --icritical 91%  /
>> DISK CRITICAL - free space: / 2546 MB (32% inode=90%);|
>> /=5328MB;7874;7874;89;7874
>>
>> $ ./check_disk --icritical 1%  /
>> DISK OK - free space: / 2546 MB (32% inode=90%);|
>> /=5328MB;7874;7874;89;7874
>
> 1.79 from plugins-1.4.5 appears borked --
>
> $ ./check_disk --version
> check_disk (nagios-plugins 1.4.5) 1.79
>
> $ ./check_disk --icritical 91%  /
> DISK OK - free space: / 2531 MB (33% inode=89%);|
> /=4942MB;-2147483648;-2147483648;0;7874
>
> $ ./check_disk --icritical 1%  /
> DISK CRITICAL - free space: / 2531 MB (33% inode=89%);|
> /=4942MB;-2147483648;-2147483648;0;7874
>


Marc,

Yes, this does look incorrect. When the plumbing work was done for  
the filesystems, checks for the inodes weren't completed correctly.

This is fixed now. I've also included tests now, so this should be  
picked up in future before it gets released.

The perf data is nulled if you check inodes only because there is no  
warning/critical set for the disk space.

Please try the CVS snapshot when that gets created.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061220/92d8f31c/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- 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