statusUPS
SNR-ERD-Project ·
.1.3.6.1.4.1.40418.2.7.11.1.1
Object
scalar Enumeration
UPS status
Context
- MIB
- SNR-ERD-Project
- OID
.1.3.6.1.4.1.40418.2.7.11.1.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- upsStatus
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 'SNR-ERD-Project' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNR-ERD-Project::statusUPS.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNR-ERD-Project' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNR-ERD-Project::statusUPS'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | ok |
1 | fail |
2 | unknown |