Description of problem: I upgraded to the latest set of Nagios plugins from CentOS 7's EPEL repo, which included an update to the nagios-plugins-dns plugin. This broke all DNS lookups by that plugin. Version-Release number of selected component (if applicable): 2.2.2-2.20190926git1b8ad57.el7.x86_64 How reproducible: Always. Steps to Reproduce: 1. Upgrade all your nagios-plugins* EPEL packages to the latest 2.2.2 release on CentOS 7, including the nagios-plugins-dns package. Actual results: False Nagios alerts occur immediately, which can be reproduced with this command: /usr/lib64/nagios/plugins/check_dns -H 127.0.0.1 which incorrectly outputs: NS CRITICAL - query type of -querytype=A was not found for 127.0.0.1 Expected results: DNS OK: 0.019 seconds response time. 127.0.0.1 returns name = localhost.|time=0.018578s;;;0.000000 I can get this correct output by reverting the nagios-plugins* plugins to their 2.2.1 release versions. Additional info: The Nagios support forum had a user reporting the same issue: https://support.nagios.com/forum/viewtopic.php?f=7&t=55675
Argh. They seem to have made -H only an A record query so ip address are not going to work. Moving back to the version in 2.2.1 while that works has a whole heap of broken Ipv6 and some other problems.
OK nagios-2.3.1 is out and we will see how that goes. If it is also broken it will need to be opened upstream
FEDORA-EPEL-2019-a181371b74 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-a181371b74
nagios-plugins-2.3.1-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-a181371b74
nagios-plugins-2.3.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.