Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
mhdganji
Contributor II

Distributing updates via one device / report about updates

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,

 

M. Ganji, Network & Security Expert.
M. Ganji, Network & Security Expert.
1 Solution
lol
Staff
Staff

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

View solution in original post

2 REPLIES 2
lol
Staff
Staff

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
Contributor II

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?

M. Ganji, Network & Security Expert.
M. Ganji, Network & Security Expert.
Labels
Top Kudoed Authors