Description | This article describes how to configure an automation stitch to receive an email alert when FortiGate upgrades firmware. |
Scope | FortiGate. |
Solution |
As shown in this image, the current firmware on FortiGate is v7.4.5.
When FortiGate loads an image system log is generated in the system Events. For the image to load successfully log ID will be generated (log id="0100032201).
Create an automation trigger for FortiOS event logs. Select the FortiOS event Log as the image loaded successfully with the correct log as shown in the screenshot.
Create an action that will be performed when this log is generated in the system alert. Email notification is used for action. Add an email address to which the alert will be sent by FortiGate.
Create an Automation stitch and select the trigger and action that was configured above.
After the configuration of the Automation stitch, perform a manual test, and when it will be uploaded the image on FortiGate, it will send the alert email to the email given in action.
Email alert messages are received by email with the details of the log ID and successfully image is loaded.
devname="ion-kvm148" eventtime=1742271339921790999 tz="-0700" logid="0100032201" type="event" subtype="system" level="critical" vd="root" logdesc="Image loaded successfully" user="admin" ui="GUI(172.16.15.1)" action="loaded-image" status="success" msg="User admin loaded an image from GUI(172.16.15.1). The new image does have a valid RSA signature." |