bin/metrics-snmp-if.rb in sensu-plugins-snmp-0.0.4 vs bin/metrics-snmp-if.rb in sensu-plugins-snmp-0.1.0
- old
+ new
@@ -116,10 +116,10 @@
long: '--low-capacity',
boolean: true,
default: false,
description: 'Use low capacity counters'
- def run # rubocop:disable all
+ def run # rubocop:disable Metrics/AbcSize
if_table_HC_columns = %w(
ifHCInOctets ifHCOutOctets
ifHCInUcastPkts ifHCOutUcastPkts
ifHCInMulticastPkts ifHCOutMulticastPkts
ifHCInBroadcastPkts ifHCOutBroadcastPkts