All MIBs › OPENBSD-PF-MIB › pfLabelNumber
pfLabelNumber
Module: OPENBSD-PF-MIB
OID (symbolic): OPENBSD-PF-MIB::pfLabelNumber
OID (numeric): 1.3.6.1.4.1.30155.1.10.1
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: The number of labels in the active pf ruleset.
What is pfLabelNumber?
The total count of rule labels currently defined in the active pf ruleset. Rules get labels (via 'label' in pf.conf) so their hit statistics can be tracked individually; this is the expected row count when walking pfLabelTable.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.30155.1.10.1 snmpwalk -v2c -c public <target> OPENBSD-PF-MIB::pfLabelNumber
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.30155.1.10.1.1 snmpget -v2c -c public <target> OPENBSD-PF-MIB::pfLabelNumber.1
Start monitoring OpenBSD firewall/router host (pf packet filter statistics) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the OPENBSD-PF-MIB::pfLabelNumber OID value, configure state conditions and alerts, and monitor any OpenBSD firewall/router host (pf packet filter statistics) 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.30155 | openBSD | OPENBSD-BASE-MIB |
| 1.3.6.1.4.1.30155.1 | pfMIBObjects | OPENBSD-BASE-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.30155.1.10 | pfLabels | OPENBSD-PF-MIB |
| 1.3.6.1.4.1.30155.1.10.1 | pfLabelNumber | OPENBSD-PF-MIB |