gpsFault1Status

NINJA-MIB · .1.3.6.1.4.1.13827.17.2.2

Object

scalar Bits
This is a bit string contained in one character representing the
most significant two nibbles 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 7:    GPS Antenna is Shorted.
Bit 6:    GPS Antenna is Open.
Bit 5:    System Oscillator PLL Fault.
Bit 4:    NTP Polling Fault.
Bit 3:    GPS Receiver Communication Fault.
Bit 2:    Not Used.
Bit 1:    Not Used.
Bit 0:    Not Used..
          
ATTENTION:  This object should not be used in snmpget queries
due to a defect in reporting for one specific combination of bits.  It
is in this MIB for use with the gpsTrapFault1StatusChange object,
where it reports accurately.
          
Use the gpsFaultNibble2Status and gpsFaultNibble3Status objects
for querying via snmpget.

Context

MIB
NINJA-MIB
OID
.1.3.6.1.4.1.13827.17.2.2
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::gpsFault1Status.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::gpsFault1Status'

Syntax

Bits

Values & Constraints

Enumerated Values
0gpsNotUsed0
1gpsNotUsed1
2gpsNotUsed2
3gpsReceiverCommFlt
4gpsNTPNotPolling
5gpsOscPLLFlt
6gpsAntennaOpen
7gpsAntennaShort