upsAdvanceTestDiagnostics
CPS-MIB ·
.1.3.6.1.4.1.3808.1.1.1.7.2.2
Object
scalar mandatory
r/w
Enumeration
UPS will do a diagnostic selftest when the variable is set to testDiagnostics(2). It is no effective to set this value to noTestDiagnostics(1).
Context
- MIB
- CPS-MIB
- OID
.1.3.6.1.4.1.3808.1.1.1.7.2.2- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- upsAdvanceTest
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 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPS-MIB::upsAdvanceTestDiagnostics.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPS-MIB::upsAdvanceTestDiagnostics'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noTestDiagnostics |
2 | testDiagnostics |