check_disk

Peter Hinse loco at d0pefish.de
Wed Dec 20 13:52:34 CET 2006


Matthias wrote:
> hello,
> 
> i am wondering about the output of the check_disk plugins:
> on the ext3 partition is 38% of inodes used:
> 
> # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda2             9.2G  3.3G  5.5G  38% /
> 
> 
> but the check_disk plugins says the parttion has less than 5% inodes  
> free:
> 
> # /usr/lib/nagios/plugins/check_disk --icritical=5% -p  /;echo $?
> DISK CRITICAL - free space: / 5568 MB (62% inode=69%);| / 
> =3343MB;-2147483648;-2147483648;0;9388
> 2

df -i will list the use of inodes instead of used blocks.

Regards,

	Peter



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