<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6618.4">
<TITLE>Some info on check_disk output</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi List,</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">SLES9.2</FONT>
<BR><FONT SIZE=2 FACE="Arial">Nagios 2.5</FONT>
<BR><FONT SIZE=2 FACE="Arial">Nagios-Plugins 1-4-3</FONT>
<BR><FONT SIZE=2 FACE="Arial">NRPE 2.5.1</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">When I look at my check disk output in nagios I see the following against some entries. My disks are partitioned with LVM</FONT></P>
<P><FONT SIZE=2 FACE="Arial">My command line from my nrpe.cfg is </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">command[check_disk1]=/usr/local/nagios/libexec/check_disk -l -X iso9660 -w 20% -c 10% -W 20% -K 10% -p /</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">nagios@usel:~> /usr/local/nagios/libexec/check_disk -l -X iso9660 -w 20% -c 10% -W 20% -K 10% -p /</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Which returns the below </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">DISK OK - free space: / 1188 MB (53% inode=nan%);| /=1068MB;1804;2029;-2147483648;2255</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">I get the following returned in the Nagios Services view.</FONT>
</P>
<P><A HREF="http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2F"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Free Disk Space /</FONT></U></A> <FONT SIZE=2 FACE="Arial">OK 05-10-2006 11:25:09 0d 17h 51m 42s 1/3 DISK OK - free space: / 2699 MB (66% inode=nan%): </FONT></P>
<P><A HREF="http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fboot"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Free Disk Space /boot</FONT></U></A> <FONT SIZE=2 FACE="Arial">OK 05-10-2006 11:25:37 0d 17h 50m 26s 1/3 DISK OK - free space: /boot 63 MB (61% inode=nan%): </FONT></P>
<P><A HREF="http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fopt"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Free Disk Space /opt</FONT></U></A> <FONT SIZE=2 FACE="Arial">OK 05-10-2006 11:26:21 0d 17h 49m 10s 1/3 DISK OK - free space: /opt 987 MB (96% inode=nan%): </FONT></P>
<P><A HREF="http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fosmf"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Free Disk Space /osmf</FONT></U></A> <FONT SIZE=2 FACE="Arial">OK 05-10-2006 11:22:04 0d 17h 52m 57s 1/3 DISK OK - free space: /osmf 145 MB (73% inode=nan%): </FONT></P>
<P><A HREF="http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Ftmp"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Free Disk Space /tmp</FONT></U></A> <FONT SIZE=2 FACE="Arial">OK 05-10-2006 11:22:47 0d 17h 51m 41s 1/3 DISK OK - free space: /tmp 462 MB (92% inode=100%): </FONT></P>
<P><A HREF="http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fusr"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Free Disk Space /usr</FONT></U></A> <FONT SIZE=2 FACE="Arial">OK 05-10-2006 11:23:29 0d 17h 50m 25s 1/3 DISK OK - free space: /usr 2053 MB (67% inode=nan%): </FONT></P>
<P><A HREF="http://132.146.190.81/nagios/cgi-bin/extinfo.cgi?type=2&host=h10oiap&service=Free+Disk+Space+%2Fvar"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Free Disk Space /var</FONT></U></A> <FONT SIZE=2 FACE="Arial">OK 05-10-2006 11:24:12 0d 17h 49m 9s 1/3 DISK OK - free space: /var 29720 MB (56% inode=nan%): </FONT> </P>
<P><FONT SIZE=2 FACE="Arial">What I want to know is what does the % inode=nan% mean?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">It seems that the only filesystem to return inodes is /tmp but that probably coz its not sitting on any particular disk.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Here's my fstab</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">h1oiap:/home/welsht2 # cat /etc/fstab</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/vg01/rootlv / reiserfs defaults 1 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/sda1 /boot reiserfs defaults 1 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/vg01/homelv /home reiserfs defaults 1 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/vg01/optlv /opt reiserfs defaults 1 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/vg01/osmflv /osmf reiserfs defaults 1 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/vg01/usrlv /usr reiserfs defaults 1 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/vg01/varlv /var reiserfs defaults 1 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/sda5 swap pri=42 0 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/sda6 swap swap pri=42 0 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">devpts /dev/pts devpts mode=0620,gid=5 0 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">proc /proc proc defaults 0 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">usbfs /proc/bus/usb usbfs noauto 0 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">sysfs /sys sysfs noauto 0 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">none /tmp tmpfs mode=1777,size=500M 0 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Any help gratefully received</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Regards</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Tom</FONT>
</P>
</BODY>
</HTML>