pfRuntime

OPENBSD-PF-MIB · .1.3.6.1.4.1.30155.1.1.2

Object

scalar 1/100th of a SecondSNMPv2-SMITimeTicks
Indicates how long pf has been enabled. If pf is not
enabled, indicates how long pf has been disabled. If pf has not
been explicitly enabled or disabled since the system was booted,
the value will be 0.

Context

MIB
OPENBSD-PF-MIB
OID
.1.3.6.1.4.1.30155.1.1.2
Type
scalar
Access
readonly
Status
current
Units
1/100th of a Second
Parent
pfInfo

Scalars 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::pfRuntime.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::pfRuntime'

Syntax

1/100th of a SecondSNMPv2-SMITimeTicks
Source
SNMPv2-SMITimeTicks
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295