zxAnClockSrcSwitchReason

ZTE-AN-CLOCK-MIB · .1.3.6.1.4.1.3902.1082.120.10.1.9

Object

clock source switch reason:
1,  CLOCKSOURCE_SWITCH_ABMNORMAL,
2,  CLOCKSOURCE_SWITCH_S1CHANGE,
3,  CLOCKSOURCE_SWITCH_ALMCHANGE,
4,  CLOCKSOURCE_SWITCH_PRICHANGE,
5,  CLOCKSOURCE_SWITCH_OUTOFLOCK,
6,  CLOCKSOURCE_SWITCH_DEGRADE,
7,  LOCKSOURCE_SWITCH_PLLFAIL,
8,  CLOCKSOURCE_SWITCH_PRELOCKFAIL,
9,  CLOCKSOURCE_SWITCH_HOLDOVESTOP,
10, CLOCKSOURCE_SWITCH_LOADCFG,
11, CLOCKSOURCE_SWITCH_ALMRESTORE,
12, CLOCKSOURCE_SWITCH_PROTECT,
13, CLOCKSOURCE_SWITCH_PROTECT_CANCEL,
14, CLOCKSOURCE_SWITCH_BACKUP_PLLFAIL,

Context

MIB
ZTE-AN-CLOCK-MIB
OID
.1.3.6.1.4.1.3902.1082.120.10.1.9
Type
scalar
Access
readonly
Status
current
Parent
zxAnClockGlobalObjects
Groups
1

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Conformance