Description of problem: check_dns plugin does not correctly handle --querytype=AAAA Version-Release number of selected component (if applicable): nagios-plugins-dns-2.2.1-9.fc27.x86_64 How reproducible: Every time Steps to Reproduce: /usr/lib64/nagios/plugins/check_dns -v --hostname=ipv6-test.com --expected-address=2001:41d0:8:e8ad::1 --querytype=AAAA Actual results: -------------- /usr/bin/nslookup -sil -querytype=AAAA ipv6-test.com Server: 2a02:8010:60ad:fade:1e87:2cff:fe5d:ef16 Address: 2a02:8010:60ad:fade:1e87:2cff:fe5d:ef16#53 Non-authoritative answer: Name: ipv6-test.com Address: 2001:41d0:8:e8ad::1 Found A record Failed query for -querytype=AAAA only found -querytype=A , or nothing DNS CRITICAL - query type of -querytype=AAAA was not found for ipv6-test.com -------------- Expected results: Successful check Additional info: It appears to be interpreting the ipv6 address as an ipv4 one.
I looked at an earlier report about this, and the order of arguments in the testing rule returned differing results. I will dig through my notes
Hmmm, that's vaguely familiar from some years ago. I can't replicate it at the moment though - I get the same result regardless of argument ordering.
So the release I was expecting still has not happened so I am updating the tree to the latest maintenance branch.
nagios-plugins-2.2.1-14.20180725git3429dad.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e9863b9c35
nagios-plugins-2.2.1-14.20180725git3429dad.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-c191412de6
nagios-plugins-2.2.1-14.20180725git3429dad.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-ef3a8e1152
nagios-plugins-2.2.1-14.20180725git3429dad.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-2018-ef3a8e1152
nagios-plugins-2.2.1-14.20180725git3429dad.el6 has been pushed to the Fedora EPEL 6 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-2018-c191412de6
nagios-plugins-2.2.1-14.20180725git3429dad.fc28 has been pushed to the Fedora 28 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-2018-e9863b9c35
Any chance of an f27 version?
This seems to be fixed upstream by https://github.com/nagios-plugins/nagios-plugins/pull/398 (not yet merged).
At the moment, I will wait for upstream to merge the plugin. The last out-out-band patches I put in leaked horribly in 'fixing' things
nagios-plugins-2.2.1-14.20180725git3429dad.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a23e2a2eed
nagios-plugins-2.2.1-14.20180725git3429dad.fc27 has been pushed to the Fedora 27 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-2018-a23e2a2eed
Thanks for the F27 update. Just to confirm, this update (as expected, since the fix isn't merged upstream) does not fix the problem.
This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
nagios-plugins-2.2.1-15.20180725git3429dad.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-732d31ad86
nagios-plugins-2.2.1-15.20180725git3429dad.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
Reopened - not fixed on F29.
nagios-plugins-2.2.1-15.20180725git3429dad.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-7bf33722b6
nagios-plugins-2.2.1-15.20180725git3429dad.el6 has been pushed to the Fedora EPEL 6 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-7bf33722b6
nagios-plugins-2.2.1-15.20180725git3429dad.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
Reopening, looks like the automation closed it in error.
I am updating this in F31 which will go into beta. It is still not clear if upstream has fixed the problem or not.
The fix I mentioned in comment 11 has now been merged upstream.
FEDORA-2019-b7dcd3e71b has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b7dcd3e71b
nagios-plugins-2.2.1-17.20190829gitfb792ff.fc31 has been pushed to the Fedora 31 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-2019-b7dcd3e71b
Is there any chance of an f29 version too?
I did not want to do F29 since it is 2 months til EOL and I have only have so many hours to try and track down specific problems. I have EL6, EL7, EL8, F31 and F32 to try and 'fix' as best I can. That said, I will see if it builds cleanly this weekend and give you a scratch build to test. That way I don't put something in F29 testing which ends up breaking people.
I have started https://koji.fedoraproject.org/koji/taskinfo?taskID=37365240 which is a scratch build of the same packages. It seemed to compile fine.. but I have no way to test. Please let me know how it works and we can move forward.
Thanks! I will test this weekend and report back.
I've installed: nagios-plugins-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-disk-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-dns-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-http-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-ide_smart-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-ifstatus-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-load-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-log-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-mailq-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-ntp-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-perl-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-ping-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-procs-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-sensors-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-smtp-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-ssh-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-swap-2.2.1-17.20190829gitfb792ff.fc29.x86_64 nagios-plugins-tcp-2.2.1-17.20190829gitfb792ff.fc29.x86_64 This bug is fixed and all of the other packages still work for my existing Nagios checks, without apparent problems.
nagios-plugins-2.2.1-17.20190829gitfb792ff.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.