Setting Alert Actions for Systems Running a Supported
Red Hat® Enterprise Linux Operating System
When you set Alert Actions for an event, you can specify the action to "display an alert on the server." To perform this action, Server Administrator writes a message to the console. If the Server Administrator system is running X Window System, you will not see that message by default. To see the alert message when X Window System is running, you must start xconsole before the event occurs.
When you set Alert Actions for an event, you can specify the action to "broadcast a message." To perform this action, Server Administrator executes the "wall" command, which sends the message to everybody logged in with their message permission set to "yes." If the Server Administrator system is running X Window System, you will not see that message by default. To see the broadcast message when X Window System is running, you must start a terminal such as "gnome-terminal" before the event occurs.
When you set Alert Actions for an event, you can specify the action to "execute an application." There are limitations on the applications that Server Administrator can execute. Follow these guidelines to ensure proper execution:
Do not specify X Window System based applications because Server Administrator cannot execute such applications properly.
Do not specify applications that require input from the user because Server Administrator cannot execute such applications properly.
Redirect stdout and stderr to a file when specifying the application so that you can see any output or error messages.
If you want to execute multiple applications (or commands) for an alert, create a script to do that and put the full path to the script in the "application to execute" box.
Example 1:
ps -ef >/tmp/psout.txt 2>&1
The command in Example 1 executes the application ps, redirects stdout to the file /tmp/psout.txt, and redirects stderr to the same file as stdout.
Example 2:
mail -s "Server Alert" admin </tmp/alertmsg.txt>/tmp/mailout.txt 2>&1
The command in Example 2 executes the mail application to send the message contained in the file /tmp/alertmsg.txt to Red Hat Enterprise Linux user, Admin, with the subject "Server Alert." The file /tmp/alertmsg.txt must be created by the user before the event occurs. In addition, stdout and stderr are redirected to the file /tmp/mailout.txt in case an error occurs.
BMC Platform Events Filter Alert Messages
All possible Platform Event Filter (PEF) messages along with a description of each event is listed in Table A-1.
Table A-1. BMC PEF Alert Events
Event
Description
Fan Probe Failure
The fan is running too slow or not at all.
Voltage Probe Failure
The voltage is too low for proper operation.
Discrete Voltage Probe Failure
The voltage is too low for proper operation.
Temperature Probe Warning
The temperature is approaching excessively high or low limits.
Temperature Probe Failure
The temperature is either too high or too low for proper operation.
Chassis Intrusion Detected
The system chassis has been opened.
Redundancy (PS or Fan) Degraded
Redundancy for the fans and/or power supplies has been reduced.
Redundancy (PS or Fan) Lost
No redundancy remains for the system's fans and/or power supplies.
Processor Warning
A processor is running at less than peak performance or speed.
Processor Failure
A processor has failed.
PPS/VRM/DCtoDC Warning
The power supply, voltage regulator module, or DC to DC converter is pending a failure condition.
Power Supply/VRM/D2D Failure
The power supply, voltage regulator module, or DC to DC converter has failed.
Hardware log is full or emptied
Either an empty or a full hardware log requires administrator attention.
Automatic System Recovery
The system is hung or is not responding and is taking an action configured by Automatic System Recovery.