All MIBs › OPENBSD-PF-MIB › pfIfRules
pfIfRules
Module: OPENBSD-PF-MIB
OID (symbolic): OPENBSD-PF-MIB::pfIfRules
OID (numeric): 1.3.6.1.4.1.30155.1.8.128.1.5
Node type: OBJECT-TYPE
Type: Unsigned32
Access: read-only
Description: The number of rules which reference the interface.
What is pfIfRules?
The number of filter rules in the active ruleset that reference this specific interface. Useful for spotting interfaces with unusually complex (or unusually thin) rule coverage.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.30155.1.8.128.1.5 snmpwalk -v2c -c public <target> OPENBSD-PF-MIB::pfIfRules
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.30155.1.8.128.1.5.1 snmpget -v2c -c public <target> OPENBSD-PF-MIB::pfIfRules.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::pfIfRules 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.8 | pfInterfaces | OPENBSD-PF-MIB |
| 1.3.6.1.4.1.30155.1.8.128 | pfIfTable | OPENBSD-PF-MIB |
| 1.3.6.1.4.1.30155.1.8.128.1 | pfIfEntry | OPENBSD-PF-MIB |
| 1.3.6.1.4.1.30155.1.8.128.1.5 | pfIfRules | OPENBSD-PF-MIB |