Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

60300

August 10th, 2012 15:00

c6100 snmptrap settings via ipmitool/freeipmi

Hello,

 I am attempting to configure 60 or so Dell c6100 BMC units to send out SNMP traps on any kind of warning/error shown in the SEL, but cannot seem to get it working appropriately. I have read the PowerEdge C System management document which recommends parsing the output of "ipmitool sel list", but would prefer to have the RAC send traps (some errors may not allow access to the operating system). I understand that it will only send a generic trap out, but this will be fine.

I see that according to Dell's bmc book, PEF alerting is supported but cannot seem to get them alerting properly with ipmitool's event command. Has anyone done this previously who is able to offer any tips? I'm really pulling my hair out over this one :)

Thanks in advance!

Event to send event:

ipmitool -H xx.xx.xx.71 -U user -P pass -I lanplus event 2

Output of impitool fru:

FRU Device Description : Builtin FRU Device (ID 0)
 Chassis Type             : Unspecified
 Chassis Part Number     : �������
 Chassis Serial             :
 Board Mfg Date        : Wed May  4 00:12:00 2011
 Board Mfg             : Dell
 Board Product         : PowerEdge
 Board Serial          :
 Board Part Number     : VL14MP1616
 Product Manufacturer  : Dell
 Product Name          : C6100
 Product Part Number   : A00
 Product Version       : A00
 Product Serial        :
 Product Asset Tag     :


Here are the current config snippets:

Section PEF_Conf
    ## Possible values: Yes/No
    Enable_PEF                                    Yes
    ## Possible values: Yes/No
    Enable_PEF_Event_Messages                     Yes
    ## Possible values: Yes/No
    Enable_PEF_Startup_Delay                      Yes
    ## Possible values: Yes/No
    Enable_PEF_Alert_Startup_Delay                No
    ## Possible values: Yes/No
    Enable_Alert_Action                           Yes
    ## Possible values: Yes/No
    Enable_Power_Down_Action                      No
    ## Possible values: Yes/No
    Enable_Reset_Action                           No
    ## Possible values: Yes/No
    Enable_Power_Cycle_Action                     No
    ## Possible values: Yes/No
    Enable_OEM_Action                             Yes
    ## Possible values: Yes/No
    Enable_Diagnostic_Interrupt                   No
    ## Give value in seconds
    Startup_Delay                                 60
    ## Give value in seconds
    Alert_Startup_Delay                           10
EndSection
Section Community_String
    ## Give valid string
    Community_String                              public
EndSection
Section Lan_Alert_Destination_1
    ## Possible values: PET_Trap/OEM1/OEM2
    Alert_Destination_Type                        PET_Trap
    ## Possible values: Yes/No
    Alert_Acknowledge                             No
    ## Give valid unsigned number in seconds
    Alert_Acknowledge_Timeout                     3
    ## Give valid unsigned number
    Alert_Retries                                 3
    ## Possible values: Default/Backup
    Alert_Gateway                                 Default
    ## Give valid IP address
    Alert_IP_Address                              xx.xx.xx.20
    ## Give valid MAC address
    Alert_MAC_Address                             00:00:00:00:00:00
EndSection

......

Section Alert_Policy_1
    ## Possible values: Always_Send_To_This_Destination/Proceed_To_Next_Entry/Do_Not_Proceed_Any_More_Entries/Proceed_To_Next_Entry_Different_Channel/Proceed_To_Next_Entry_Different_Destination_Type
    Policy_Type                                   Always_Send_To_This_Destination
    ## Possible values: Yes/No
    Policy_Enabled                                Yes
    ## Give a valid number
    Policy_Number                                 1
    ## Give a valid number
    Destination_Selector                          1
    ## Give a valid number (LAN = 1)
    Channel_Number                                1
    ## Give a valid number
    Alert_String_Set_Selector                     0
    ## Possible values: Yes/No
    Event_Specific_Alert_String                   No
EndSection

......

