[nagios_plugins 0005147]: check_disk incorrectly reports free space for zfs filesystems larger than 1TB

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Mon Mar 3 15:19:52 CET 2014


The following issue requires your FEEDBACK. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5147 
====================================================================== 
Reported By:                salderman1
Assigned To:                dam
====================================================================== 
Project:                    nagios_plugins
Issue ID:                   5147
Category:                   upgrade
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2014-02-06 22:14 CET
Last Modified:              2014-03-03 15:19 CET
====================================================================== 
Summary:                    check_disk incorrectly reports free space for zfs
filesystems larger than 1TB
Description: 
We have several SPARC T3 and T4 servers using OpenCSW nagios-plugins-1.4.16
from the testing tree.  The servers which have ZFS filesystems larger than
1TB have their capacity incorrectly reported by check_disk...

Example:

# /opt/csw/libexec/nagios-plugins/check_disk -w 20% -c 10% -R
"^/$|oracle$|^/u[0-9]+" -X tmpfs
DISK OK - free space: / 198350 MB (94% inode=99%); /u01 36540 MB (36%
inode=99%); /u02 36540 MB (36% inode=99%); /u03 19764 MB (98% inode=99%);
/u04 19764 MB (98% inode=99%); /u05 19764 MB (98% inode=99%);|
/=11288MB;167711;188675;0;209639 /u01=64001MB;80433;90487;0;100542
/u02=64001MB;80433;90487;0;100542 /u03=267MB;16025;18028;0;20032
/u04=267MB;16025;18028;0;20032 /u05=267MB;16025;18028;0;20032

# df -h |grep u0
zpool01/u01             98G    63G    36G    64%    /u01
zpool02/u02            2.4T   1.9T   579G    77%    /u02
zpool03/u03             20G   268M    19G     2%    /u03
zpool04/u04            4.9T   2.4T   2.4T    51%    /u04
zpool05/u05            4.9T   839G   4.1T    17%    /u05

Notice /u02, /u04 and /u05's free space is incorrectly reported in the
check_disk output.

I have opened an issue on the nagios-plugins support forum and with their
help have come to the conclusion that this issue has been resolved in
nagios-plugins-1.5.

Here is the 1.5 version's output from the same server of the example
above:

# ./check_disk -w 20% -c 10% -R "^/$|oracle$|^/u[0-9]+" -X tmpfs
DISK OK - free space: / 198350 MB (94% inode=99%); /u01 36540 MB (36%
inode=99%); /u02 592830 MB (23% inode=99%); /u03 19765 MB (98% inode=99%);
/u04 2562448 MB (49% inode=99%); /u05 4269915 MB (83% inode=99%);|
/=11288MB;167711;188675;0;209639 /u01=64001MB;80433;90487;0;100542
/u02=1971316MB;2051316;2307731;0;2564146 /u03=267MB;16025;18028;0;20032
/u04=2566246MB;4102955;4615824;0;5128694
/u05=858723MB;4102911;4615775;0;5128639

/u02, /u04, and /u05 are now reporting correctly.  I would like to request
updated packages for unstable.
====================================================================== 

---------------------------------------------------------------------- 
 (0010745) dam (administrator) - 2014-03-03 15:18
 https://www.opencsw.org/mantis/view.php?id=5147#c10745 
---------------------------------------------------------------------- 
Hi,

I made experimental new packages which will appear here soon:
  http://buildfarm.opencsw.org/experimental.html#nagios

Please give them a try and let me know if it works.


Best regards -- Dago



More information about the bug-notifications mailing list