Cisco Cisco Email Security Appliance C160 Références techniques

Page de 312
L O G G I N G   A N D   A L E R T S
C H A P T E R   3 :   T H E   C O M M A N D S :   R E F E R E N C E   E X A M P L E S
 221
L O G G I N G   A N D   A L E R T S
This section contains the following CLI commands:
• grep
• logconfig
• tail
alertconfig
Description
Configure email alerts.
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, 
machine).
Batch Command: This command does not support a batch format.
Creating a New Alert and Alert Recipient via the CLI
In this example, a new alert recipient (alertadmin@example.com) is created and set to receive 
critical system, hardware, and directory harvest attack alerts. The seconds to wait before 
sending a duplicate alert is set to 360 and the email From: address is set to 
Alerts@example.com. 
Code Example 3-134 
alertconfig
 - Creating a New Alert and Alert Recipient 
mail3.example.com> alertconfig
Sending alerts to:
  joe@example.com
      Class: All - Severities: All
Seconds to wait before sending a duplicate alert (seconds): 300
Alerts will be sent using the system-default From Address.
IronPort AutoSupport: Enabled
You will receive a copy of the weekly AutoSupport reports.
Choose the operation you want to perform:
- NEW - Add a new email address to send alerts.