Oracle EDR InfiniBand Switch and Virtualized I/O Systems Administration Guide

Exit Print View

Updated: November 2016
 
 

Enable an Alert to Send SNMP Traps (Oracle ILOM CLI)

Alerts are sent when conditions in the switch match an alert level that you create by editing a preconfigured rule already on the switch. Part of configuring the rule is specifying the alert level, and also, specifying the alert type, which can be an SNMP trap. When an alert of the specified level or greater occurs, the switch then sends an SNMP trap. By default, alerts are disabled.

Use this task to configure the switch to send a trap when an alert occurs.

  • Type:
    -> set /SP/alertmgmt/rules/alert/ destination=IP_address destination_port=162 level=level snmp_version=version
    

    where:

    • alert is the number of the alert.

    • IP_address is the IP address of the host to receive the SNMP trap.

    • level is the level of the alert.

    • version is the version of SNMP trap.

    For example, to set alert 1 to send v2c SNMP traps on occurrence of minor or higher severity events to the host at 123.45.67.89, type:

    -> set /SP/alertmgmt/rules/1/ destination=123.45.67.89 destination_port=162 level=minor snmp_version=3
    Set 'destination' to '123.45.67.89'
    Set 'destination_port' to '162'
    Set 'level' to 'minor'
    Set 'snmp_version' to '3'
    ->
    

    Note -  The destination port of 162 is the default.

    This is an example of an SNMP v2c trap of when the aggregate sensor is in the state of Asserted. In the output, the trap source is the switch, and the component raising the trap is /SYS/CHASSIS_STATUS or the aggregate sensor.

    Sep 25 10:18:08 mnm-blr-9 snmptrapd[3579]: [ID 702911 daemon.warning] mnm-blr-60.in.oracle.com [123.45.67.90]: Trap
    DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2814848) 7:49:08.48, SNMPv2-MIB::snmpTrapOID.0 = OID: 
    SUN-HW-TRAP-MIB::sunHwTrapComponentError, SUN-HW-TRAP-MIB::sunHwTrapSystemIdentifier.0 = STRING: 123.45.67.90, 
    SUN-HW-TRAP-MIB::sunHwTrapChassisId.0 = STRING: AK00022680, SUN-HW-TRAP-MIB::sunHwTrapProductName.0 = STRING: Oracle  
    IS2-46 InfiniBand Switch, SUN-HW-TRAP-MIB::sunHwTrapComponentName.0 = STRING: /SYS/CHASSIS_STATUS, 
    SUN-HW-TRAP-MIB::sunHwTrapAdditionalInfo.0 = STRING: State Asserted, SUN-HW-TRAP-MIB::sunHwTrapAssocObjectId.0 = OID: 
    ENTITY-MIB::entPhysicalDescr.37
    

Related Information