check_disk

Marc Powell marc at ena.com
Wed Dec 20 20:43:43 CET 2006



> -----Original Message-----
> From: Ton Voon [mailto:ton.voon at altinity.com]
> Sent: Wednesday, December 20, 2006 1:29 PM
> To: Marc Powell
> Cc: Nagios Users mailinglist
> Subject: Re: [Nagios-users] check_disk
> 
> 
> 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.

Thanks for the quick fix Ton. I was just confirming a bug for Matthias
Haider though and am happy with my 1.64 version ;) Did you also see that
the CRITICAL logic appears to have been inverted between releases? Was
that just due to the improper inode value handling? 

--
Marc

-------------------------------------------------------------------------
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
_______________________________________________
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