NET-SNMP-PASS-MIB :: netSnmpPassCounter

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › NET-SNMP-PASS-MIB › netSnmpPassCounter

netSnmpPassCounter

Module: NET-SNMP-PASS-MIB

OID (symbolic): NET-SNMP-PASS-MIB::netSnmpPassCounter

OID (numeric): 1.3.6.1.4.1.8072.2.255.5

Node type: OBJECT-TYPE

Type: Counter32

Access: read-only

Description: Example counter object. Note that this object will always return the value '42'.

What is netSnmpPassCounter?

This read-only scalar is a demonstration Counter32 object in the NET-SNMP-PASS example module that is hardcoded to always return the value 42. Because it never actually increments, it exists solely to show an extension script author how a Counter32-typed response should be formatted, not to represent any real traffic or event count. For example, polling this object repeatedly and always getting 42 back confirms the example agent extension is wired up correctly rather than indicating any device activity.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.8072.2.255.5
snmpwalk -v2c -c public <target> NET-SNMP-PASS-MIB::netSnmpPassCounter

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.8072.2.255.5.1
snmpget -v2c -c public <target> NET-SNMP-PASS-MIB::netSnmpPassCounter.1

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::netSnmpPassCounter 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.8072netSnmpNET-SNMP-MIB
1.3.6.1.4.1.8072.2netSnmpExamplesNET-SNMP-EXAMPLES-MIB
Numeric OIDNameModule
1.3.6.1.4.1.8072.2.255netSnmpPassExamplesNET-SNMP-PASS-MIB
1.3.6.1.4.1.8072.2.255.5netSnmpPassCounterNET-SNMP-PASS-MIB