bin/metrics-snmp-if.rb in sensu-plugins-snmp-0.0.2 vs bin/metrics-snmp-if.rb in sensu-plugins-snmp-0.0.3
- old
+ new
@@ -39,9 +39,10 @@
def graphite_safe_name(name)
name.gsub(/\W/, '_')
end
+# Class that collects SNMP if metrics and outputs them in graphite format.
class SNMPIfStatsGraphite < Sensu::Plugin::Metric::CLI::Graphite
option :host,
short: '-h host',
boolean: true,
default: '127.0.0.1',