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

2014-07-24 Thread Mantis Bug Tracker via bug-notifications

A NOTE has been added to this issue. 
== 
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-07-24 17:48 CEST
== 
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 98G63G36G64%/u01
zpool02/u022.4T   1.9T   579G77%/u02
zpool03/u03 20G   268M19G 2%/u03
zpool04/u044.9T   2.4T   2.4T51%/u04
zpool05/u054.9T   839G   4.1T17%/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.
== 

-- 
 (0010877) salderman1 (reporter) - 2014-07-24 17:48
 https://www.opencsw.org/mantis/view.php?id=5147#c10877 
-- 
I can confirm this patch seems to work.  For whatever reason, I missed the
update on this ticket when it was issued.  We had the issue come up again,
and I tracked this ticket down, put the new package on the system and the
monitor cleaned up immediately on next check.

Thanks for the effort.  Do you have an eta on when this might be promoted
to the testing branch?



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

2014-07-24 Thread Mantis Bug Tracker via bug-notifications

The following issue has been CLOSED 
== 
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: closed
Resolution: open
Fixed in Version:   
== 
Date Submitted: 2014-02-06 22:14 CET
Last Modified:  2014-07-24 18:58 CEST
== 
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 98G63G36G64%/u01
zpool02/u022.4T   1.9T   579G77%/u02
zpool03/u03 20G   268M19G 2%/u03
zpool04/u044.9T   2.4T   2.4T51%/u04
zpool05/u054.9T   839G   4.1T17%/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.
== 

-- 
 (0010878) dam (administrator) - 2014-07-24 18:58
 https://www.opencsw.org/mantis/view.php?id=5147#c10878 
-- 
Updated packages 1.5,REV=2014.03.03 have been pushed to unstable/ and
testing/.