[Nagiosplug-devel] check_disk plugin fails on 80 TB filesystem

Alan Hagge Alan.Hagge at warnerbros.com
Thu Sep 20 18:52:16 CEST 2007


We're trying to use check_disk to monitor a number of Quantum (nee ADIC)
StorNext filesystems on a SAN.  We have a number of 16 TB filesystems
and 3 80 TB (yup...80 terabyte) filesystems.

check-disk seems to work fine on the 16 TB filesystems, but fails
completely on the 80 TB filesystems:

16 TB filesystem:

    [root at backup ~]# /usr/lib/nagios/plugins/check_disk -vvvv -w 20 -c
    10 -p /sans/hpsans10
    For /sans/hpsans10, used_pct=47 free_pct=53 used_units=7.74397e+06
    free_units=9.0322e+06 total_units=1.67762e+07 used_inodes_pct=15
    free_inodes_pct=85
    Freespace_units result=0
    Freespace% result=0
    Usedspace_units result=0
    Usedspace_percent result=0
    Usedinodes_percent result=0
    Freeinodes_percent result=0
    DISK OK - free space: /sans/hpsans10 9032201 MB (53% inode=85%);|
    /sans/hpsans10=7743974MB;16776156;16776166;0;16776176

80 TB filesystem:

    [root at backup ~]# /usr/lib/nagios/plugins/check_disk -vvvv -w 20 -c
    10 -p /sans/hpfata07
    For /sans/hpfata07, used_pct=100 free_pct=0 used_units=0
    free_units=0 total_units=0 used_inodes_pct=100 free_inodes_pct=0
    Freespace_units result=2
    Freespace% result=0
    Usedspace_units result=0
    Usedspace_percent result=0
    Usedinodes_percent result=0
    Freeinodes_percent result=0
    DISK CRITICAL - free space: /sans/hpfata07 0 MB (0% inode=0%);|
    /sans/hpfata07=0MB;-20;-10;0;0


I'm not sure if this is an issue of having to use statfs64 vs statfs, or
an issue of variable sizes too small.  I'll be glad to test any patches...

Thanks in advance!




More information about the Devel mailing list