FortiSIEM
FortiSIEM provides Security Information and Event Management (SIEM) and User and Entity Behavior Analytics (UEBA)
koolishami
Staff
Staff
Article Id 421509
Description

This article describes how to resolve disk warning alerts on FortiSIEM due to high disk usage on the /opt volume and provides a solution to identify and remove unnecessary files and increase disk space if needed.

Scope FortiSIEM v7.x+.
Solution

To resolve disk warning alerts on FortiSIEM, follow these steps:

  1. Check the disk usage on the /opt volume by running the command:


sudo du --max-depth=4 -xh /opt | sort -hr | head -n 30 <----- This will help identify the directories and files consuming the most disk space.

  1. Investigate the /MachineLearning/ directory, as it may be filling up the /opt drive due to temporary files created by Machine Learning. Check if there are any Machine Learning jobs enabled in the FortiSIEM GUI by going to Resources -> Machine Learning Jobs.

  2. If no Machine Learning jobs are enabled, it is safe to remove some of the files to increase disk space. Even though there is a cron job schedule in /etc/cron.d/fsm-crontab to run the phMLCacheCleaner.py, manual script running is possible with the command below:


python3.9 /opt/phoenix/phscripts/bin/phMLCacheCleaner.py

  1. To increase the frequency of the phMLCacheCleaner.py script, review the /etc/cron.d/fsm-crontab file and adjust the schedule as needed.

 

Related articles:

Technical Tip: How to change disk utilization threshold on Health page

Technical Tip: Extend the /opt partition
Contributors