FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
ekrishnan
Staff
Staff
Article Id 387613
Description This article describes how to update the SD-WAN link status through the automation stitch feature.
Scope FortiGate.
Solution

To receive emails with CLI scripts to know the reason for the 'out of sla' trigger for a member, it is essential to configure the automation stitch as per below.

 

Navigate to Security Fabric -> Automation -> Stitch -> Create New.

 

  1. Configure the trigger to include the filter.

 

image.png

 

Additionally, on CLI,  the event-type is set to 'event-log', and the logid is set to 22923.

 

image.png

 

The logid references can be verified on the link below.

22923 - LOG_ID_EVENT_VWL_LQTY_STATUS

 

  1. Next step, configure the Action parameters

     

    Note: The first Action will be the CLI script, and the second Action will be the Email Notification.

     

    image.png

     

     

  2. Configure the second Action parameter.

     

     

image.png

 

After all this is done, the overall configuration will be as per below.

 

image.png

 

Note: Ensure to use the appropriate email address for the sender and recipient. Follow the screenshots for the CLI scripts, and additional commands can be added as per the requirements.