csmDomainLastSystemSrcClkSwitchReason
RAD-Clock-MIB ·
.1.3.6.1.4.1.164.6.2.52.5.1.1.20
Object
column Enumeration
Reason of the last system source clock switch. (1) Other (2) Manual Switch Command (3) Force Switch Command (4) Invalid Clock (5) Better Clock Availability (255) Not Applicable
Context
- MIB
- RAD-Clock-MIB
- OID
.1.3.6.1.4.1.164.6.2.52.5.1.1.20- Type
- column
- Access
- readonly
- Status
- current
- Parent
- csmDomainEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'RAD-Clock-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-Clock-MIB::csmDomainLastSystemSrcClkSwitchReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-Clock-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-Clock-MIB::csmDomainLastSystemSrcClkSwitchReason.<csmDomainIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-Clock-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-Clock-MIB::csmDomainLastSystemSrcClkSwitchReason'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | manualSwitchCommand |
3 | forceSwitchCommand |
4 | invalidClock |
5 | betterClockAvailability |
255 | notApplicable |