FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
sourav
Staff
Staff
Article Id 210895
Description

 

This article describes how to get an email alert, at a particular time interval
with respect to the MEMORY and CPU usages.

 

Scope

 

FortiGate.

 

Solution

 

Go to the Security Fabric -> Automation, select 'Create New' and add a name (EX TEST).

 

sourav_0-1651218411660.png

 

After that, select 'Add Trigger' option and select 'Create'.
From the open tab select Forti-os event log under miscellaneous.

 

sourav_1-1651218438459.png

 

Then add a name (EX- Mem-CPU usages) under the event filed, select 'System
performance statistics', and select 'OK'.

 

sourav_2-1651218472896.png

 

Then select the trigger and select 'Apply'.

 

Thereafter click on add action and edit the default email setting.
To -the email section add the email (EX- abc@gmail.com).
Then edit the subject and body as per requirement and select 'OK'.


On the minimum interval filed, it is possible to set how frequent to get an alert.

 

sourav_3-1651218511867.png

 

Then select the default email and select 'Apply'.
The sample logs will look like the below.


date=2022-04-29 time=09:08:45 devid="FGVM02TM20000569" devname="nitrogen-kvm60" eventtime=1651216124813424037 tz="+0200" logid="0100040704" type="event" subtype="system" level="notice" vd="root" logdesc="System performance statistics" action="perf-stats" cpu=0 mem=55 totalsession=39 disk=1 bandwidth="5/115" setuprate=1 disklograte=0 fazlograte=0 freediskstorage=15190 sysuptime=87022 waninfo="N/A" msg="Performance statistics: average CPU: 0, memory: 55, concurrent sessions: 39, setup-rate: 1"

Contributors