Skip to main content
madhan
Staff
Staff
March 26, 2025

Technical Tip: How to configure Email Notifications for backup SFTP connections failure

  • March 26, 2025
  • 0 replies
  • 840 views
Description

This article describes how to set up email notifications for backup SFTP connection issues.

Scope FortiManager, and FortiAnalyzer.
Solution
  1. Enable FortiAnalyzer Features or configure FortiManager to send logs to FortiAnalyzer: Technical Tip: How to send local FortiManager logs to a FortiAnalyzer.
  2. Configure schedule backup by following the KB article: Technical Tip: How to send automatic and scheduled system backup configuration.
  3. Configure Mail Server under FortiAnalyzer -> System setting -> Advanced -> Mail server -> select 'Create new' -> Enter the mail server details.

 

qHQmO2O7o8.png

 

  1. Navigate to Incidents -> Events -> Handlers -> Notification Profiles -> select 'Create New'. Enter the name for the notification profiles and enable 'Send Alert Email'. Configure the details, and for 'Email Server', can just choose the Mail Server created in step 2.

 

chrome_556vpSftMz.png

 

  1. Navigate under Incidents -> Events -> Handlers -> Basic Handlers -> Select 'Create New'. Fill in the Name of the Handler and Notifications and choose the Notification Profile created in Step 3.

 

chrome_txCv6sYxCr.png

 

Select 'Add New Rule', configure the following settings:

  • Name:
    • Log Device Type: FortiAnalyzer.
    • Log Type: Event Log (event).
    • Log Field: Message (msg).
    • Log Filter by Text: msg=="Backup all settings failed (upload failed)".

 

Note:

Analyzing raw logs will provide a better understanding of creating specific event handlers.

 

Related article:

Technical Tip: How to send automatic and scheduled system backup configuration

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!