Skip to main content
wmichael
Staff
Staff
February 19, 2025

Technical Tip: How to create automation stitch triggers for FortiAPs going Offline or Online

  • February 19, 2025
  • 0 replies
  • 1120 views
Description This article describes how to create automation stitch triggers to notify the user when FortiAPs go offline or come back online. These can be used with an automation stitch action that will send an alert email when the stitch is triggered.
Scope FortiGate, FortiAP.
Solution

To configure automation stitch, see the documentation: Creating automation stitches.

 

To configure an automation stitch that will send an alert email, see Use FortiGate automation stitches for alert emails.

 

For an automation stitch that will trigger on a FortiAP going offline, the Log ID 43552 can be used.

 

Log Reference:

43552 - LOG_ID_EVENT_WIRELESS_WTP_LEAVE

 

To create the trigger in the GUI, browse to Security Fabric -> Automation -> Trigger tab -> Create New.

Select the FortiOS Event Log, and add a name. For the event, add 'Physical AP leave'.

 

00-trigger-offline.jpg

 

To configure the trigger on the CLI:

 

config system automation-trigger

    edit "AP-Offline"

        set event-type event-log

        set logid 43552

    next

end

 

For an automation stitch that will trigger when a FortiAP comes back online, the Log ID 43551 can be used.

 

Log Reference:

43551 - LOG_ID_EVENT_WIRELESS_WTP_JOIN

 

To create the trigger, browse to Security Fabric -> Automation -> Trigger tab -> Create New.

Select FortiOS Event Log and add a name. For the event, add 'Physical AP join'.

 

04-trigger-online.jpg

 

To configure the above automation stitch on the CLI:

 

config system automation-trigger

    edit "AP-Online"

        set event-type event-log

        set logid 43551

    next

end