Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config system alert-action

Use this command to configure system alert actions.

Syntax

config system alert-action

edit "alert_action_name"

set syslog <datasource>

set email mail1 <datasource>

set snmp-trap <datasource>

next

end

 

aler_action_name

The name of an alert action configuration.

syslog

The name of a syslog alert action configuration, as configured in "config system alert-syslog".

email

The name of an email alert action, as configured in "config system alert-email".

snmp_trap

The name of an SNMP trap alert action, as configured in "config system alert-snmp-trap".

Example

config system alert-action

edit "all"

set syslog 1

set email mail1

set snmp-trap 1

next

end

config system alert-action

Use this command to configure system alert actions.

Syntax

config system alert-action

edit "alert_action_name"

set syslog <datasource>

set email mail1 <datasource>

set snmp-trap <datasource>

next

end

 

aler_action_name

The name of an alert action configuration.

syslog

The name of a syslog alert action configuration, as configured in "config system alert-syslog".

email

The name of an email alert action, as configured in "config system alert-email".

snmp_trap

The name of an SNMP trap alert action, as configured in "config system alert-snmp-trap".

Example

config system alert-action

edit "all"

set syslog 1

set email mail1

set snmp-trap 1

next

end