SNMP Configuration of iDRAC7 Devices
This post explains the details of configuring the SNMP Credentials and Trap destination IP Address for monitoring the iDRAC7 in third party systems management consoles. The iDRAC7 enables the agent-free monitoring and capable of Out-of-Band management solution for the Dell 12G Servers. Hence with the Release of Dell 12G servers, the Dell Servers can be monitored without installing the agents like OpenManage Server Administrator in the Server and thus removing the need of an operating system to monitor the devices.
The installation and configuration of the iDRAC7 is available in support.dell.com manuals.
The user guide can be downloaded from support.dell.com: @
<ADMIN NOTE: Broken link has been removed from this post by Dell>
Configuring iDRAC7 using Web Interface
Configuring the SNMP Credentials:
Configuring iDRAC7 using RACADM
Enabling or Disabling Alerts:
To enable or disable generating alerts or event actions:
racadm config -g cfgIpmiLan -o cfgIpmiLanAlertEnable 1
Configuring IP Alert Destinations:
To configure the trap alert settings:
racadm config -g cfgIpmiPet -o cfgIpmiPetAlertEnable -i (index) (0|1)
– For IPv6 address:
racadm config -g cfgIpmiPetIpv6 -o cfgIpmiPetIpv6AlertEnable -i (index) (0|1)
where, (index) is the destination index and 0 or 1 disables or enables the trap, respectively.
For example, to enable trap with index 4, enter the following command:
racadm config -g cfgIpmiPet -o cfgIpmiPetAlertEnable -i 4 1
racadm config -g cfgIpmiPetIpv6 -o cfgIpmiPetIpv6AlertDestIPAddr -i [index] [IP-address]
where [index] is the trap destination index and [IP-address] is the destination IP address of the system that receives the platform event alerts.
racadm config -g cfgIpmiLan -o cfgIpmiPetCommunityName [name]
where [name] is the SNMP Community Name.
racadm testtrap -i [index]
where [index] is the trap destination index to test.
For more information, see the RACADM Command Line Reference Guide for iDRAC7 available at support.dell.com/manuals.
Configuring multiple iDRAC7 devices using RACADM
A powerful feature of the Racadm utility is the capability to increase efficiency by automating the configuration of RACs. The administrators can use the racadm config command to deploy the settings specified in the configuration file to replicate the settings in multiple RACs in the environment.
Creating the RAC Configuration File:
The configuration file .cfg can be created as follows:
For information about the getconfig command, see getconfig command in the RACADM Command Line Reference Guide for iDRAC7 and CMC available at support.dell.com/manuals.
Configuring SNMP Traps:
Administrators can specify the SNMP trap settings by adding lines of code similar to the following in the RAC configuration file under the cfgTraps group:
These configuration will enable SNMP traps for all RAC event alerts to be sent to the destination IP address of 192.168.1.1 using the community name “public”.
The following sample command replicates the configuration contained in the iDRAC-config.txt, RAC configuration file remotely to required IP address.
racadm -r <iDRAC IP Address> -u <idrac-username> -p <password> config -f iDRAC-config.txt
Refer to the following links:
I don't think [cfgTraps] is a valid group name on iDRAC7???
How can i get the SNMP destination IP address that is set in the GUI of an iDRAC7?
C:\racadm.exe -r $IP -u root -p MyPassword getconfig -g cfgOobSnmp
Will get some info but not the IP address that is set.
Here is more info on how to do the same thing and how to script it with some simple powershell. bradsjumpbag.blogspot.com/.../how-to-setup-all-of-your-idracs-for.html