Fortinet white logo
Fortinet white logo

CLI Reference

alertemail setting

Configure alert email settings.

  config alertemail setting
      Description: Configure alert email settings.
      set username {string}
      set mailto1 {string}
      set mailto2 {string}
      set mailto3 {string}
      set filter-mode [category|threshold]
      set email-interval {integer}
      set IPS-logs [enable|disable]
      set firewall-authentication-failure-logs [enable|disable]
      set HA-logs [enable|disable]
      set IPsec-errors-logs [enable|disable]
      set FDS-update-logs [enable|disable]
      set PPP-errors-logs [enable|disable]
      set sslvpn-authentication-errors-logs [enable|disable]
      set antivirus-logs [enable|disable]
      set webfilter-logs [enable|disable]
      set configuration-changes-logs [enable|disable]
      set violation-traffic-logs [enable|disable]
      set admin-login-logs [enable|disable]
      set FDS-license-expiring-warning [enable|disable]
      set log-disk-usage-warning [enable|disable]
      set fortiguard-log-quota-warning [enable|disable]
      set amc-interface-bypass-mode [enable|disable]
      set FIPS-CC-errors [enable|disable]
      set FSSO-disconnect-logs [enable|disable]
      set ssh-logs [enable|disable]
      set FDS-license-expiring-days {integer}
      set local-disk-usage {integer}
      set emergency-interval {integer}
      set alert-interval {integer}
      set critical-interval {integer}
      set error-interval {integer}
      set warning-interval {integer}
      set notification-interval {integer}
      set information-interval {integer}
      set debug-interval {integer}
      set severity [emergency|alert|...]
  end

config alertemail setting

Parameter Name Description Type Size
username Name that appears in the From: field of alert emails (max. 36 characters). string Maximum length: 63
mailto1 Email address to send alert email to (usually a system administrator) (max. 64 characters). string Maximum length: 63
mailto2 Optional second email address to send alert email to (max. 64 characters). string Maximum length: 63
mailto3 Optional third email address to send alert email to (max. 64 characters). string Maximum length: 63
filter-mode How to filter log messages that are sent to alert emails.
category: Filter based on category.
threshold: Filter based on severity.
option -
email-interval Interval between sending alert emails (1 - 99999 min, default = 5). integer Minimum value: 1 Maximum value: 99999
IPS-logs Enable/disable IPS logs in alert email.
enable: Enable IPS logs in alert email.
disable: Disable IPS logs in alert email.
option -
firewall-authentication-failure-logs Enable/disable firewall authentication failure logs in alert email.
enable: Enable firewall authentication failure logs in alert email.
disable: Disable firewall authentication failure logs in alert email.
option -
HA-logs Enable/disable HA logs in alert email.
enable: Enable HA logs in alert email.
disable: Disable HA logs in alert email.
option -
IPsec-errors-logs Enable/disable IPsec error logs in alert email.
enable: Enable IPsec error logs in alert email.
disable: Disable IPsec error logs in alert email.
option -
FDS-update-logs Enable/disable FortiGuard update logs in alert email.
enable: Enable FortiGuard update logs in alert email.
disable: Disable FortiGuard update logs in alert email.
option -
PPP-errors-logs Enable/disable PPP error logs in alert email.
enable: Enable PPP error logs in alert email.
disable: Disable PPP error logs in alert email.
option -
sslvpn-authentication-errors-logs Enable/disable SSL-VPN authentication error logs in alert email.
enable: Enable SSL-VPN authentication error logs in alert email.
disable: Disable SSL-VPN authentication error logs in alert email.
option -
antivirus-logs Enable/disable antivirus logs in alert email.
enable: Enable antivirus logs in alert email.
disable: Disable antivirus logs in alert email.
option -
webfilter-logs Enable/disable web filter logs in alert email.
enable: Enable web filter logs in alert email.
disable: Disable web filter logs in alert email.
option -
configuration-changes-logs Enable/disable configuration change logs in alert email.
enable: Enable configuration change logs in alert email.
disable: Disable configuration change logs in alert email.
option -
violation-traffic-logs Enable/disable violation traffic logs in alert email.
enable: Enable violation traffic logs in alert email.
disable: Disable violation traffic logs in alert email.
option -
admin-login-logs Enable/disable administrator login/logout logs in alert email.
enable: Enable administrator login/logout logs in alert email.
disable: Disable administrator login/logout logs in alert email.
option -
FDS-license-expiring-warning Enable/disable FortiGuard license expiration warnings in alert email.
enable: Enable FortiGuard license expiration warnings in alert email.
disable: Disable FortiGuard license expiration warnings in alert email.
option -
log-disk-usage-warning Enable/disable disk usage warnings in alert email.
enable: Enable disk usage warnings in alert email.
disable: Disable disk usage warnings in alert email.
option -
fortiguard-log-quota-warning Enable/disable FortiCloud log quota warnings in alert email.
enable: Enable FortiCloud log quota warnings in alert email.
disable: Disable FortiCloud log quota warnings in alert email.
option -
amc-interface-bypass-mode Enable/disable Fortinet Advanced Mezzanine Card (AMC) interface bypass mode logs in alert email.
enable: Enable Fortinet Advanced Mezzanine Card (AMC) interface bypass mode logs in alert email.
disable: Disable Fortinet Advanced Mezzanine Card (AMC) interface bypass mode logs in alert email.
option -
FIPS-CC-errors Enable/disable FIPS and Common Criteria error logs in alert email.
enable: Enable FIPS and Common Criteria error logs in alert email.
disable: Disable FIPS and Common Criteria error logs in alert email.
option -
FSSO-disconnect-logs Enable/disable logging of FSSO collector agent disconnect.
enable: Enable logging of FSSO collector agent disconnect.
disable: Disable logging of FSSO collector agent disconnect.
option -
ssh-logs Enable/disable SSH logs in alert email.
enable: Enable SSH logs in alert email.
disable: Disable SSH logs in alert email.
option -
FDS-license-expiring-days Number of days to send alert email prior to FortiGuard license expiration (1 - 100 days, default = 100). integer Minimum value: 1 Maximum value: 100
local-disk-usage Disk usage percentage at which to send alert email (1 - 99 percent, default = 75). integer Minimum value: 1 Maximum value: 99
emergency-interval Emergency alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
alert-interval Alert alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
critical-interval Critical alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
error-interval Error alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
warning-interval Warning alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
notification-interval Notification alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
information-interval Information alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
debug-interval Debug alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
severity Lowest severity level to log.
emergency: Emergency level.
alert: Alert level.
critical: Critical level.
error: Error level.
warning: Warning level.
notification: Notification level.
information: Information level.
debug: Debug level.
option -