Section Event_Filter_1
    ## Possible values: Manufacturer_Pre_Configured/Software_Configurable/Reserved1/Reserved3
    Filter_Type                                   Manufacturer_Pre_Configured
    ## Possible values: Yes/No
    Enable_Filter                                 Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Alert                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Off                 No
    ## Possible values: Yes/No
    Event_Filter_Action_Reset                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Cycle               No
    ## Possible values: Yes/No
    Event_Filter_Action_Oem                       Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Diagnostic_Interrupt      No
    ## Possible values: Yes/No
    Event_Filter_Action_Group_Control_Operation   No
    ## Give a valid number
    Alert_Policy_Number                           0
    ## Give a valid number
    Group_Control_Selector                        0
    ## Possible values: Unspecified/Monitor/Information/OK/Non_Critical/Critical/Non_Recoverable
    Event_Severity                                Unspecified
    ## Specify a hex Slave Address or Software ID from Event Message or 0xFF to Match Any
    Generator_Id_Byte_1                           0x20
    ## Specify a hex Channel Number or LUN to match or 0xFF to Match Any
    Generator_Id_Byte_2                           0x00
    ## Specify a Sensor Type, via hex or see MAN page for string options
    Sensor_Type                                   Voltage
    ## Specify a Sensor Number or 0xFF to Match Any
    Sensor_Number                                 0xFF
    ## Specify a Event/Reading Type Number or 0xFF to Match Any
    Event_Trigger                                 0xFF
    ## Give a valid number
    Event_Data1_Offset_Mask                       0x204
    ## Give a valid number
    Event_Data1_AND_Mask                          0x00
    ## Give a valid number
    Event_Data1_Compare1                          0xFF
    ## Give a valid number
    Event_Data1_Compare2                          0x00
    ## Give a valid number
    Event_Data2_AND_Mask                          0x00
    ## Give a valid number
    Event_Data2_Compare1                          0xFF
    ## Give a valid number
    Event_Data2_Compare2                          0x00
    ## Give a valid number
    Event_Data3_AND_Mask                          0x00
    ## Give a valid number
    Event_Data3_Compare1                          0xFF
    ## Give a valid number
    Event_Data3_Compare2                          0x00
EndSection

3 Posts

August 13th, 2012 14:00

Ok, I have figured it out finally. For future reference, the issue I was running into was attempting to change the existing (pre-configured) PEF table items. The basic process I took to get SNMP trapping going out from the c6100 BMC is the following:

Backup your configs using pef-config:

pef-config -D LAN_2_0 -h xx.xx.xx.71 -u user -p pass -o -n hostname-bak.pef

Create a new pef file with the correct alerting rules, destinations, community string etc..:

Section PEF_Conf
    ## Possible values: Yes/No
    Enable_PEF                                    Yes
    ## Possible values: Yes/No
    Enable_PEF_Event_Messages                     Yes
    ## Possible values: Yes/No
    Enable_PEF_Startup_Delay                      Yes
    ## Possible values: Yes/No
    Enable_PEF_Alert_Startup_Delay                No
    ## Possible values: Yes/No
    Enable_Alert_Action                           Yes
    ## Possible values: Yes/No
    Enable_Power_Down_Action                      No
    ## Possible values: Yes/No
    Enable_Reset_Action                           No
    ## Possible values: Yes/No
    Enable_Power_Cycle_Action                     No
    ## Possible values: Yes/No
    Enable_OEM_Action                             No
    ## Possible values: Yes/No
    Enable_Diagnostic_Interrupt                   No
    ## Give value in seconds
    Startup_Delay                                 60
    ## Give value in seconds
    Alert_Startup_Delay                           10
EndSection
Section Community_String
    ## Give valid string
    Community_String                              public
EndSection
Section Lan_Alert_Destination_1
    ## Possible values: PET_Trap/OEM1/OEM2
    Alert_Destination_Type                        PET_Trap
    ## Possible values: Yes/No
    Alert_Acknowledge                             No
    ## Give valid unsigned number in seconds
    Alert_Acknowledge_Timeout                     3
    ## Give valid unsigned number
    Alert_Retries                                 0
    ## Possible values: Default/Backup
    Alert_Gateway                                 Default
    ## Give valid IP address
    Alert_IP_Address                              xx.xx.xx.20
    ## Give valid MAC address
    Alert_MAC_Address                             00:00:00:00:00:00
