upsTimegen

GESINGLEUPS-MIB · .1.3.6.1.4.1.818.1.1.10.10.20

Object

The current timestamp (or real-time) of the UPS. For the format, 
see 'Timestamp' specifications. The write-command has to comply with the 
correct timestamp format expected by the UPS (counter value or real-time-clock 
value). Missing to doing so will result in a SNMPgenERROR, 
meaning 'command not supported'. It is possible to know which is the timestamp 
format supported by the UPS, by issuing a read-command or by reading events, 
which includes timestamps.

Context

MIB
GESINGLEUPS-MIB
OID
.1.3.6.1.4.1.818.1.1.10.10.20
Type
scalar
Access
readwrite
Status
current
Parent
upsGetSetgen

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GESINGLEUPS-MIB' -M '/opt/observium/mibs/ge:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GESINGLEUPS-MIB::upsTimegen.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GESINGLEUPS-MIB' -M '/opt/observium/mibs/ge:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GESINGLEUPS-MIB::upsTimegen'

Syntax

Source
NonNegativeInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: 0..2147483647