All MIBs › OPENBSD-PF-MIB › pfHostid
pfHostid
Module: OPENBSD-PF-MIB
OID (symbolic): OPENBSD-PF-MIB::pfHostid
OID (numeric): 1.3.6.1.4.1.30155.1.1.4
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-only
Description: The (unique) host id of the machine running pf.
What is pfHostid?
A unique identifier for the host running pf, used to distinguish which firewall a given state table sync or log entry came from. This matters most in failover/CARP pairs where two firewalls exchange state via pfsync and need to tell their own entries apart.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.30155.1.1.4 snmpwalk -v2c -c public <target> OPENBSD-PF-MIB::pfHostid
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.30155.1.1.4.1 snmpget -v2c -c public <target> OPENBSD-PF-MIB::pfHostid.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::pfHostid 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.1 | pfInfo | OPENBSD-PF-MIB |
| 1.3.6.1.4.1.30155.1.1.4 | pfHostid | OPENBSD-PF-MIB |