EndSection
Section Alert_Policy_1
    ## Possible values: Always_Send_To_This_Destination/Proceed_To_Next_Entry/Do_Not_Proceed_Any_More_Entries/Proceed_To_Next_Entry_Different_Channel/Proceed_To_Next_Entry_Different_Destination_Type
    Policy_Type                                   Always_Send_To_This_Destination
    ## Possible values: Yes/No
    Policy_Enabled                                Yes
    ## Give a valid number
    Policy_Number                                 1
    ## Give a valid number
    Destination_Selector                          1
    ## Give a valid number (LAN = 1)
    Channel_Number                                1
    ## Give a valid number
    Alert_String_Set_Selector                     0
    ## Possible values: Yes/No
    Event_Specific_Alert_String                   No
EndSection

Duplicate the PEF Event_Filters 1-8 as Event_Filters 10-18. Change the Generator_Id_Byte_1 to 0xFF and the same for Byte_2. Match the Alert_Policy_Number, turn the filter on, etc., etc.

Section Event_Filter_10
    ## Possible values: Manufacturer_Pre_Configured/Software_Configurable/Reserved1/Reserved3
    Filter_Type                                   Software_Configurable
    ## Possible values: Yes/No
    Enable_Filter                                 Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Alert                     Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Off                 No
    ## Possible values: Yes/No
    Event_Filter_Action_Reset                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Cycle               No
    ## Possible values: Yes/No
    Event_Filter_Action_Oem                       No
    ## Possible values: Yes/No
    Event_Filter_Action_Diagnostic_Interrupt      No
    ## Possible values: Yes/No
    Event_Filter_Action_Group_Control_Operation   No
    ## Give a valid number
    Alert_Policy_Number                           1
    ## Give a valid number
    Group_Control_Selector                        0
    ## Possible values: Unspecified/Monitor/Information/OK/Non_Critical/Critical/Non_Recoverable
    Event_Severity                                Monitor
    ## Specify a hex Slave Address or Software ID from Event Message or 0xFF to Match Any
    Generator_Id_Byte_1                           0xFF
    ## Specify a hex Channel Number or LUN to match or 0xFF to Match Any
    Generator_Id_Byte_2                           0xFF
    ## Specify a Sensor Type, via hex or see MAN page for string options
    Sensor_Type                                   Voltage
    ## Specify a Sensor Number or 0xFF to Match Any
    Sensor_Number                                 0xFF
    ## Specify a Event/Reading Type Number or 0xFF to Match Any
    Event_Trigger                                 0xFF
    ## Give a valid number
    Event_Data1_Offset_Mask                       0x204
    ## Give a valid number
    Event_Data1_AND_Mask                          0x00
    ## Give a valid number
    Event_Data1_Compare1                          0xFF
    ## Give a valid number
    Event_Data1_Compare2                          0x00
    ## Give a valid number
    Event_Data2_AND_Mask                          0x00
    ## Give a valid number
    Event_Data2_Compare1                          0xFF
    ## Give a valid number
    Event_Data2_Compare2                          0x00
    ## Give a valid number
    Event_Data3_AND_Mask                          0x00
    ## Give a valid number
    Event_Data3_Compare1                          0xFF
    ## Give a valid number
    Event_Data3_Compare2                          0x00
EndSection
Section Event_Filter_11
    ## Possible values: Manufacturer_Pre_Configured/Software_Configurable/Reserved1/Reserved3
    Filter_Type                                   Software_Configurable
    ## Possible values: Yes/No
    Enable_Filter                                 Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Alert                     Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Off                 No
    ## Possible values: Yes/No
    Event_Filter_Action_Reset                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Cycle               No
    ## Possible values: Yes/No
    Event_Filter_Action_Oem                       No
    ## Possible values: Yes/No
    Event_Filter_Action_Diagnostic_Interrupt      No
    ## Possible values: Yes/No
    Event_Filter_Action_Group_Control_Operation   No
    ## Give a valid number
    Alert_Policy_Number                           1
    ## Give a valid number
    Group_Control_Selector                        0
    ## Possible values: Unspecified/Monitor/Information/OK/Non_Critical/Critical/Non_Recoverable
    Event_Severity                                Monitor
    ## Specify a hex Slave Address or Software ID from Event Message or 0xFF to Match Any
    Generator_Id_Byte_1                           0xFF
    ## Specify a hex Channel Number or LUN to match or 0xFF to Match Any
    Generator_Id_Byte_2                           0xFF
    ## Specify a Sensor Type, via hex or see MAN page for string options
    Sensor_Type                                   Temperature
    ## Specify a Sensor Number or 0xFF to Match Any
    Sensor_Number                                 0xFF
    ## Specify a Event/Reading Type Number or 0xFF to Match Any
    Event_Trigger                                 0xFF
    ## Give a valid number
    Event_Data1_Offset_Mask                       0x200
    ## Give a valid number
    Event_Data1_AND_Mask                          0x00
    ## Give a valid number
    Event_Data1_Compare1                          0xFF
    ## Give a valid number
    Event_Data1_Compare2                          0x00
    ## Give a valid number
    Event_Data2_AND_Mask                          0x00
    ## Give a valid number
    Event_Data2_Compare1                          0xFF
    ## Give a valid number
    Event_Data2_Compare2                          0x00
    ## Give a valid number
    Event_Data3_AND_Mask                          0x00
    ## Give a valid number
    Event_Data3_Compare1                          0xFF
    ## Give a valid number
    Event_Data3_Compare2                          0x00
