[Bug 409958] Re: Sends false disk space alerts
Ryan Lovett
ryan at spacecoaster.org
Wed Oct 21 22:41:42 BST 2009
According to the output above, both disk space and inode usage are being
checked. For example
/var 88850 MB (91% inode=99%)
But
# df -i /var
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdb5 6483456 36212 6447244 1% /var
# df -h /var
Filesystem Size Used Avail Use% Mounted on
/dev/sdb5 100G 8.2G 87G 9% /var
The nagios output is displaying free space and free inodes but appears
to be sending out a warning thinking the percentages are utilized space
and utilized inodes. Given that 91% (disk free) and 99% (inode free) are
greater than 20%, a warning should not have been sent.
localhost_nagios2.cfg:
# Define a service to check the disk space of the root partition
# on the local machine. Warning if < 20% free, critical if
# < 10% free space on partition.
define service{
use generic-service ; Name of service template to use
host_name localhost
service_description Disk Space
check_command check_all_disks!20%!10%
}
--
Sends false disk space alerts
https://bugs.launchpad.net/bugs/409958
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios2 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list