Technical Tip: How to create an 'Event Handler'
Description
Â
This article describes how to create an Event Handler for FortiGate to FortiManager connection failures, i.e., when the 'FGFM' tunnel is down.
Scope
FortiManager.
Solution
Â
Configure an Email Server.
Initial configuration:
FortiManager has to have FortiAnalyzer features enabled.
From the Dashboard, switch on FortiAnalyzer Features and confirm.

Configure the SMTP server and test it. Go to System Settings -> Advanced -> Mail Server.
Â

Â
Avoid using spaces in the name, 'SMTP'.
Â

Â
Then, validate the SMTP setting using the 'Test Mail Server' option.
Â

Â
A success message appears.
Create an Event. Go to Incident and Event -> Event Handler List and select 'Create New'.
Â

Enable Email notification.
To: Sender email address.
From: Receiver email address.
Subject: As per Event.
Email Server: Company email server.
Â

