spClockDateAndTimeSetting
BLADE-MIB ·
.1.3.6.1.4.1.2.3.51.2.4.4.1
Object
scalar mandatory
r/w
OctetString
MM clock date and time setting. A date-time specification for the local time of day. For example to set the date and time to March 4, 2001 at 06:00:00AM, set the value to:'03/04/2001,06:00:00'. field contents range _____ ________ _____ 1 month 01..12 2 separator '/' 3 day 01..31 4 separator '/' 5 year 2000..2089 6 separator ',' 7 hour 00..23 8 separator ':' 9 minutes 00..59 10 separator ':' 11 seconds 00..59
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 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLADE-MIB::spClockDateAndTimeSetting.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BLADE-MIB::spClockDateAndTimeSetting'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.