Created on 08-24-2023 06:15 AM Edited on 10-30-2024 07:24 AM By Jean-Philippe_P
This article describes how to use scripts to monitor a FortiGate that is suffering from high CPU or high memory usage. If the device goes into conserve mode or high CPU, the logs obtained will help isolate the issue when shared with TAC.
FortiGate v6.4 and later.
To run the script, follow the steps below.
Note:
Do not close the logging or script window.
Note:
Once the script is in place, monitor the CPU and Memory. If a high CPU or memory is seen, let the script run for 10-15 minutes more, then stop it and upload the logs to the corresponding TAC case.
Note:
If the script gets logout automatically, adjust the login timeout period following this command:
config system global
set admin-ssh-grace-time <number_of_seconds> <<max 3600 seconds
end
Note:
Customize the script based on the requirement, the script attached to the document is for general troubleshooting.
TTL command reference (osdn.jp)
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.