Skip to main content
nkapse
Staff
Staff
October 31, 2025

Technical Tip: How to send SD-WAN SLA event alertmail by the type of Message

  • October 31, 2025
  • 0 replies
  • 1233 views
Description This article describes how to configure an alert mail for SD-WAN SLA events with the help of the Message log attribute.
Scope FortiGate.
Solution

If any of the SD-WAN Link SLA statuses get changed, it will show the respective Message log in the System Events -> SD-WAN Events.

 

Configure automation action via GUI under Security Fabric -> Automation -> Action, select 'Create New' -> Email, and make sure the alertmail configuration is working correctly.

 

Configure the automation trigger via GUI under Security Fabric -> Automation -> Trigger, select 'Create New' -> FortiOS Event Log, select 'Event', filter the events to SD-WAN, and then enable the required event logs from the available SD-WAN event logs. The minimum required would be SD-WAN status information and SD-WAN status. 

 

In the Field filter(s) -> Field name -> 'msg'.

In the Value section, add the Message that is visible in the SD-WAN Event logs.

 

For example: 

 

Member status changed. Member out-of-sla. 

 

Or:

 

Member status changed. Member in SLA.

 

Screenshot 2025-10-29 182745.png

 

Now, if any of the SD-WAN SLA status goes down, the log will be generated with the configured message (Member status changed. Member out-of-sla.), and the email will be triggered.

 

  • Use the CLI to configure an automation trigger for SD-WAN SLA events:

 

config system automation-trigger
    edit "sdwan-sla-events"
        set event-type event-log
        set logid 22925 22931 22933 22934
    next
end

 

Note:

  • Log ID 22933 is for 'SD-WAN SLA notification' when the interface status changes from down to up.
  • Log ID 22931 is used for up to down status change
  • To receive an email notification when a WAN port goes down (even if it is not part of the Performance SLA but is included in the SD-WAN zone), configure an automation trigger using Log ID 22923 (SD-WAN status).

 

Use the following commands to debug and ensure that alert emails are being sent successfully:

 

diagnose debug disable
diagnose debug reset
diagnose debug application alertmail -1
diagnose debug console

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT