Description of problem: Before updating to nagios-plugins-disk-2.2.1-17.20190829gitfb792ff.el6.x86_64, the check_disk plugin output looked like: # /usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -l -e -M -X nfsd DISK OK| /dev/mapper/vg_fileserver-lv_root=1343MB;1560;1755;0;1951 /dev/vda1=125MB;151;170;0;189 /dev/mapper/luks-d5ca124b-2525-49ed-adff-db1deb93bbb2=5305MB;7206;8107;0;9008 It now has multiple "dfree units" lines before the normal output: # /usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -l -e -M -X nfsd dfree_units 0 0 disk_result is 0dfree_units 0 0 disk_result is 0dfree_units 0 0 disk_result is 0dfree_units 0 0 disk_result is 0DISK OK| /dev/mapper/vg_fileserver-lv_root=1345MiB;1560;1755;0;1951 tmpfs=0MiB;296;333;0;371 /dev/vda1=125MiB;151;170;0;189 /dev/mapper/luks-d5ca124b-2525-49ed-adff-db1deb93bbb2=5305MiB;7206;8107;0;9008 This causes the nagios console to only show "dfree_units 0 0" in service status, instead of the disk info. This is also present on 7 after updating to nagios-plugins-disk-2.2.1-17.20190829gitfb792ff.el7.x86_64 there. Version-Release number of selected component (if applicable): nagios-plugins-disk-2.2.1-17.20190829gitfb792ff.el6.x86_64 nagios-plugins-disk-2.2.1-17.20190829gitfb792ff.el7.x86_64 How reproducible: always Steps to Reproduce: 1. Run /usr/lib64/nagios/plugins/check_disk -w 20% -c 10% Actual results: Output has multiple dfree_units lines at start. Expected results: Output begins with DISK OK and stats. Additional info: Tested on CentOS 6 and 7 with epel.
I am closing this as a duplicate of 1752219. That one has a patch for this which should fix the issue and I will try to roll out this week. *** This bug has been marked as a duplicate of bug 1752219 ***