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

Description
This article describes how to generate the warning logs of FortiGuard license expiring.

 

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'. 
 
 
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)"
 

 

Contributors