Description |
This article describes how to create automation to restart a process when the FortiGate reaches conserve mode.
This can be adapted to execute other commands or restart other processes depending on the issue.
This should only be applied as a temporary workaround while waiting for a bug fix. |
Scope | FortiGate v7.0, v7.2, v7.4 |
Solution |
Create an Automation Stitch to try restarting the WAD or IPS processes.
Result:
It is possible to apply these settings directly in the CLI (as shown at the bottom of this article) or in the GUI (as shown below).
Steps in the GUI:
Create Action (Automation stitches).
Script for wad process:
diagnose test application wad 99
Script option for IPS process:
diagnose test application ipsmonitor 99
Create a trigger.
Create a Stitch.
CLI Option.
config system automation-action edit "RestartWAD" set action-type cli-script set minimum-interval 5 set script "diag test app wad 99" set accprofile "super_admin" next end
config system automation-trigger edit "Enters Conserve Mode" set event-type low-memory next end
config system automation-stitch edit "Restart processes" set trigger "Enters Conserve Mode" config actions edit 1 set action "RestartWAD" set required enable next end next end Alternative time-based triggers instead of memory.
It is recommended to restart WAD or IPS daily during a time of low use in order to avoid impacting the network. Otherwise, the FortiGate device may miss automation when in conserve mode because of non-viable memory.
config system automation-trigger config system automation-stitch Note for WAD: There is a new alternative technique to restart WAD from FortiOS v7.2: New FortiOS mechanism to automatically restart WAD workers. This can be applied as a safeguarding mechanic along with the steps outlined in this article.
Related documents:
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.