EndSection
Section Event_Filter_12
    ## Possible values: Manufacturer_Pre_Configured/Software_Configurable/Reserved1/Reserved3
    Filter_Type                                   Software_Configurable
    ## Possible values: Yes/No
    Enable_Filter                                 Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Alert                     Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Off                 No
    ## Possible values: Yes/No
    Event_Filter_Action_Reset                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Cycle               No
    ## Possible values: Yes/No
    Event_Filter_Action_Oem                       No
    ## Possible values: Yes/No
    Event_Filter_Action_Diagnostic_Interrupt      No
    ## Possible values: Yes/No
    Event_Filter_Action_Group_Control_Operation   No
    ## Give a valid number
    Alert_Policy_Number                           1
    ## Give a valid number
    Group_Control_Selector                        0
    ## Possible values: Unspecified/Monitor/Information/OK/Non_Critical/Critical/Non_Recoverable
    Event_Severity                                Monitor
    ## Specify a hex Slave Address or Software ID from Event Message or 0xFF to Match Any
    Generator_Id_Byte_1                           0xFF
    ## Specify a hex Channel Number or LUN to match or 0xFF to Match Any
    Generator_Id_Byte_2                           0xFF
    ## Specify a Sensor Type, via hex or see MAN page for string options
    Sensor_Type                                   Processor
    ## Specify a Sensor Number or 0xFF to Match Any
    Sensor_Number                                 0xFF
    ## Specify a Event/Reading Type Number or 0xFF to Match Any
    Event_Trigger                                 0xFF
    ## Give a valid number
    Event_Data1_Offset_Mask                       0x12
    ## Give a valid number
    Event_Data1_AND_Mask                          0x00
    ## Give a valid number
    Event_Data1_Compare1                          0xFF
    ## Give a valid number
    Event_Data1_Compare2                          0x00
    ## Give a valid number
    Event_Data2_AND_Mask                          0x00
    ## Give a valid number
    Event_Data2_Compare1                          0xFF
    ## Give a valid number
    Event_Data2_Compare2                          0x00
    ## Give a valid number
    Event_Data3_AND_Mask                          0x00
    ## Give a valid number
    Event_Data3_Compare1                          0xFF
    ## Give a valid number
    Event_Data3_Compare2                          0x00
EndSection
Section Event_Filter_13
    ## Possible values: Manufacturer_Pre_Configured/Software_Configurable/Reserved1/Reserved3
    Filter_Type                                   Software_Configurable
    ## Possible values: Yes/No
    Enable_Filter                                 Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Alert                     Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Off                 No
    ## Possible values: Yes/No
    Event_Filter_Action_Reset                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Cycle               No
    ## Possible values: Yes/No
    Event_Filter_Action_Oem                       No
    ## Possible values: Yes/No
    Event_Filter_Action_Diagnostic_Interrupt      No
    ## Possible values: Yes/No
    Event_Filter_Action_Group_Control_Operation   No
    ## Give a valid number
    Alert_Policy_Number                           1
    ## Give a valid number
    Group_Control_Selector                        0
    ## Possible values: Unspecified/Monitor/Information/OK/Non_Critical/Critical/Non_Recoverable
    Event_Severity                                Monitor
    ## Specify a hex Slave Address or Software ID from Event Message or 0xFF to Match Any
    Generator_Id_Byte_1                           0xFF
    ## Specify a hex Channel Number or LUN to match or 0xFF to Match Any
    Generator_Id_Byte_2                           0xFF
    ## Specify a Sensor Type, via hex or see MAN page for string options
    Sensor_Type                                   Fan
    ## Specify a Sensor Number or 0xFF to Match Any
    Sensor_Number                                 0xFF
    ## Specify a Event/Reading Type Number or 0xFF to Match Any
    Event_Trigger                                 0xFF
    ## Give a valid number
    Event_Data1_Offset_Mask                       0x04
    ## Give a valid number
    Event_Data1_AND_Mask                          0x00
    ## Give a valid number
    Event_Data1_Compare1                          0xFF
    ## Give a valid number
    Event_Data1_Compare2                          0x00
    ## Give a valid number
    Event_Data2_AND_Mask                          0x00
    ## Give a valid number
    Event_Data2_Compare1                          0xFF
    ## Give a valid number
    Event_Data2_Compare2                          0x00
    ## Give a valid number
    Event_Data3_AND_Mask                          0x00
    ## Give a valid number
    Event_Data3_Compare1                          0xFF
    ## Give a valid number
    Event_Data3_Compare2                          0x00
