Sha256: 83e5d029ceeae195dbba77570cc49919c179b1c70268df558204f935994aefa2
Contents?: true
Size: 200 Bytes
Versions: 17
Compression:
Stored size: 200 Bytes
Contents
require 'snmp' host = ARGV[0] || 'localhost' manager = SNMP::Manager.new(:Host => host, :Port => 161) response = manager.get(["sysDescr.0", "sysName.0"]) response.each_varbind { |vb| puts vb.to_s }
Version data entries
17 entries across 17 versions & 1 rubygems