Broadcasts an event or a rearm event to all users who are logged in.
wallevent [-h]
The ewallevent script always return messages in English. The language in which the messages of the wallevent script are returned depend on the locale settings.
These scripts broadcast a message on an event or a rearm event to all users who are currently logged in to the host when the event or the rearm event occurs. Event or rearm event information is captured and posted by the event response resource manager in environment variables that are generated by the event response resource manager when an event or a rearm event occurs. These scripts can be used as actions that are run by an event response resource. They can also be used as templates to create other user-defined actions.
See the RSCT Guide and Reference to understand how an event response resource runs an action command.
Messages are displayed in this format at the consoles of all users who are logged in when an event or a rearm event for which these scripts are a response action occurs:
Broadcast message from user@host (tty) at hh:mm:ss... severity event_type occurred for Condition condition_name on the resource resource_name of resource_class_name at hh:mm:ss mm/dd/yy The resource was monitored on node_name and resided on {node_names}.
Event information is returned about the ERRM environment variables that are listed and described in the RSCT Guide and Reference, and also includes the following:
The wallevent script captures the environment variable values and uses the wall command to write a message to the currently logged-in user consoles.
The log_file is treated as a circular log and has a fixed size of 64KB. When log_file is full, new entries are written over the oldest existing entries.
If log_file already exists, event information is appended to it. If log_file does not exist, it is created so that event information can be written to it.
When the -h flag is specified, the script's usage statement is written to standard output.
Broadcast message from joe@neverland.com (pts/6) at 18:42:03... Critical event occurred for Condition /var space used on the resource /var of filesys of IBM.FileSystem at 18:41:50 03/28/02 The resource was monitored on c174n05 and resided on {c174n05}.
Broadcast message from joe@neverland.com (pts/6) at 18:42:03... Critical rearm event occurred for Condition /var space used on the resource /var of filesys of IBM.FileSystem at 18:41:50 03/28/02 The resource was monitored on c174n05 and resided on {c174n05}.
Commands: wall
Books: see the RSCT Guide and Reference for information about the event response resource manager (ERRM) and about how to use ERRM environment variables