[Nagiosplug-devel] [ nagiosplug-Bugs-3552845 ] check_disk plugin returns incorrect inode size.

SourceForge.net noreply at sourceforge.net
Thu Aug 2 09:08:54 CEST 2012


Bugs item #3552845, was opened at 2012-07-31 16:16
Message generated for change (Comment added) made by dermoth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3552845&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Cálestyo (calestyo)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_disk plugin returns incorrect inode size. 

Initial Comment:
Hi.

This is from the old / soon to be disabled again Nagios Plugins bug tracker that used to be at Nagios itself.
I've just copied this bug over. I'm not the original reporter and have no idea about the thoughts about this bug.

This used to be: http://tracker.nagios.org/view.php?id=25
--------------------------------------------------------------------------------
guest:
--------------------------------------------------------------------------------
Using default nagios debian package I get in several servers (same hosting):

DISK CRITICAL - free space: / 3051 MB (20% inode=97%)

but df -i output is:

Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda6 2003424 57648 1945776 3% /

Hope It may be useful.

Regards. 

--------------------------------------------------------------------------------
dermoth:
--------------------------------------------------------------------------------
I don't see a problem here. 97% free inodes is equivalent to 3% used inodes. What is wrong with that??

Besides for now the official tracker for bugs is on sourceforge, and unless we move it (we might) this one is very unlikely to be checked by developers. 

--------------------------------------------------------------------------------
foobar47:
--------------------------------------------------------------------------------
Hi all,
The problem is the following.
Nagios send a WARNING cause it see 99% in the result.
Morevover, there is enough space disk.

DISK WARNING - free space: / 3229 MB (15% inode=99%) 

--------------------------------------------------------------------------------
dermoth:
--------------------------------------------------------------------------------
Doubtful.

What is the exact command line that returns this? 

--------------------------------------------------------------------------------
foobar47:
--------------------------------------------------------------------------------
From the local server :

/usr/local/nagios/libexec/check_disk -w 20% -c 5% -p /dev/mapper/VolGroup01-u03
DISK WARNING - free space: /u03 21431 MB (17% inode=84%);| /u03=101688MB;103765;123221;0;129707

From nagios server :

/usr/local/nagios/libexec/check_nrpe -H 192.168.0.47 -c check_volu03
DISK WARNING - free space: /u03 21431 MB (17% inode=84%);| /u03=101688MB;103765;123221;0;129707

inode show 84% and report a warning... 

--------------------------------------------------------------------------------
dermoth:
--------------------------------------------------------------------------------
So you're telling it to warn when free space is at 20% and alert (critical) at 5%, since you have 17% free space you're well within the warning range and therefore the plugin returns a WARNING. The 84% free inodes has nothing to do with the warning state.

This bug is invalid. 

----------------------------------------------------------------------

>Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2012-08-02 00:08

Message:
I'm not sure why you "forwarded" it, this bug was and is still invalid.
Unless of course if you can prove mathematically that 97% free isn't the
same as 3% used, and that 17% is more than 20%.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3552845&group_id=29880




More information about the Devel mailing list