snNTPSystemClock
HP-SN-SWITCH-GROUP-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.1.3.11.1.4
Object
scalar r/w
OctetString
System clock, in the following format: octet 0: seconds after the minute [0-60] octet 1: minutes after the hour [0-59] octet 2: hours since midnight [0-23] octet 3: day of the month [1-31] octet 4: months since January [0-11] octet 5: years since 1900 octet 6: days since Sunday [0-6] Setting this object requires valid value in octets 0 to 5, and zero in octet 6. System clock can be disabled by setting zero to all octets.
Context
- MIB
- HP-SN-SWITCH-GROUP-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.3.11.1.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snNTPGeneral
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 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-SWITCH-GROUP-MIB::snNTPSystemClock.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-SWITCH-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-SWITCH-GROUP-MIB::snNTPSystemClock'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 7-7