snmptrapd Command

snmptrapd is an SNMP application that receives and logs SNMP trap and inform messages.

The following alert management rule example shows how to configure Oracle ILOM to send traps to a particular trap-receiver, such as, snmptrapd running on a server with the specified destination ip address.

-> set /SP/alertmgmt/rules/1 type=snmptrap snmp_version= v2C|v3 destination=dest_ipaddress destination_port=port_number community_or_username=name level=minor

Note:

It is important to test the alert management rule configuration to ensure the it is configured properly.

To verify traps are sent and received, type:

-> set /SP/alertmgmt/rules/n testrule=true

The following screen shows a sample output when a testalert trap is received at the management station:

SUN-HW-TRAP-MIB::sunHwTrapTestMessage.0 = STRING: