bin/check-snmp.rb in sensu-plugins-snmp-0.0.2 vs bin/check-snmp.rb in sensu-plugins-snmp-0.0.3
- old
+ new
@@ -20,9 +20,10 @@
# for details.
require 'sensu-plugin/check/cli'
require 'snmp'
+# Class that checks the return from querying SNMP.
class CheckSNMP < Sensu::Plugin::Check::CLI
option :host,
short: '-h host',
default: '127.0.0.1'