alertemail : setting
 
setting
Use this command to configure the FortiGate unit to send an alert email to up to three recipients. This command can also be configured to send an alert email a certain number of days before the FDS license expires and/or when the disk usage exceeds a certain threshold amount. You need to configure an SMTP server before configuring alert email settings. See system email-server for more information.
Syntax
config alertemail setting
set username <user-name_str>
set mailto1 <email-address_str>
set mailto2 <email-address_str>
set mailto3 <email-address_str>
set filter-mode {category | threshold}
set email-interval <minutes_int>
set emergency-interval <minutes_int>
set alert-interval <minutes_int>
set critical-interval <minutes_int>
set error-interval <minutes_int>
set warning-interval <minutes_int>
set notification-interval <minutes_int>
set information-interval <minutes_int>
set debug-interval <minutes_int>
set severity {alert | critical | debug | emergency | error | information | notification | warning}
set IPS-logs {disable | enable}
set firewall-authentication-failure-logs {disable | enable}
set HA-logs {enable | disable}
set IPsec-error-logs {disable | enable}
set FDS-update-logs {disable | enable}
set PPP-errors-logs {disable | enable}
set sslvpn-authentication-errors-logs {disable | enable}
set antivirus-logs {disable | enable}
set webfilter-logs {disable | enable}
set configuration-changes-logs {disable | enable}
set violation-traffic-logs {disable | enable}
set admin-login-logs {disable | enable}
set local-disk-usage-warning {disable | enable}
set FDS-license-expiring-warning {disable | enable}
set FDS-license-expiring-days <days_int>
set local-disk-usage <percentage>
set fortiguard-log-quota-warning {disable | enable}
end
 
Variable
Description
Default
username <user-name_str>
Enter a valid email address in the format user@domain.com. This address appears in the From header of the alert email.
No default.
mailto1 <email-address_str>
Enter an email address. This is one of the email addresses where the FortiGate unit sends an alert email.
No default.
mailto2 <email-address_str>
Enter an email address. This is one of the email addresses where the FortiGate unit sends an alert email.
No default.
mailto3 <email-address_str>
Enter an email address. This is one of the email addresses where the FortiGate unit sends an alert email.
No default.
filter-mode {category | threshold}
Select the filter mode of the alert email.
The following fields display only when threshold is selected:
emergency-interval
alert-interval
critical-interval
error-interval
warning-interval
notification-interval
information-interval
debug-interval
severity
category
email-interval <minutes_int>
Enter the number of minutes the FortiGate unit should wait before sending out an alert email. This is not available when filter‑mode is threshold.
5
emergency-interval <minutes_int>
Enter the number of minutes the FortiGate unit should wait before sending out alert email for emergency level messages. Only available when filter-mode is threshold.
1
alert-interval <minutes_int>
Enter the number of minutes the FortiGate unit should wait before sending out an alert email for alert level messages. Only available when filter-mode is threshold.
2
critical-interval <minutes_int>
Enter the number of minutes the FortiGate unit should wait before sending out an alert email for critical level messages. Only available when filter-mode is threshold.
3
error-interval <minutes_int>
Enter the number of minutes the FortiGate unit should wait before sending out an alert email for error level messages. Only available when filter-mode is threshold.
5
warning-interval <minutes_int>
Enter the number of minutes the FortiGate unit should wait before sending out an alert email for warning level messages. Only available when filter-mode is threshold.
10
notification-interval <minutes_int>
Enter the number of minutes the FortiGate unit should wait before sending out an alert email for notification level messages. Only available when filter-mode is threshold.
20
information-interval <minutes_int>
Enter the number of minutes the FortiGate unit should wait before sending out an alert email for information level messages. Only available when filter-mode is threshold.
30
debug-interval <minutes_int>
Enter the number of minutes the FortiGate unit should wait before sending out an alert email for debug level messages. Only available when filter-mode is threshold.
60
severity {alert | critical | debug | emergency | error | information | notification | warning}
Select the logging severity level. This is only available when filter-mode is threshold. The FortiGate unit logs all messages at and above the logging severity level you select. For example, if you select error, the unit logs error, critical, alert, and emergency level messages.
alert – Immediate action is required.
critical – Functionality is affected.
debug – Information used for diagnosing or debugging the FortiGate unit.
emergency – The system is unusable.
error – An erroneous condition exists and functionality is probably affected.
information – General information about system operations
notification – Information about normal events.
warning – Functionality might be affected.
alert
IPS-logs {disable | enable}
Enable or disable IPS logs.
disable
firewall-authentication-failure-logs {disable | enable}
Enable or disable firewall authentication failure logs.
disable
HA-logs {enable | disable}
Enable or disable high availability (HA) logs.
disable
IPsec-error-logs {disable | enable}
Enable or disable IPSec error logs
disable
FDS-update-logs {disable | enable}
Enable or disable FDS update logs.
disable
PPP-errors-logs {disable | enable}
Enable or disable PPP error logs.
disable
sslvpn-authentication-errors-logs {disable | enable}
Enable or disable SSL VPN authentication error logs.
disable
antivirus-logs {disable | enable}
Enable or disable antivirus logs.
disable
webfilter-logs
{disable | enable}
Enable or disable web filter logs.
disable
configuration-changes-logs {disable | enable}
Enable or disable configuration changes logs.
disable
violation-traffic-logs {disable | enable}
Enable or disable traffic violation logs.
disable
admin-login-logs {disable | enable}
Enable or disable admin login logs
disable
local-disk-usage-warning {disable | enable}
Enable or disable local disk usage warning in percent. For example enter the number 15 for a warning when the local disk usage is at 15 percent. The number cannot be 0 or 100.
disable
FDS-license-expiring-warning {disable | enable}
Enable or disable to receive an email notification of the expire date of the FDS license.
disable
FDS-license-expiring-days <days_int>
Enter the number of days to be notified by email when the FDS license expires. For example, if you want notification five days in advance, enter 5.
15
local-disk-usage <percentage>
Enter a number for when the local disk’s usage exceeds that number.
75
fortiguard-log-quota-warning {disable | enable}
Enable to receive an alert email when the FortiGuard Log & Analysis server reaches its quota.
disable