upsSmartTestDiagnostics
DGPUPS-MIB ·
.1.3.6.1.4.1.17420.1.1.2.7.2.2
Object
scalar mandatory
r/w
Enumeration
Setting this variable to testDiagnostics(2) causes
the UPS to perform a diagnostic self test.
Setting this value to noTestDiagnostics(1) has no
effect.
The value noTestDiagnostics(1) will always be returned
when the variable is read.
Context
- MIB
- DGPUPS-MIB
- OID
.1.3.6.1.4.1.17420.1.1.2.7.2.2- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- upsSmartTest
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 'DGPUPS-MIB' -M '/opt/observium/mibs/digipower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGPUPS-MIB::upsSmartTestDiagnostics.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGPUPS-MIB' -M '/opt/observium/mibs/digipower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGPUPS-MIB::upsSmartTestDiagnostics'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noTestDiagnostics |
2 | testDiagnostics |