CHAPTER 3. IPMI INTERFACES
Table 3.38: Alert Policy Table Entry
Field Channel / Destina- tion
bits 0-3 - The destination selector. For the chosen channel, this is the specific destination in the channel to use to send the alert. See the LAN Configuration Table (table 3.16) or the Serial Configu- ration Table (table 3.17) for information on what the destination selectors can do. bits 4-7 - The channel. This tells the BMC which channel to send the alert over.
Alert String Info
Some types of alerts need a string associated with them, this chooses the string. The specific strings are stored in the PEF configuration parameters 12 and 13 in table 3.36. If bit 7 of this byte is one, then the string is dependent on the event fil- ter number that was matched for this alert policy. Bits 0-6 of this byte are the alert string set. The event filter number and the alert string set are looked up in the table in parameter 12 of the PEF configuration to choose the alert string to use. See that parameter for more details on how this works. if bit 7 of this byte is zero, then the bits 0-6 of this field are the alert string selector. The alert string selector is used as a direct index into the alert string table in parameter 13 of the PEF configuration.
OpenIPMI and SNMP Traps
Setting Up A System To Send Traps
Setting up a system to send traps with OpenIPMI can be done two basic ways. The hard way is to set up each table individually. This is more work, but is very flexible. The easy way just sets up for SNMP traps
but does all the work for you.
Setting Up the PEF Table and LAN Configuration Table
For a system to send traps, you must set
up the PEF table as described in section 3.13.3 and the LAN configuration table described in section 3.9.1. However, this is a lot of work.
from a BMC. The call has an unfortunately large number of parameters because OpenIPMI cannot pick the various selectors and policy numbers needed to set up for the trap, because you may be using them for other
i n t i p m i _ p e t _ c r e a t e ( i p m i _ d o m a i n _ t