send error-report
This command sends an error report as email.
Syntax
send error-report mail-server subject email-address email-sender-address
Parameters
- mail-server
- Identifies a local SMTP server by IP address or by host name.
- subject
- Specifies the text string for the subject field of the outgoing message.
- email-address
- Specifies the full email address of the message recipient.
- email-sender-address
- Specifies the full email address of the message sender.
Guidelines
With the send error-report command, keep in mind the following points.
- With automated notification enabled, the appliance searches for a backtrace file (that contains failure-related data) at each restart. With a backtrace file, the appliance sends the file to the appliance but does not send any notifications.
- Place this command within the configuration file to ensure that it is run on each restart.
- To identify the SMTP server by host name, you must place this command after the ip name-server command in the configuration file. Otherwise, the appliance cannot resolve the host name to IP address.
- This command can be run to immediately send an error report that was generated with the save error-report command.
Example
On system restart, send a notification
to
supportteam@customer.com
and weekendcoverage@attbb.com
through
the specified mail server.# send error-report
smtp.customer.com ALERT! supportteam@customer.com weekendceverage@attbb.com