CLI Guide
Omcong System Alertaction Or Omcong Servermodule Alertaction
You can use the omcong system alertaction or omcong servermodule alertaction command to determine how Server
Administrator responds when a component has a warning or failure event.
Dening alert actions
An alert action is an action that you specify for the system to take when specied conditions are met. Alert actions determine in
advance what actions to take for warning or failure events on intrusion, fans, temperatures, voltages, power supplies, memory, and
redundancy.
For example, if a fan probe on the system reads a fan RPM of 300 and your minimum warning threshold value for that fan probe is
600 RPM, then the system generates a fan probe warning. Alert action settings determine how users are notied of this event. You
can also congure alert actions for temperature, voltage, and probe readings that fall within the warning or failure range.
Syntax For Setting Alert Actions
Setting an alert action requires two name=value pairs. The rst name=value pair is the event type. The second name=value pair is
the action to take for this event. For example, in the command:
omconfig system alertaction event=powersupply broadcast=true
or
omconfig servermodule alertaction event=powersupply broadcast=true
The event is a power supply failure and the action is to broadcast a message to all Server Administrator users.
Available alert actions
The following table displays the alert actions for each component that allows you to congure an alert action:
Table 65. Valid Parameters of Alert Actions For Warning and Failure Events
Alert Action Setting Description
alert=true | false
true: Enables the system's console alert. When enabled, the
monitor attached to the system from which you are running
Server Administrator displays a visual alert message.
false: Disables the system's console alert.
broadcast=true | false
true: Enables a message or alert to broadcast to all users who
have an active terminal (or Remote Desktop) session (Windows)
or to operators that have an active shell on the local system
(Linux.)
false: Disables alert broadcasts.
clearall=true Clears all actions for this event.
execappath=<string>
Sets the fully qualied path and le name of the application you
want to execute in case of an event for the component
described in this window.
NOTE: On Linux systems, user or user groups upgraded
to administrator or administrator groups cannot
congure this alert action setting.
execapp=false Disables the executable application.
Components and events for alert actions
The following table provides the events for which you can set alert actions. Components are listed in alphabetical order, except that
warning events always precede failure events for a component.
97