How to configure iDRAC7 Alerts Actions via OME

How to configure iDRAC7 Alerts Actions via OME
1) Determine what alert categories and severities to configure from available options described in
the eventfilters section (pg 38-40) of the RACADM Command Line Reference Guide for iDRAC7
2) The following example will configure all Critical and Warning alerts from the System and Storage
category to generate SNMP alerts.
First create a batch file with the following lines (or different lines depending on requirements)
racadm -r %1 -u %2 -p %3 eventfilters set -c idrac.alert.system.critical -a none -n snmp
racadm -r %1 -u %2 -p %3 eventfilters set -c idrac.alert.system.warning -a none -n snmp
racadm -r %1 -u %2 -p %3 eventfilters set -c idrac.alert.storage.critical -a none -n snmp
racadm -r %1 -u %2 -p %3 eventfilters set -c idrac.alert.storage.warning -a none -n snmp
3) Name this file SNMP.bat and copy it to your OME Server under C:\Dell (or any other location)
4) Create a new Command Line Task in OME. Select an appropriate Name and choose Generic
Command. Configure the Task as described below:
General Tab
Command: c:\dell\snmp.bat
Arguments: $RAC_IP $USERNAME $PASSWORD
For logs, check Output to file and Append then set location to c:\dell\SNMP_LOG.txt
Enter iDRAC username and password in the Credentials area which appropriate access (ie. root)
Task Target Tab
Select all iDRACs that need to be configured
Schedule and Credentials Tab
Select Run Now and enter credentials needed to access the SNMP batch file on the OME Server.
Click Finish to begin the SNMP Alert setting task.
5) As mentioned, example task will only set the Critical and Warning alerts in the System and
Storage categories to trigger an SNMP trap.
6) Once created, the task can be Right Clicked to run it again in the future.
Simply choose Run from the right click menu
When Run is selected, it will prompt for two sets of credentials.
Enter domain credentials that have access to the SNMP batch file on the OME server and the
iDRAC credentials that has access to set the SNMP alert actions (ie. root)