serverPowerControlOperation

PDU2-MIB · .1.3.6.1.4.1.13742.6.4.12.1.1.1

Object

Reading the variable returns the current power state of the server. Writing
on(1) or off(2) results in a power control operation, switching the configured
power target on or initiating a graceful shutdown. Writing any other value
results in an error.

Context

MIB
PDU2-MIB
OID
.1.3.6.1.4.1.13742.6.4.12.1.1.1
Type
column
Access
readwrite
Status
current
Parent
serverPowerControlEntry
Groups
1

Walk 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 'PDU2-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDU2-MIB::serverPowerControlOperation'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PDU2-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDU2-MIB::serverPowerControlOperation.<pduId>.<serverID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PDU2-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PDU2-MIB::serverPowerControlOperation'

Syntax

Values & Constraints

Type Values
0unknown
1on
2off
3shuttingDown

Conformance

Member of