alertemail setting

Configure alert email settings.

  config alertemail setting
      Description: Configure alert email settings.
      set username {string}
      set mailto1 {string}
      set mailto2 {string}
      set mailto3 {string}
      set filter-mode [category|threshold]
      set email-interval {integer}
      set IPS-logs [enable|disable]
      set firewall-authentication-failure-logs [enable|disable]
      set HA-logs [enable|disable]
      set IPsec-errors-logs [enable|disable]
      set FDS-update-logs [enable|disable]
      set PPP-errors-logs [enable|disable]
      set sslvpn-authentication-errors-logs [enable|disable]
      set antivirus-logs [enable|disable]
      set webfilter-logs [enable|disable]
      set configuration-changes-logs [enable|disable]
      set violation-traffic-logs [enable|disable]
      set admin-login-logs [enable|disable]
      set FDS-license-expiring-warning [enable|disable]
      set log-disk-usage-warning [enable|disable]
      set fortiguard-log-quota-warning [enable|disable]
      set amc-interface-bypass-mode [enable|disable]
      set FIPS-CC-errors [enable|disable]
      set FSSO-disconnect-logs [enable|disable]
      set ssh-logs [enable|disable]
      set FDS-license-expiring-days {integer}
      set local-disk-usage {integer}
      set emergency-interval {integer}
      set alert-interval {integer}
      set critical-interval {integer}
      set error-interval {integer}
      set warning-interval {integer}
      set notification-interval {integer}
      set information-interval {integer}
      set debug-interval {integer}
      set severity [emergency|alert|...]
  end

config alertemail setting

