syslogTimestampType
QTECH-GBNPlatformOAMSyslog-MIB ·
.1.3.6.1.4.1.27514.1.2.1.1.9.3
Object
scalar r/w
Enumeration
set timestamp type shown in output messages. notime: not show timestamp; uptime: show elapse time as timestamp; datetime: show datetime as timestamp.
Context
- MIB
- QTECH-GBNPlatformOAMSyslog-MIB
- OID
.1.3.6.1.4.1.27514.1.2.1.1.9.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- gbnPlatformOAMSyslog
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 'QTECH-GBNPlatformOAMSyslog-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-GBNPlatformOAMSyslog-MIB::syslogTimestampType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-GBNPlatformOAMSyslog-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-GBNPlatformOAMSyslog-MIB::syslogTimestampType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | notime |
2 | uptime |
3 | datetime |