ospfAdminStat

RFC1253-MIB · .1.3.6.1.2.1.14.1.2

Object

scalar mandatory 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.

Context

MIB
RFC1253-MIB
OID
.1.3.6.1.2.1.14.1.2
Type
scalar
Access
readwrite
Status
mandatory
Parent
ospfGeneralGroup

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

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

Syntax

Source
Status
Base type
Enumeration

Values & Constraints

Type Values
1enabled
2disabled