{"id":134,"date":"2009-10-05T00:18:37","date_gmt":"2009-10-05T05:18:37","guid":{"rendered":"http:\/\/somethingdoug.com\/thoughts\/?p=134"},"modified":"2009-10-05T00:18:37","modified_gmt":"2009-10-05T05:18:37","slug":"nagiospluginoverhttp-0-11","status":"publish","type":"post","link":"https:\/\/somethingdoug.com\/thoughts\/2009\/10\/05\/nagiospluginoverhttp-0-11\/","title":{"rendered":"Nagios::Plugin::OverHTTP 0.11"},"content":{"rendered":"<p>A new release of <a href=\"http:\/\/search.cpan.org\/dist\/Nagios-Plugin-OverHTTP\/\">Nagios::Plugin::OverHTTP<\/a> was just pushed to the CPAN. This release brings no new features, but does change what is installed. The <code>check_over_http<\/code> script is now no longer automatically installed to the bin. Also when trying to get the plugin to work under <a href=\"http:\/\/nagios.sourceforge.net\/docs\/3_0\/embeddedperl.html\">ePN<\/a> in Nagios, I discovered that if some spaces are at the end of the command line arguments, there is an <code>undef<\/code> loaded into the <code>@ARGV<\/code> variable which makes <a href=\"http:\/\/search.cpan.org\/perldoc?Getopt::Long\">Getopt::Long<\/a> give a warning, which then causes ePN to abort the plugin. I added some code into the <code>check_over_http<\/code> plugin distributed with my package that will work around this issue and adds a comment to tell Nagios to load the plugin under ePN. May the new plugin bring you faster service checks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A new release of Nagios::Plugin::OverHTTP was just pushed to the CPAN. This release brings no new features, but does change what is installed. The check_over_http script is now no longer automatically installed to the bin. Also when trying to get the plugin to work under ePN in Nagios, I discovered that if some spaces are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[12,27,19],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-perl","tag-cpan","tag-perl","tag-perl5"],"_links":{"self":[{"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":2,"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":136,"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/posts\/134\/revisions\/136"}],"wp:attachment":[{"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/categories?post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/somethingdoug.com\/thoughts\/wp-json\/wp\/v2\/tags?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}