INode issues with Linux Agent
Posted: Tue May 25, 2010 7:29 pm
I just installed Nagios XI and setup the Linux Agent on one of my servers. As soon as it started monitoring the server it started complaining about / Disk Usage being critical.
Here is the message that it displayed "DISK CRITICAL - free space: / 12647 MB (71% inode=97%):"
But looking directly at the server this is what I found:
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup00-LogVol00 4943136 136229 4806907 3% /
/dev/xvda1 26104 46 26058 1% /boot
tmpfs 524288 1 524287 1% /dev/shm
/usr/tmpDSK 128016 7669 120347 6% /tmp
/dev/mapper/Home-lvol0 524283904 197550 524086354 1% /home
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 19G 5.0G 13G 29% /
/dev/xvda1 99M 21M 73M 23% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
/usr/tmpDSK 485M 202M 258M 44% /tmp
/dev/mapper/Home-lvol0 500G 8.8G 492G 2% /home
Looking at the numbers it looks like it is actually reading it backwards. If this is the case should I just invert the command?
ie: check_nrpe!check_disk!-a '-w 80% -c 90% -p /' to check_nrpe!check_disk!-a '-w 20% -c 10% -p /'?
Here is the message that it displayed "DISK CRITICAL - free space: / 12647 MB (71% inode=97%):"
But looking directly at the server this is what I found:
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/VolGroup00-LogVol00 4943136 136229 4806907 3% /
/dev/xvda1 26104 46 26058 1% /boot
tmpfs 524288 1 524287 1% /dev/shm
/usr/tmpDSK 128016 7669 120347 6% /tmp
/dev/mapper/Home-lvol0 524283904 197550 524086354 1% /home
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 19G 5.0G 13G 29% /
/dev/xvda1 99M 21M 73M 23% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
/usr/tmpDSK 485M 202M 258M 44% /tmp
/dev/mapper/Home-lvol0 500G 8.8G 492G 2% /home
Looking at the numbers it looks like it is actually reading it backwards. If this is the case should I just invert the command?
ie: check_nrpe!check_disk!-a '-w 80% -c 90% -p /' to check_nrpe!check_disk!-a '-w 20% -c 10% -p /'?