EndSection
Section Event_Filter_14
    ## Possible values: Manufacturer_Pre_Configured/Software_Configurable/Reserved1/Reserved3
    Filter_Type                                   Software_Configurable
    ## Possible values: Yes/No
    Enable_Filter                                 Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Alert                     Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Off                 No
    ## Possible values: Yes/No
    Event_Filter_Action_Reset                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Cycle               No
    ## Possible values: Yes/No
    Event_Filter_Action_Oem                       No
    ## Possible values: Yes/No
    Event_Filter_Action_Diagnostic_Interrupt      No
    ## Possible values: Yes/No
    Event_Filter_Action_Group_Control_Operation   No
    ## Give a valid number
    Alert_Policy_Number                           1
    ## Give a valid number
    Group_Control_Selector                        0
    ## Possible values: Unspecified/Monitor/Information/OK/Non_Critical/Critical/Non_Recoverable
    Event_Severity                                Monitor
    ## Specify a hex Slave Address or Software ID from Event Message or 0xFF to Match Any
    Generator_Id_Byte_1                           0xFF
    ## Specify a hex Channel Number or LUN to match or 0xFF to Match Any
    Generator_Id_Byte_2                           0xFF
    ## Specify a Sensor Type, via hex or see MAN page for string options
    Sensor_Type                                   Power_Supply
    ## Specify a Sensor Number or 0xFF to Match Any
    Sensor_Number                                 0xFF
    ## Specify a Event/Reading Type Number or 0xFF to Match Any
    Event_Trigger                                 0xFF
    ## Give a valid number
    Event_Data1_Offset_Mask                       0x41
    ## Give a valid number
    Event_Data1_AND_Mask                          0x00
    ## Give a valid number
    Event_Data1_Compare1                          0xFF
    ## Give a valid number
    Event_Data1_Compare2                          0x00
    ## Give a valid number
    Event_Data2_AND_Mask                          0x00
    ## Give a valid number
    Event_Data2_Compare1                          0xFF
    ## Give a valid number
    Event_Data2_Compare2                          0x00
    ## Give a valid number
    Event_Data3_AND_Mask                          0x00
    ## Give a valid number
    Event_Data3_Compare1                          0xFF
    ## Give a valid number
    Event_Data3_Compare2                          0x00
