sensu/sensu-community-plugins — pull request #364 by jerius (2013-11-26 15:29:52+00:00)
Title: Rescue `no route to host` errors for check-banner plugin

Rescues an additional error for this plugin to keep the chat channel a little less messy when things break.

Before:

my-sensu-server.tld/a-banner-host-check: CheckBanner CRITICAL: Check failed to run: No route to host - connect(2), /etc/sensu/plugins/check-banner.rb:53:in `initialize'/etc/sensu/plugins/check-banner.rb:53:in `new'/etc/sensu/plugins/check-banner.rb:53:in `get_banner'/etc/sensu/plugins/check-banner.rb:66:in `run'/usr/lib/ruby/gems/1.8/gems/sensu-plugin-0.1.7/lib/sensu-plugin/cli.rb:56/etc/sensu/plugins/check-banner.rb:65

After:

my-sensu-server.tld/a-banner-host-check: CheckBanner CRITICAL: Check failed to run: No route to host