Class: SNMP::VarBind
- Inherits:
-
Object
- Object
- SNMP::VarBind
- Defined in:
- lib/netdisco/snmp.rb
Instance Method Summary collapse
-
#as_ip ⇒ String
VarBind value as IP address.
-
#oid_id(root) ⇒ Array
Oid remaining after specified root oid.
Instance Method Details
#as_ip ⇒ String
Returns VarBind value as IP address.
148 149 150 |
# File 'lib/netdisco/snmp.rb', line 148 def as_ip SNMP::IpAddress.new(value).to_s end |