emsAlarmDeviceControlDeviceCommand
PowerNet-MIB ·
.1.3.6.1.4.1.318.1.1.10.3.5.1.1.3
Object
column mandatory
r/w
Enumeration
Getting this variable will return the device state. If
the device is active, the alarmDeviceOnEMS (1) value will be returned.
If the device is inactive, the alarmDeviceOffEMS (2) value will be
returned. If the device is not installed, the
alarmDeviceNotInstalledEMS (3) value will be returned.
Actions resulting from setting this variable are device-dependent.
Setting this variable to alarmDeviceOnEMS (1) will turn that device (ex. Beacon) on.
Setting this variable to alarmDeviceOffEMS (2) will turn that device off.
Context
- MIB
- PowerNet-MIB
- OID
.1.3.6.1.4.1.318.1.1.10.3.5.1.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- emsAlarmDeviceControlEntry
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 'PowerNet-MIB' -M '/opt/observium/mibs/apc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PowerNet-MIB::emsAlarmDeviceControlDeviceCommand'
More examples
Read one indexed 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::emsAlarmDeviceControlDeviceCommand.<emsAlarmDeviceControlDeviceIndex>'
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::emsAlarmDeviceControlDeviceCommand'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | alarmDeviceOnEMS |
2 | alarmDeviceOffEMS |
3 | alarmDeviceNotInstalledEMS |