componentPowerAction
CME-MIB ·
.1.3.6.1.4.1.2.3.51.2.22.31.1.1.4
Object
column mandatory
r/w
Enumeration
Control the power state of a specific component.
none: No action, value returned for GET.
off: Power-off component.
on: Power-on component.
softoff: Shutdown OS and power-off component. This
operation is not supported on all components.
restart: Restart a component.
restartSysMgmtProcessor:
Restart a component's system management processor.
restartNMI:
Issue a NMI (Non-Maskable Interrupt) restart to
the component. This option is not supported on all
components.
NOTE: Value returned for the GET command is meaningless
for this MIB object. The componentPowerState MIB object should be
used to check the power state of the component(s)
Context
- MIB
- CME-MIB
- OID
.1.3.6.1.4.1.2.3.51.2.22.31.1.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- componentPowerEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CME-MIB::componentPowerAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CME-MIB::componentPowerAction.<componentPowerTopologyPath>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CME-MIB::componentPowerAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | none |
1 | off |
2 | on |
3 | softoff |
4 | restart |
5 | restartSysMgmtProcessor |
6 | restartNMI |