powerStatus
ATEN-IPMI-MIB ·
.1.3.6.1.4.1.21317.1.4
Object
scalar r/w
Enumeration
Get and set the power status of system. Set case: 0 : power off 1 : power on 2 : power reset
Context
- MIB
- ATEN-IPMI-MIB
- OID
.1.3.6.1.4.1.21317.1.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ipmi
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 'ATEN-IPMI-MIB' -M '/opt/observium/mibs/aten:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ATEN-IPMI-MIB::powerStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ATEN-IPMI-MIB' -M '/opt/observium/mibs/aten:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ATEN-IPMI-MIB::powerStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | poweroff |
1 | poweron |