check_disk

Marc Powell marc at ena.com
Wed Dec 20 16:51:01 CET 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Marc Powell
> Sent: Wednesday, December 20, 2006 9:35 AM
> To: Nagios Users mailinglist
> Subject: Re: [Nagios-users] check_disk
> 
> 
> 
> > -----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: Wednesday, December 20, 2006 9:13 AM
> > To: Nagios Users mailinglist
> > Subject: Re: [Nagios-users] check_disk
> >
> [chop]
> 
> > Regardless of how I run it I see some bogus values in the output:
> >
> > $ /usr/lib/nagios/plugins/check_disk -K 99% -p /var
> > DISK OK - free space: /var 52274 MB (82% inode=98%);| /var=10724MB;-
> > 2147483648;-2147483648;0;66370
> >
> > So I think it is safe to assume the plugin is in fact broken. But
> unless
> > you have a very specific application capable of creating loads of
tiny
> > files on your system you are unlikely to run out of inodes.
> 
> 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

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