EndSection
Section Event_Filter_15
    ## Possible values: Manufacturer_Pre_Configured/Software_Configurable/Reserved1/Reserved3
    Filter_Type                                   Software_Configurable
    ## Possible values: Yes/No
    Enable_Filter                                 Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Alert                     Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Off                 No
    ## Possible values: Yes/No
    Event_Filter_Action_Reset                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Cycle               No
    ## Possible values: Yes/No
    Event_Filter_Action_Oem                       No
    ## Possible values: Yes/No
    Event_Filter_Action_Diagnostic_Interrupt      No
    ## Possible values: Yes/No
    Event_Filter_Action_Group_Control_Operation   No
    ## Give a valid number
    Alert_Policy_Number                           1
    ## Give a valid number
    Group_Control_Selector                        0
    ## Possible values: Unspecified/Monitor/Information/OK/Non_Critical/Critical/Non_Recoverable
    Event_Severity                                Monitor
    ## Specify a hex Slave Address or Software ID from Event Message or 0xFF to Match Any
    Generator_Id_Byte_1                           0xFF
    ## Specify a hex Channel Number or LUN to match or 0xFF to Match Any
    Generator_Id_Byte_2                           0xFF
    ## Specify a Sensor Type, via hex or see MAN page for string options
    Sensor_Type                                   Power_Unit
    ## Specify a Sensor Number or 0xFF to Match Any
    Sensor_Number                                 0xFF
    ## Specify a Event/Reading Type Number or 0xFF to Match Any
    Event_Trigger                                 0xFF
    ## Give a valid number
    Event_Data1_Offset_Mask                       0x10
    ## Give a valid number
    Event_Data1_AND_Mask                          0x00
    ## Give a valid number
    Event_Data1_Compare1                          0xFF
    ## Give a valid number
    Event_Data1_Compare2                          0x00
    ## Give a valid number
    Event_Data2_AND_Mask                          0x00
    ## Give a valid number
    Event_Data2_Compare1                          0xFF
    ## Give a valid number
    Event_Data2_Compare2                          0x00
    ## Give a valid number
    Event_Data3_AND_Mask                          0x00
    ## Give a valid number
    Event_Data3_Compare1                          0xFF
    ## Give a valid number
    Event_Data3_Compare2                          0x00
EndSection
Section Event_Filter_16
    ## Possible values: Manufacturer_Pre_Configured/Software_Configurable/Reserved1/Reserved3
    Filter_Type                                   Software_Configurable
    ## Possible values: Yes/No
    Enable_Filter                                 Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Alert                     Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Off                 No
    ## Possible values: Yes/No
    Event_Filter_Action_Reset                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Cycle               No
    ## Possible values: Yes/No
    Event_Filter_Action_Oem                       No
    ## Possible values: Yes/No
    Event_Filter_Action_Diagnostic_Interrupt      No
    ## Possible values: Yes/No
    Event_Filter_Action_Group_Control_Operation   No
    ## Give a valid number
    Alert_Policy_Number                           1
    ## Give a valid number
    Group_Control_Selector                        0
    ## Possible values: Unspecified/Monitor/Information/OK/Non_Critical/Critical/Non_Recoverable
    Event_Severity                                Monitor
    ## Specify a hex Slave Address or Software ID from Event Message or 0xFF to Match Any
    Generator_Id_Byte_1                           0xFF
    ## Specify a hex Channel Number or LUN to match or 0xFF to Match Any
    Generator_Id_Byte_2                           0xFF
    ## Specify a Sensor Type, via hex or see MAN page for string options
    Sensor_Type                                   Temperature
    ## Specify a Sensor Number or 0xFF to Match Any
    Sensor_Number                                 0x2A
    ## Specify a Event/Reading Type Number or 0xFF to Match Any
    Event_Trigger                                 0xFF
    ## Give a valid number
    Event_Data1_Offset_Mask                       0x200
    ## Give a valid number
    Event_Data1_AND_Mask                          0x00
    ## Give a valid number
    Event_Data1_Compare1                          0xFF
    ## Give a valid number
    Event_Data1_Compare2                          0x00
    ## Give a valid number
    Event_Data2_AND_Mask                          0x00
    ## Give a valid number
    Event_Data2_Compare1                          0xFF
    ## Give a valid number
    Event_Data2_Compare2                          0x00
    ## Give a valid number
    Event_Data3_AND_Mask                          0x00
    ## Give a valid number
    Event_Data3_Compare1                          0xFF
    ## Give a valid number
    Event_Data3_Compare2                          0x00
