
Chapter 3: mx Commands 79
You can specify individual event IDs or a range of IDs to be added. Use
commas to separate the values, for example: 100, 300-400,555.
The options are:
[--snmp]
Add the specified event IDs to the SNMP notification service.
[--email]
Add the specified event IDs to the email notification service.
[--script]
Add the specified event IDs to the script notification service.
If none of the options are specified, the event IDs will be added to all
notification services.
configureemail—Configure the email notification service
mx eventnotifier configureemail --to <email_addresses> --smtpserver
<server_name or IP> [--from <email_address>] [--subject
<long|medium|short>] [--omitdesc] [--smtpport <port number>]
[--smtpuser <username>] [--smtppass <password>]
The options are:
--to <email_addresses>
The email addresses to which event notifier email should be sent. If multiple
addresses will be specified, use semicolons to separate the addresses.
--smtpserver <server_name or IP>
The name or IP address of the SMTP server.
[--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.
Kommentare zu diesen Handbüchern