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.
echia
Staff
Staff
Article Id 196097

Description

 

This article describes how to generate warning logs for an expiring FortiGuard license.

 

Scope


FortiGate.


Solution

 

config alertemail setting
set FDS-license-expiring-warning enable
set FDS-license-expiring-days 30
end
 
 
FortiGate will check the license expiration every midnight (00:00:00) .
Warning logs will be generated if the expiration days left are less than or equal to the set value in the command 'FDS-license-expiring-days'. 
 
Note:
Since v7.4.x the 'set FDS-license-expiring-days' command was move to "config system fortiguard" like below:
 
config system fortiguard
    set FDS-licnese-expiring-days <integer>
 

See the below document for more information:

config system fortiguard 

 

Sample logs:
 
date=2021-04-17 time=00:00:00 eventtime=1618642800235396673 tz="-0700" logid="0100020102" type="event" subtype="system" level="warning" vd="root" logdesc="FortiGuard antispam license expiring" msg="FortiGuard anti-spam license will expire in 27 day(s)"
 
date=2021-04-17 time=00:00:00 eventtime=1618642800235394536 tz="-0700" logid="0100020101" type="event" subtype="system" level="warning" vd="root" logdesc="FortiGuard web filter license expiring" msg="FortiGuard web filtering license will expire in 27 day(s)"
 
date=2021-04-17 time=00:00:00 eventtime=1618642800235383611 tz="-0700" logid="0100020104" type="event" subtype="system" level="warning" vd="root" logdesc="FortiGuard IPS license expiring" msg="FortiGuard Industrial IPS update license will expire in 27 day(s)"
 
date=2021-04-17 time=00:00:00 eventtime=1618642800235372391 tz="-0700" logid="0100020104" type="event" subtype="system" level="warning" vd="root" logdesc="FortiGuard IPS license expiring" msg="FortiGuard IPS update license will expire in 27 day(s)"
 
date=2021-04-17 time=00:00:00 eventtime=1618642800230035225 tz="-0700" logid="0100020103" type="event" subtype="system" level="warning" vd="root" logdesc="FortiGuard antivirus license expiring" msg="FortiGuard AV update license will expire in 27 day(s)"