OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005147 [nagios_plugins] upgrade major always 2014-02-06 22:14 2014-07-24 18:58
Reporter salderman1 View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0005147: 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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010700)
salderman1 (reporter)
2014-02-06 22:17

Just to report the binary versions...

Good:
# ./check_disk -V
check_disk v1.5.81.g897f (nagios-plugins 1.5)

Faulty:
# /opt/csw/libexec/nagios-plugins/check_disk -V
check_disk v1.4.16 (nagios-plugins 1.4.16)
(0010701)
salderman1 (reporter)
2014-02-06 22:19

Nagios support forum thread:

http://support.nagios.com/forum/viewtopic.php?f=7&t=25160&start=10 [^]
(0010745)
dam (administrator)
2014-03-03 15:18

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
(0010877)
salderman1 (reporter)
2014-07-24 17:48

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?
(0010878)
dam (administrator)
2014-07-24 18:58

Updated packages 1.5,REV=2014.03.03 have been pushed to unstable/ and testing/.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker