spClockTimezoneSetting
CME-MIB ·
.1.3.6.1.4.1.2.3.51.2.4.4.2
Object
scalar mandatory
r/w
OctetString
MM clock Greenwich Mean Time(GMT) offset and Daylight Saving Time(DST)
settings.
For write, the value must be a time zone listed in spClockTimezoneTable.
The spClockTimezoneTable lists all valid time zones.
Example:
To set America's New York time zone, set the value to: 'America/New_York'
For read, the value format is <offset>,<DST flag>,<time zone> (<comment>)
Example: -4:00,yes,America/New_York (Eastern Time)
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 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CME-MIB::spClockTimezoneSetting.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CME-MIB::spClockTimezoneSetting'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.