All MIBs › NET-SNMP-PASS-MIB › netSnmpPassString
netSnmpPassString
Module: NET-SNMP-PASS-MIB
OID (symbolic): NET-SNMP-PASS-MIB::netSnmpPassString
OID (numeric): 1.3.6.1.4.1.8072.2.255.1
Node type: OBJECT-TYPE
Type: SnmpAdminString
Access: read-write
Description: Example string scalar object.
What is netSnmpPassString?
This read-write scalar is a demonstration string object provided by the NET-SNMP-PASS example module, used to test the "pass" and "pass-persist" SNMP agent extension script mechanisms. Because this MIB exists purely as a worked example for developers writing extension scripts, an admin would read or write it to confirm their custom script correctly serves and accepts string values. For example, it defaults to the placeholder text "Life, the Universe, and Everything" until a real pass script is configured to return actual data at this OID.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8072.2.255.1 snmpwalk -v2c -c public <target> NET-SNMP-PASS-MIB::netSnmpPassString
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.8072.2.255.1.1 snmpget -v2c -c public <target> NET-SNMP-PASS-MIB::netSnmpPassString.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.8072.2.255.1.1 s <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::netSnmpPassString 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.1 | netSnmpPassString | NET-SNMP-PASS-MIB |