Title: Some info on check_disk output

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 /

[EMAIL PROTECTED]:~> /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 /       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   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    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   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    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    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    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

-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to