Bug in check_disk when using mount points?

Ton Voon ton.voon at altinity.com
Wed Feb 14 21:52:16 CET 2007


On 14 Feb 2007, at 18:49, frank wrote:

> (Please pardon my top-posting)
>
> The first problem is that the --help listing has a typo. Mount  
> points are
> checked with '-M', megabytes are checked with '-m', but both are  
> listed
> in lowercase when you use --help.

Thanks. This is fixed in CVS now.

>
> The second problem appears to be in the reporting of command line  
> errors.
> Try putting your mount point after your -w and/or -c flags. In older
> version of the plugin it would complain when you left out either  
> the -w or
> -c. Now it just reports (signed) 2^32 (if my mental math is right)  
> in the
> performance data:
>
> # ./check_disk -M -w 10% /home
> DISK WARNING - free space: /dev/hda3 5904 MB (8% inode=95%);| /dev/ 
> hda3=63902MB;66188;-2147483648;0;73543
>
> So yes, there are some issues in the plugin that deserve fixing,  
> but it
> does work properly when given instructions in the correct order.

This has been fixed in the 1.4.6 release.

Ton

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



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