Description |
This article describes how to configure an automation stitch to receive email alerts for a failed HA peer member. |
Scope | FortiGate, all versions. |
Solution |
Create an automation stitch for email notifications to get alerts when the HA peer member fails under Security Fabric -> Automation Stitch, and select Create New. Create a trigger to detect the HA interface peer information.
Email configuration:
Automation stitch trigger:
Event logs:
date=2025-02-26 time=20:18:51 eventtime=1740622731694937776 tz="-0600" logid="0108037893" type="event" subtype="ha" level="critical" vd="root" logdesc="Virtual cluster member dead" msg="Virtual cluster detected member dead" vcluster=1 ha_group=110 sn="FGVM02TMXXXXXXXX" date=2025-02-26 time=20:18:51 eventtime=1740622731692102529 tz="-0600" logid="0108037910" type="event" subtype="ha" level="critical" vd="root" logdesc="Heartbeat packet lost" msg="Heartbeat packet lost" ha_role="primary" devintfname="port5" date=2025-02-26 time=20:18:47 eventtime=1740622727800384882 tz="-0600" logid="0108037901" type="event" subtype="ha" level="critical" vd="root" logdesc="Heartbeat device interface down" msg="Heartbeat device(interface) down" ha_role="primary" devintfname="port5" CLI configuration: config system automation-stitch edit "HA status down" set trigger "HA status down" config actions edit 1 set action "HA status failed" set required enable next end next end Trigger configuration using the CLI:
config system automation-trigger edit "HA status down" set description '' set trigger-type event-based set event-type event-log set logid 37899 next end Email Action configuration using the CLI:
set description '' set action-type email set forticare-email disable set email-to "xyz@fortinet.com" set email-from '' set email-subject "HA status failed" set minimum-interval 0 set message "%%log%%" set replacement-message disable next end
Related documents: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.