wrsLeapSecSource
WR-SWITCH-MIB ·
.1.3.6.1.4.1.96.100.7.1.1.8
Object
scalar Enumeration
Source leap second file (leap-seconds.list)
local - The local file is used
tryRemote - Try to download the file, if it fails
do not propagate error
forceRemote - Try to download the file, if it fails
the error is propagated
errorMinor - cannot read the status file, problem is probably somewhere
else
Context
- MIB
- WR-SWITCH-MIB
- OID
.1.3.6.1.4.1.96.100.7.1.1.8- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- wrsCurrentTimeGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'WR-SWITCH-MIB' -M '/opt/observium/mibs/white-rabbit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WR-SWITCH-MIB::wrsLeapSecSource.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WR-SWITCH-MIB' -M '/opt/observium/mibs/white-rabbit:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WR-SWITCH-MIB::wrsLeapSecSource'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | na |
1 | error |
2 | errorMinor |
3 | local |
4 | tryRemote |
5 | forceRemote |