Some info on check_disk output

tom.welsh at bt.com tom.welsh at bt.com
Thu Oct 5 12:39:10 CEST 2006


Hi List,


SLES9.2
Nagios 2.5
Nagios-Plugins 1-4-3
NRPE 2.5.1

When I look at my check disk output in nagios I see the following against some entries. My disks are partitioned with LVM

My command line from my nrpe.cfg is 

command[check_disk1]=/usr/local/nagios/libexec/check_disk -l -X iso9660 -w 20% -c 10% -W 20% -K 10% -p /

nagios at usel:~> /usr/local/nagios/libexec/check_disk -l -X iso9660 -w 20% -c 10% -W 20% -K 10% -p /

Which returns the below 

DISK OK - free space: / 1188 MB (53% inode=nan%);| /=1068MB;1804;2029;-2147483648;2255


I get the following returned in the Nagios Services view.

Free Disk Space / <http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2F> 	OK	 05-10-2006 11:25:09	 0d 17h 51m 42s	 1/3	 DISK OK - free space: / 2699 MB (66% inode=nan%): 	 
Free Disk Space /boot <http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fboot> 	OK	 05-10-2006 11:25:37	 0d 17h 50m 26s	 1/3	 DISK OK - free space: /boot 63 MB (61% inode=nan%): 	 
Free Disk Space /opt <http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fopt> 	OK	 05-10-2006 11:26:21	 0d 17h 49m 10s	 1/3	 DISK OK - free space: /opt 987 MB (96% inode=nan%): 	 
Free Disk Space /osmf <http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fosmf> 	OK	 05-10-2006 11:22:04	 0d 17h 52m 57s	 1/3	 DISK OK - free space: /osmf 145 MB (73% inode=nan%): 	 
Free Disk Space /tmp <http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Ftmp> 	OK	 05-10-2006 11:22:47	 0d 17h 51m 41s	 1/3	 DISK OK - free space: /tmp 462 MB (92% inode=100%): 	 
Free Disk Space /usr <http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fusr> 	OK	 05-10-2006 11:23:29	 0d 17h 50m 25s	 1/3	 DISK OK - free space: /usr 2053 MB (67% inode=nan%): 	 
Free Disk Space /var <http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fvar> 	OK	 05-10-2006 11:24:12	 0d 17h 49m 9s	 	 1/3	 DISK OK - free space: /var 29720 MB (56% inode=nan%): 	

What I want to know is what does the % inode=nan% mean?

It seems that the only filesystem to return inodes is /tmp but that probably coz its not sitting on any particular disk.

Here's my fstab

h1oiap:/home/welsht2 # cat /etc/fstab
/dev/vg01/rootlv     /                    reiserfs   defaults              1 1
/dev/sda1            /boot                reiserfs   defaults              1 2
/dev/vg01/homelv     /home                reiserfs   defaults              1 2
/dev/vg01/optlv      /opt                 reiserfs   defaults              1 2
/dev/vg01/osmflv     /osmf                reiserfs   defaults              1 2
/dev/vg01/usrlv      /usr                 reiserfs   defaults              1 2
/dev/vg01/varlv      /var                 reiserfs   defaults              1 2
/dev/sda5            swap                       pri=42                0 0
/dev/sda6            swap                 swap       pri=42                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
proc                 /proc                proc       defaults              0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
sysfs                /sys                 sysfs      noauto                0 0
/dev/dvd             /media/dvd           subfs      fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0             /media/floppy        subfs      fs=floppyfss,procuid,nodev,nosuid,sync 0 0
none                 /tmp                 tmpfs      mode=1777,size=500M   0 0


Any help gratefully received

Regards

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061005/463870c9/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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