send error-report

This command sends an error report as email.

Syntax

send error-report server subject recipient-address sender-address

Parameters

server
Identifies a local SMTP server by IP address or by hostname.
subject
Specifies the text string for the subject field of the outgoing message.
recipient-address
Specifies the full email address of the message recipient.
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 DataPower® Gateway searches for a backtrace file (that contains failure-related data) at each restart. With a backtrace file, the DataPower Gateway sends the file 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 hostname, you must place this command after the ip name-server command in the configuration file. Otherwise, the DataPower Gateway cannot resolve the hostname 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