Reference Guide

Table Of Contents
testtrap
Description Tests the RACs SNMP trap alerting feature by sending a test trap from iDRAC to a specified destination
trap listener on the network.
To run this subcommand, you must have the Test Alert permission.
NOTE:
Before you run the testtrap subcommand, make sure that the specified index in the RACADM
iDRAC.SNMP.Alert group is configured properly.
The indices of testtrap subcommand is co-related to the indices of iDRAC.SNMP.Alert group.
Synopsis
racadm testtrap -i <index>
Input -i <index> Specifies the index of the trap configuration that must be used for the test. Valid values
are from 1 to 4.
Example
Enable the alert.
racadm set idrac.emailalert.1.CustomMsg 1
racadm set iDRAC.SNMP.Alert.1.Enable 1
Set the destination email IP address.
racadm set iDRAC.SNMP.Alert.1.DestIpAddr
192.168.0
View the current test trap settings.
racadm get iDRAC.SNMP.Alert.<index>
where <index> is a number from 1 to 8
testalert
Description
Tests FQDN supported SNMP trap notifications.
To run this subcommand, you must have the Test Alert User Access.
Synopsis
racadm testalert -i <index>
Input -i Specifies the index of the trap test. index must be an integer from 1 to 8 on iDRAC.
Output
Success: Test trap sent successfully
Failure: Unable to send test trap
Example
Test a trap with index as 1.
racadm testalert -i 1
Test trap sent successfully.
RACADM Subcommand Details 105