gpsFaultNibble2Status

NINJA-MIB · .1.3.6.1.4.1.13827.17.2.5

Object

scalar Bits
This is a bit string contained in one character representing the third
nibble of the GPS fault status word.  Unfortunately, SNMP numbers the bits 
in the reverse order, so that the enumerated values are backwards from the 
description contained in the User's Manual for the fault status field returned 
by the gpsstat command.  Each bit indicates a fault when set.  Currently 
defined fault states encoded in this value:
          
Bit 3:    GPS Antenna is Shorted.
Bit 2:    GPS Antenna is Open.
Bit 1:    System Oscillator PLL Fault.
Bit 0:    NTP Polling Fault.

Context

MIB
NINJA-MIB
OID
.1.3.6.1.4.1.13827.17.2.5
Type
scalar
Access
readonly
Status
current
Parent
gps

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

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

Syntax

Bits

Values & Constraints

Enumerated Values
0gpsNTPNotPolling
1gpsOscPLLFlt
2gpsAntennaOpen
3gpsAntennaShort