Cisco Cisco Email Security Appliance C380 Referencia técnica
224
I R O N P O R T A S Y N C O S 7 . 1 C L I R E F E R E N C E G U I D E
grep
Description
Searches for text in a log file.
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode. It is further restricted to
the login host (i.e., the specific machine you are logged onto). This command requires access
to the local file system.
the login host (i.e., the specific machine you are logged onto). This command requires access
to the local file system.
Batch Command: This command does not support a batch format.
The
grep
command can be used to search for text strings within logs. Use the following
syntax when you run the
grep
command:
Please enter the From Address to use for alerts.
[]> Alerts@example.com
Sending alerts to:
joe@example.com
Class: All - Severities: All
alertadmin@example.com
Class: Hardware - Severities: Critical
Class: Directory Harvest Attack Prevention - Severities: Critical
Class: System - Severities: Critical
Seconds to wait before sending a duplicate alert (seconds): 360
Alerts will be sent using this configured From Address: Alerts@example.com
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.
- EDIT - Modify an email address.
- DELETE - Remove an email address.
- CLEAR - Remove all email addresses (disable alerts).
- SETUP - Configure alert settings.
- FROM - Configure the From Address of alert emails.
[]>
mail3.example.com>
grep [-C count] [-e regex] [-i] [-p] [-t] [regex] log_name
Code Example 3-134
alertconfig
- Creating a New Alert and Alert Recipient (Continued)