Skip to main content
mhdganji
Explorer III
August 23, 2022
Solved

Distributing updates via one device / report about updates

  • August 23, 2022
  • 2 replies
  • 2225 views

Hi,

Two things on my mind

 

1- Is that possible to set a device to get definitions update from the others? I have a few live fortiguard connected devices but some others who should not have direct Internet connection but can contact the firstly mentioned devices, So I'd like them to get definitions update automatically / scheduled from the live devices. And I need to have this with no extra cost of fortimanager or other devices / software.

 

2- Is there a simple way such as an script or a feature (again with no extra cost of fortimanager or so) to have a report from definitions update or other info like systems firmware / uptime and so ? Maybe via emailing them, having them in a SNMP software or using an API or a web page?

 

Regards,

 

Best answer by lol

Hello,

 

1. This is only possible when using a FortiManager to distribute the update packages

 

 

2. the easiest way on FortiGate would likely be to write an automation stitch (Security Fabric - Automation) and run:

 

> report from definitions update -> "diag autoupdate version" or "get sys stat | grep 'DB\|Database'"

> systems firmware -> "get sys stat | grep Version:"

> uptime -> "get sys perf stat | grep Uptime"

 

 

Several basic stats like firmware version and uptime can also be fetched via SNMP.
Check the OIDs for the ones you need.

> report from definitions update -> fgSysVersionAv fgSysVersionAv 1.3.6.1.4.1.12356.101.4.2.1 / fgSysVersionIps fgSysVersionIps 1.3.6.1.4.1.12356.101.4.2.2
> systems firmware -> fgSoftware 1.3.6.1.4.1.12356.101.4.2
> uptime -> fgSysUpTime 1.3.6.1.4.1.12356.101.4.1.20


Refer to i.e. https://community.fortinet.com/t5/Fortinet-Forum/OID-Lists/m-p/30443 or external pages like https://oidref.com/1.3.6.1.4.1.12356.101.4

 

Regards

2 replies

lol
Staff
lolAnswer
Staff
August 23, 2022

Hello,

 

1. This is only possible when using a FortiManager to distribute the update packages

 

 

2. the easiest way on FortiGate would likely be to write an automation stitch (Security Fabric - Automation) and run:

 

> report from definitions update -> "diag autoupdate version" or "get sys stat | grep 'DB\|Database'"

> systems firmware -> "get sys stat | grep Version:"

> uptime -> "get sys perf stat | grep Uptime"

 

 

Several basic stats like firmware version and uptime can also be fetched via SNMP.
Check the OIDs for the ones you need.

> report from definitions update -> fgSysVersionAv fgSysVersionAv 1.3.6.1.4.1.12356.101.4.2.1 / fgSysVersionIps fgSysVersionIps 1.3.6.1.4.1.12356.101.4.2.2
> systems firmware -> fgSoftware 1.3.6.1.4.1.12356.101.4.2
> uptime -> fgSysUpTime 1.3.6.1.4.1.12356.101.4.1.20


Refer to i.e. https://community.fortinet.com/t5/Fortinet-Forum/OID-Lists/m-p/30443 or external pages like https://oidref.com/1.3.6.1.4.1.12356.101.4

 

Regards

mhdganji
mhdganjiAuthor
Explorer III
August 23, 2022

Hello

 

1- Is there a free version of Fortimanager available to evaluate?

 

2- Is it possible to send those outputs via Email? or run an API to get these info?

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!