Mails event information generated by the Event Response resource manager to a specified userid.
notifyevent [ -h ] [ UserID ]
The notifyevent command captures event information that is posted by the Event Response resource manager in environment variables that are generated by the Event Response resource manager when an event occurs. The notifyevent command can be used as an action that is executed by an Event Response resource. It can also be used as a template to create other user-defined actions.
The event information includes:
The notifyevent command uses the mail command to send event information to the specified userid. When a userid is specified, it is assumed to be valid, and it is used without verifying it. If a userid is not specified, the user who is running the command is used as the default.
Note: The following restrictions apply:
- This command must be executed on the node where the Event Response resource manager is running.
- The mail command is used to read the file.
|userid||Optional ID of the user to whom the event information will be mailed. If UserID is not specified, the user who is running the command is used as the default.|
|-h||Writes help information about this command to standard out. No further processing is performed.|
|0||Command has run successfully.|
=========================================================================================== Event reported at Sun Mar 26 16:38:03 2000 Condition Name: /var space used Severity: Warning Event Type: Event Expression: PercentTotUsed>90 Resource Name: /var Resource Class Name: IBM.FileSystem Data Type: CT_UINT32 Data Value: 91
|/usr/sbin/rsct/bin/notifyevent||Location of the notifyevent command.|
The mail command