ospfAdminStat

OBS ✓
OSPF-MIB · .1.3.6.1.2.1.14.1.2

Object

scalar r/w Status
The administrative status of OSPF in the
router.  The value 'enabled' denotes that the
OSPF Process is active on at least one interface;
'disabled' disables it on all interfaces.
          
This object is persistent and when written
the entity SHOULD save the change to non-volatile storage.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Routing
Explore Observium network monitoring

Context

MIB
OSPF-MIB
OID
.1.3.6.1.2.1.14.1.2
Type
scalar
Access
readwrite
Status
current
Parent
ospfGeneralGroup
Groups
2

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OSPF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OSPF-MIB::ospfAdminStat.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OSPF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OSPF-MIB::ospfAdminStat'

Syntax

Source
Status
Base type
Enumeration

Values & Constraints

Type Values
1enabled
2disabled