EndSection
Section Event_Filter_17
    ## Possible values: Manufacturer_Pre_Configured/Software_Configurable/Reserved1/Reserved3
    Filter_Type                                   Software_Configurable
    ## Possible values: Yes/No
    Enable_Filter                                 Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Alert                     Yes
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Off                 No
    ## Possible values: Yes/No
    Event_Filter_Action_Reset                     No
    ## Possible values: Yes/No
    Event_Filter_Action_Power_Cycle               No
    ## Possible values: Yes/No
    Event_Filter_Action_Oem                       No
    ## Possible values: Yes/No
    Event_Filter_Action_Diagnostic_Interrupt      No
    ## Possible values: Yes/No
    Event_Filter_Action_Group_Control_Operation   No
    ## Give a valid number
    Alert_Policy_Number                           1
    ## Give a valid number
    Group_Control_Selector                        0
    ## Possible values: Unspecified/Monitor/Information/OK/Non_Critical/Critical/Non_Recoverable
    Event_Severity                                Monitor
    ## Specify a hex Slave Address or Software ID from Event Message or 0xFF to Match Any
    Generator_Id_Byte_1                           0xFF
    ## Specify a hex Channel Number or LUN to match or 0xFF to Match Any
    Generator_Id_Byte_2                           0xFF
    ## Specify a Sensor Type, via hex or see MAN page for string options
    Sensor_Type                                   Temperature
    ## Specify a Sensor Number or 0xFF to Match Any
    Sensor_Number                                 0x2B
    ## Specify a Event/Reading Type Number or 0xFF to Match Any
    Event_Trigger                                 0xFF
    ## Give a valid number
    Event_Data1_Offset_Mask                       0x200
    ## Give a valid number
    Event_Data1_AND_Mask                          0x00
    ## Give a valid number
    Event_Data1_Compare1                          0xFF
    ## Give a valid number
    Event_Data1_Compare2                          0x00
    ## Give a valid number
    Event_Data2_AND_Mask                          0x00
    ## Give a valid number
    Event_Data2_Compare1                          0xFF
    ## Give a valid number
    Event_Data2_Compare2                          0x00
    ## Give a valid number
    Event_Data3_AND_Mask                          0x00
    ## Give a valid number
    Event_Data3_Compare1                          0xFF
    ## Give a valid number
    Event_Data3_Compare2                          0x00
EndSection


Using pef-config, commit the changed configs to the BMC

 pef-config -D LAN_2_0 -h xx.xx.xx.71 -u user -p pass -c -n modified-config.pef

Using ipmitool, send a test event ***Make sure you don't test an event that you have set to power off as an action***

ipmitool -H xx.xx.xx.71 -U user -P pass -I lanplus event 2

Make sure that you see the event in the SEL:

ipmitool -H xx.xx.xx.71 -U user -P pass -I lanplus sel list

   9 | Pre-Init Time-stamp   | Voltage #0x60 | Lower Critical going low
   a | Pre-Init Time-stamp   | System Event #0x71 | PEF Action | Asserted

You should now see the trap in your NMS instance if everything is GTG. If you're using ZenOSS, make sure to have the proper Dell MIBs installed, particularly

DELL-ASF-MIB

For the record, Dell should change this particular procedure.

Here are some additional resources that helped me, and will probably help others in this boat:

http://poweredgec.com

http://www.gnu.org/software/freeipmi/

http://ipmitool.sourceforge.net/

10 Elder

 • 

6.2K Posts

August 10th, 2012 16:00

Hello bpMatt

Our cloud servers perform SNMP via IPMI. IPMI does not function over a normal remote connection on our cloud servers. IPMI is not available remotely, only SMASH via SSH. The SNMP traps would need to go to an agent installed within the operating system of the server via IPMI, and from there be reported to a remote management station. This document outlines the remote monitoring functionality on page 2, and provides suggestions for agents to use:

http://www.dell.com/downloads/global/products/pedge/en/Managing_Dell_PowerEdge_C_Servers_in_Hyperscale_Environments_06_13_2010.pdf

Thanks

3 Posts

August 13th, 2012 11:00

Hi Daniel,

Thank you for the quick reply. It seems that the web interface does include a configuration that allows one to set SNMP trap destinations, alerting rules, etc... The instructions involve running a few raw commands once the trap dest has been set:

After setting the SNMP Trap, you need do following steps to let trap alert:

1. Using IPMITOOL to enable alert action

ipmitool raw 0x04 0x12 0x02 0x01

2. Add a PEF Table (ex. PSU Fault)

ipmitool raw 0x4 0x12 0x06 0x07 0x80 0x01 0x01 0x00 0x20 0x00 0x08 0xff 0xff 0x43 0x00 0x00 0xff 0x00 0x00 0xff 0x00 0x00 0xff 0x00

3. Modify Alert Policy Table

ipmitool raw 0x04 0x12 0x09 0x01 0x18 0x11 0x00

Do you happen to know of any additional documentation on this configuration? I have found some additional tools at poweredgec.com, but nothing that will work out my issue as of yet.

Thanks

No Events found!

Top