CLI Guide

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 congure 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 qualied 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 congure
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.
Table 66. Valid Parameters Of Events for Alert Actions
Event Name Description
event=batterywarn Sets actions when a battery probe detects a warning value.
event=batteryfail Sets actions when a battery probe detects a failure value.
event=fanwarn Sets actions when a fan probe detects a warning value.
110 Omcong Managing Components Using The Instrumentation Service