Fortinet FortiLog-400 Network Card User Manual


 
FortiLog CLI reference CLI commands
FortiLog Administration Guide 05-16000-0082-20050115 95
set alertemail
device {enable |
disable}
add
virusalert {enable | disable}<return>
virusany {any |some| <return>
viruskeywords <keyword1 | keyword2>
<return>
virusnum {1 | 5 | 10 | 20 | 50 | 100 | 500 |
1000} <return>
virustime {0.5 | 1.0 | 3.0 | 6.0 |12.0 | 24.0 |
72.0 | 168.0} <return>
virusdevice {all | per } <return>
virussingle {y | n} <return
devicemailaddr <string>
Table 6: set alertemail command architecture
Commands Description
set alertemail configuration auth {enable |
disable}
Enable or disable SMTP authentication for sending alert emails.
set alertemail configuration mailto <string>
<string> <string>
Enter the email addresses of three alert email recipients.
<string> is the email address of an alert email recipient.
set alertemail configuration mailto none Clear all email addresses of the alert email recipients.
set alertemail configuration passwd <string> Set the password for logging on to the SMTP server to send alert emails.
<string> is the password.
set alertemail configuration server
<server_address>
Set the IP address of the SMTP server for sending alert emails.
<server_address> is the IP address of the SMTP server.
set alertemail configuration user <name_str> Set the user name for logging on to the SMTP server to send alert emails.
<name_str> is the user name.
set alertemail setting option critical Configure the alertemail to report critical incidents.
set alertemail setting option diskfull Configure the alertemail to report if the FortiLog hard disk is full.
set alertemail setting option none Clear all alert email option configuration.
set alertmail local alert {enable | disable} Enable the alert messages for the FortiLog unit.
set alertmail local localmailaddr <string> Set the email address where the FortiLog unit will send the alert
messages.
set alertmail local level {emergency | alert |
critical | error | warning | notification |
information}
Set the level to monitor before sending an alert message. The FortiLog
unit sends alert email for all messages at and above the logging severity
level you set.
set alertmail local eventnum {1 | 5 | 10 | 20 | 50 |
100 | 500 | 1000}
Set the number of selected events that occur before the FortiLog unit
sends an alert message. Use this setting in conjunction with the setting
below.
set alertmail local time {0.5 | 1.0 | 3.0 | 6.0 |12.0 |
24.0 | 72.0 | 168.0}
Set the wait time for the number of events to occur within before sending
an alert email for the specified level log messages. Use this setting in
conjunction with the setting above.
set alertmail device {enable | disable} Enable or disable the monitoring of device logs for alert messages.
set alertmail device enable add name <string> Add a device name to the alertmail list.
set alertmail device enable add devlist <string> Add a device group to the alertmail list.
set alertmail device enable add levelalert
{enable | disable}
Enable the level alert option to set the level the FortiLog unit will monitor
before sending an alert message.