bin/check-snmp.rb in sensu-plugins-snmp-1.1.0 vs bin/check-snmp.rb in sensu-plugins-snmp-2.0.0
- old
+ new
@@ -29,10 +29,11 @@
option :host,
short: '-h host',
default: '127.0.0.1'
option :port,
- short: '-p port',
+ short: '-P port',
+ long: '--port PORT',
default: '161'
option :community,
short: '-C snmp community',
default: 'public'