Sending System Log Messages To An E-Mail Address - Cisco FirePOWER ASA 5500 series Configuration Manual

Security appliance command line
Hide thumbs Also See for FirePOWER ASA 5500 series:
Table of Contents

Advertisement

Chapter 42
Monitoring the Security Appliance
The message_list argumentspecifies a customized message list that identifies the system log messages
to send to the console port. For information about creating custom message lists, see the
System Log Messages with Custom Message Lists" section on page
The following example specifies that the security appliance should send to the syslog server all system
log messages with a severity level of level 3 (errors) and higher. The security appliance will send
messages with the severity of 3, 2, and 1.
hostname(config)# logging console errors

Sending System Log Messages to an E-mail Address

You can configure the security appliance to send some or all system log messages to an e-mail address.
When sent by e-mail, a system log message appears in the subject line of the e-mail message. For this
reason, we recommend configuring this option to notify administrators of system log messages with high
severity levels, such as critical, alert, and emergency.
To start logging to an e-mail address you define in this procedure, be sure to enable logging for all output
Note
locations. See the
disable logging, see the
page
To designate an e-mail address as an output destination, perform the following steps:
To specify the system log messages to be sent to one or more e-mail addresses, enter the following
Step 1
command:
hostname(config)# logging mail {severity_level | message_list}
Where the severity_level argument specifies the severity levels of messages to be sent to the e-mail
address. You can specify the severity level number (0 through 7) or name. For severity level names, see
the
appliance sends system log messages for level 3, 2, 1, and 0.
The message_list argumentspecifies a customized message list that identifies the system log messages
to send to the e-mail address. For information about creating custom message lists, see the
System Log Messages with Custom Message Lists" section on page
The following example uses a message_list with the name "high-priority," previously set up with the
logging list command:
hostname(config)# logging mail high-priority
Step 2
To specify the source e-mail address to be used when sending system log messages to an e-mail address,
enter the following command:
hostname(config)# logging from-address email_address
For example:
hostname(config)# logging from-address xxx-001@example.com
Specify the recipient e-mail address to be used when sending system log messages to an e-mail
Step 3
destination. You can configure up to five recipient addresses. You must enter each recipient separately.
To specify a recipient address, enter the following command:
OL-10088-01
"Enabling Logging to All Configured Output Destinations" section on page
"Disabling Logging to All Configured Output Destinations" section on
42-6.
"Severity Levels" section on page
42-23. For example, if you set the level to 3, then the security
Cisco Security Appliance Command Line Configuration Guide
Configuring and Managing Logs
"Filtering
42-17.
42-6. To
"Filtering
42-17.
42-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pix 500 seriesCisco asa 5500 series

Table of Contents