upsAdvTestDiagnosticDay
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.1.7.2.9
Object
scalar mandatory
r/w
Enumeration
The day of the week to perform automatic battery test.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.1.7.2.9- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- upsAdvTest
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::upsAdvTestDiagnosticDay.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PowerNet-MIB::upsAdvTestDiagnosticDay'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | monday |
2 | tuesday |
3 | wednesday |
4 | thursday |
5 | friday |
6 | saturday |
7 | sunday |