config system alert
Use this command to configure the alert (alert-name
) that is referenced in config system alert-policy
.
Before you begin:
You must have read-write permission for Security Fabric settings.
Syntax
Use the following command to create an event alert.
config system alert
edit <alert_name>
set alert-source-type event
set priority {high|low|middle}
set event <alert_event_name>
next
end
Use the following command to create an metric alert.
config system alert
edit <alert_name>
set alert-source-type metric
set metric-object-type slb-virtual-server
set metric-object-instance <virtual-server-name>
set duration 600
config alert-metric-expr-member
edit <alert-metric-expr-member_name>
set metric <metric_name>
set metric-comparator {le | eq | ge}
set value <int>
next
end
next
end
The <alert_event_name>
is defined in config system alert-event
, and the <metric_name>
in config system alert-metric
.
config system alert-event
edit <alert_event_name>
set alias <string>
set comments <string>
next
end
config system alert-metric
edit <metric_name>
set type {if | slb |sys}
set alias <string>
set comments <string>
next
end
The automation stitches CLI commands are recommended to use only for debug purpose. To configure the stitches through GUI, refer to "Chapter 23: Security Fabric" in FortiADC Handbook.
Related topics: