E-mail and event notification commands

You can use the command-line interface (CLI) to enable your system to send notifications.

The following e-mail and event notification commands are available:
chcluster
Enables the inventory notification function by specifying how often notifications are sent to recipients. See the chcluster command in the Cluster commands section.
chemail
Sets or modifies contact information for e-mail event notifications.
chemailserver
Modifies the parameters of an existing e-mail server object.
chemailuser
Allows you to modify the e-mail recipient's information.
chsnmpserver
Modifies the parameters of an existing SNMP server.
chsyslogserver
Modifies the parameters of an existing syslog server.
lscluster
Provides information about the addition of e-mail notification recipients to the cluster. See the lscluster command in the Information commands section.
lsemailserver
Returns a concise list or a detailed view of e-mail servers that are configured on the cluster. See the lsemailserver command in the Information commands section.
lsemailuser
Generates a report that lists the users (by user ID or type of user [local or support]) who are receiving e-mail event and inventory notifications. See the lsemailuser command in the Information commands section.
lssnmpserver
Returns a concise list or a detailed view of SNMP servers that are configured on the cluster. See the lssnmpserver command in the Information commands section.
lssyslogserver
Returns a concise list or a detailed view of syslog servers that are configured on the cluster. See the lssyslogserver command in the Information commands section.
mkemailserver
Creates an e-mail server object that describes a remote Simple Mail Transfer Protocol (SMTP) e-mail server.
mkemailuser
Allows you to specify the user, the receiving server address, the type of e-mail event notification, and to enable inventory notification in the e-mail event notification facility.
mksnmpserver
Creates an SNMP server to receive notifications.
mksyslogserver
Creates a syslog server to receive notifications.
rmemailserver
Deletes the specified e-mail server object.
rmemailuser
Removes an existing e-mail recipient from the e-mail event notification function.
rmsnmpserver
Deletes the specified SNMP server.
rmsyslogserver
Deletes the specified syslog server.
sendinventoryemail
Sends an inventory e-mail notification to all inventory e-mail recipients.
setemail
The setemail command is discontinued. E-mail notification can be configured using the following commands: svctask mkemailserver, svctask chemailserver, svctask rmemailserver, svctask chemail, and svcinfo lsemailserver.
startemail
Starts the e-mail notification function.
stopemail
Disables the e-mail notification function.
testemail
Sends a test e-mail to a specified user or to all users using the e-mail notification function.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.