All MIBs › NET-SNMP-PASS-MIB › netSnmpPassIpAddress
netSnmpPassIpAddress
Module: NET-SNMP-PASS-MIB
OID (symbolic): NET-SNMP-PASS-MIB::netSnmpPassIpAddress
OID (numeric): 1.3.6.1.4.1.8072.2.255.4
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description: Example IP Address object.
What is netSnmpPassIpAddress?
This read-write scalar is a demonstration IpAddress object in the NET-SNMP-PASS example module, used to confirm that an SNMP extension script correctly returns an IP address type. It lets a script author verify their custom pass-persist program emits properly formatted address data before connecting it to a real data source. For example, it defaults to the loopback address 127.0.0.1 until the extension script is customized to report an actual device address.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8072.2.255.4 snmpwalk -v2c -c public <target> NET-SNMP-PASS-MIB::netSnmpPassIpAddress
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.8072.2.255.4.1 snmpget -v2c -c public <target> NET-SNMP-PASS-MIB::netSnmpPassIpAddress.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.8072.2.255.4.1 a <value>
Start monitoring Linux/Unix host running Net-SNMP agent (pass/pass-persist extension example) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NET-SNMP-PASS-MIB::netSnmpPassIpAddress OID value, configure state conditions and alerts, and monitor any Linux/Unix host running Net-SNMP agent (pass/pass-persist extension example) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.8072 | netSnmp | NET-SNMP-MIB |
| 1.3.6.1.4.1.8072.2 | netSnmpExamples | NET-SNMP-EXAMPLES-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.8072.2.255 | netSnmpPassExamples | NET-SNMP-PASS-MIB |
| 1.3.6.1.4.1.8072.2.255.4 | netSnmpPassIpAddress | NET-SNMP-PASS-MIB |