hwSiteTime
EMAP-MIB ·
.1.3.6.1.4.1.2011.6.164.1.1.1.13
Object
scalar r/w
OctetString
Set Site date and time, YYYY-MM-DD HH:MM:SS
Context
- MIB
- EMAP-MIB
- OID
.1.3.6.1.4.1.2011.6.164.1.1.1.13- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwSiteSummary
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 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMAP-MIB::hwSiteTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EMAP-MIB::hwSiteTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64