pfHostid
OPENBSD-PF-MIB ·
.1.3.6.1.4.1.30155.1.1.4
Object
scalar OctetString
The (unique) host id of the machine running pf.
Context
- MIB
- OPENBSD-PF-MIB
- OID
.1.3.6.1.4.1.30155.1.1.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- pfInfo
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPENBSD-PF-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPENBSD-PF-MIB::pfHostid.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPENBSD-PF-MIB' -M '/opt/observium/mibs/unix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPENBSD-PF-MIB::pfHostid'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.