3.6.0 Matrix Server Command Reference (5697-7083, December 2007)

Chapter 3: mx Commands 79
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
[--from <email_address>]
The email address that will be specified as the sender of the notification
emails. If this option is not included, the server name will be used as the
sender.
[--subject long|medium|short]
The amount of information that will appear in the Subject line of the email.
The short argument prints only the event severity indicator such as
[ERROR].
The default is medium, which prints the event severity indicator and the first
78 characters of the event message. long prints the event severity indicator
and the entire event message.
[--omitdesc]
By default, the cluster description assigned to the matrix appears in the
source address for the email. For example, if the cluster description is Cluster
X and the --from <email address> is clust2@company.com, the source address
will be Cluster X [clust2@company.com]. The --omitdesc option omits the
cluster description from the source address. In this example, the source
address would be clust2@company.com.
[--smtpport <port_number>]
The port to be used on the SMTP server. The default is port 25.
[--smtpuser <username>]
The username used to access the SMTP server. This option is needed only if
the server requires credentials.
[--smtppass <password>]
The password used to access the SMTP server. This option is needed only if
the server requires credentials.
configurescript—Configure the script notification service
mx eventnotifier configurescript --script <pathname>
The <pathname> specifies the full path of the script that should be run when an
event configured for the notifier occurs. If the script does not reside on a
shared filesystem, ensure that it is replicated to the specified path on all
servers.
configuresnmp—configure the SNMP trap event notification service
mx eventnotifier configuresnmp [--addtarget|--removetarget]
[--community <value>] <target>