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

Fortigate CPU/memory leak automation technical tip

Fortigate Automation Stich is great!

 

If you have a security fabric configured you can automate a lot of stuff.

 

You can automate a process restart if there is high CPU or memory :)

 

Example:

 

forti-cpu1.png

 

 

forti-cpu2.png

 

 

High CPU event trigger is already existing but for the memory it is called Conservative mode.

 

 

forti-mem.png

 

 

You can probably use also Playbooks if FortiAnalyzer is licensed for them or FortiManager to push a CLI script to all firewalls if you have no security fabric configured.

 

 

Posts from which I got the idea:

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-restart-WAD-process-on-a-specific-d...

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Execute-a-CLI-Script-based-on-High-Memory-...

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Execute-a-CLI-script-based-on-high-CPU/ta-...

1 REPLY 1
kaman
Staff
Staff

Hi filiaks1,

Thank you for providing the document along with the screenshots.

You may also refer to the document below for instructions on creating a script to automatically kill/restart the WAD process:

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-create-a-script-to-kill-WAD-process...


Regards
Aman

Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors