Closed grem11n closed 7 years ago
I'm seeing this same issue on Ubuntu 16.04 and 14.04.
My systems are using sensu embedded Ruby.
Note that taking off the result portion returns success:
$ /opt/sensu/embedded/bin/check-dns.rb -s 8.8.8.8 -d google.com
DNS OK: Resolved google.com A
Here is the diff of 1.1.0 and 1.2.0: https://github.com/sensu-plugins/sensu-plugins-dns/compare/1.1.0...1.2.0 When I have some time tonight I will try to look into it if someone has not.
@grem11n @Qsick can you please validate the hotfix works for you?
@majormoses 1.2.1 is working properly for my configuration. Thanks for the quick fix.
no problem, this is why we want to start adding testing to catch these regressions...
@majormoses I can confirm, that version 1.2.1 works on Ubuntu 12.04 i386 as well Thank you for fixing this bug!
Encountered an issue with version 1.2.0 of this plugin:
Check results with 1.2.0:
Output of 1.1.0 version of this plugin:
Some debug information:
I haven't dig into diff between versions 1.1.0 and 1.2.0, though. My environment:
Ruby version:
Gem version:
OS: Ubuntu 12.04 i386 Kernel: 3.2.0-55-virtual
This host is pretty old and support term for 12.04 have already ended. So, if this issue is related to an outdated environment, please, advise and close this issue.
Thanks!