Parameter Name Description Type Size
username Name that appears in the From: field of alert emails (max. 36 characters). string Maximum length: 63
mailto1 Email address to send alert email to (usually a system administrator) (max. 64 characters). string Maximum length: 63
mailto2 Optional second email address to send alert email to (max. 64 characters). string Maximum length: 63
mailto3 Optional third email address to send alert email to (max. 64 characters). string Maximum length: 63
filter-mode How to filter log messages that are sent to alert emails.
category: Filter based on category.
threshold: Filter based on severity.
option -
email-interval Interval between sending alert emails (1 - 99999 min, default = 5). integer Minimum value: 1 Maximum value: 99999
IPS-logs Enable/disable IPS logs in alert email.
enable: Enable IPS logs in alert email.
disable: Disable IPS logs in alert email.
option -
firewall-authentication-failure-logs Enable/disable firewall authentication failure logs in alert email.
enable: Enable firewall authentication failure logs in alert email.
disable: Disable firewall authentication failure logs in alert email.
option -
HA-logs Enable/disable HA logs in alert email.
enable: Enable HA logs in alert email.
disable: Disable HA logs in alert email.
option -
IPsec-errors-logs Enable/disable IPsec error logs in alert email.
enable: Enable IPsec error logs in alert email.
disable: Disable IPsec error logs in alert email.
option -
FDS-update-logs Enable/disable FortiGuard update logs in alert email.
enable: Enable FortiGuard update logs in alert email.
disable: Disable FortiGuard update logs in alert email.
option -
PPP-errors-logs Enable/disable PPP error logs in alert email.
enable: Enable PPP error logs in alert email.
disable: Disable PPP error logs in alert email.
option -
sslvpn-authentication-errors-logs Enable/disable SSL-VPN authentication error logs in alert email.
enable: Enable SSL-VPN authentication error logs in alert email.
disable: Disable SSL-VPN authentication error logs in alert email.
option -
antivirus-logs Enable/disable antivirus logs in alert email.
enable: Enable antivirus logs in alert email.
disable: Disable antivirus logs in alert email.
option -
webfilter-logs Enable/disable web filter logs in alert email.
enable: Enable web filter logs in alert email.
disable: Disable web filter logs in alert email.
option -
configuration-changes-logs Enable/disable configuration change logs in alert email.
enable: Enable configuration change logs in alert email.
disable: Disable configuration change logs in alert email.
option -
violation-traffic-logs Enable/disable violation traffic logs in alert email.
enable: Enable violation traffic logs in alert email.
disable: Disable violation traffic logs in alert email.
option -
admin-login-logs Enable/disable administrator login/logout logs in alert email.
enable: Enable administrator login/logout logs in alert email.
disable: Disable administrator login/logout logs in alert email.
option -
FDS-license-expiring-warning Enable/disable FortiGuard license expiration warnings in alert email.
enable: Enable FortiGuard license expiration warnings in alert email.
disable: Disable FortiGuard license expiration warnings in alert email.
option -
log-disk-usage-warning Enable/disable disk usage warnings in alert email.
enable: Enable disk usage warnings in alert email.
disable: Disable disk usage warnings in alert email.
option -
fortiguard-log-quota-warning Enable/disable FortiCloud log quota warnings in alert email.
enable: Enable FortiCloud log quota warnings in alert email.
disable: Disable FortiCloud log quota warnings in alert email.
option -
amc-interface-bypass-mode Enable/disable Fortinet Advanced Mezzanine Card (AMC) interface bypass mode logs in alert email.
enable: Enable Fortinet Advanced Mezzanine Card (AMC) interface bypass mode logs in alert email.
disable: Disable Fortinet Advanced Mezzanine Card (AMC) interface bypass mode logs in alert email.
option -
FIPS-CC-errors Enable/disable FIPS and Common Criteria error logs in alert email.
enable: Enable FIPS and Common Criteria error logs in alert email.
disable: Disable FIPS and Common Criteria error logs in alert email.
option -
FSSO-disconnect-logs Enable/disable logging of FSSO collector agent disconnect.
enable: Enable logging of FSSO collector agent disconnect.
disable: Disable logging of FSSO collector agent disconnect.
option -
ssh-logs Enable/disable SSH logs in alert email.
enable: Enable SSH logs in alert email.
disable: Disable SSH logs in alert email.
option -
FDS-license-expiring-days Number of days to send alert email prior to FortiGuard license expiration (1 - 100 days, default = 100). integer Minimum value: 1 Maximum value: 100
local-disk-usage Disk usage percentage at which to send alert email (1 - 99 percent, default = 75). integer Minimum value: 1 Maximum value: 99
emergency-interval Emergency alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
alert-interval Alert alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
critical-interval Critical alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
error-interval Error alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
warning-interval Warning alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
notification-interval Notification alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
information-interval Information alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
debug-interval Debug alert interval in minutes. integer Minimum value: 1 Maximum value: 99999
severity Lowest severity level to log.
emergency: Emergency level.
alert: Alert level.
critical: Critical level.
error: Error level.
warning: Warning level.
notification: Notification level.
information: Information level.
debug: Debug level.
option -