Sha256: deca047d2d8db79fc04e5d4928235920d2a7a65f60900d771675de9d4eb5d201
Contents?: true
Size: 625 Bytes
Versions: 4
Compression:
Stored size: 625 Bytes
Contents
require 'snmpjr/wrappers/snmp4j' require 'snmpjr/wrappers/smi' require 'snmpjr/version' class Snmpjr class TargetV3 def create configuration target = Snmpjr::Wrappers::UserTarget.new target.address = Snmpjr::Wrappers::SMI::GenericAddress.parse("udp:#{configuration.host}/#{configuration.port}") target.security_name = Snmpjr::Wrappers::SMI::OctetString.new(configuration.user) target.version = Snmpjr::Version::V3 target.retries = configuration.retries target.timeout = configuration.timeout target.security_level = configuration.security_level target end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
snmpjr-0.3.3-java | lib/snmpjr/target_v3.rb |
snmpjr-0.3.2-java | lib/snmpjr/target_v3.rb |
snmpjr-0.3.1-java | lib/snmpjr/target_v3.rb |
snmpjr-0.3.0-java | lib/snmpjr/target_v3.rb |