Sha256: 5b8547478d067dc93ed6d038de78a43a03f58fa3f379ab1388f00ebd07c8ce5f

Contents?: true

Size: 183 Bytes

Versions: 12

Compression:

Stored size: 183 Bytes

Contents

#!/usr/bin/ruby
require 'json'
$LOAD_PATH << File.join(__dir__, '..', 'lib')
require 'snmp/open'

host = ARGV.fetch(0)
oids = ARGV[1..-1]
jj SNMP::Open.new(host: host).get(oids).to_a

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
snmp-open-0.8.0 bin/get
snmp-open-0.7.1 bin/get
snmp-open-0.7.0 bin/get
snmp-open-0.6.1 bin/get
snmp-open-0.6.0 bin/get
snmp-open-0.5.0 bin/get
snmp-open-0.4.0 bin/get
snmp-open-0.3.1 bin/get
snmp-open-0.3.0 bin/get
snmp-open-0.2.0 bin/get
snmp-open-0.1.5 bin/get
snmp-open-0.1.4 bin/get