Hi all,
Attempting to run a script to remove log files older than X amount of days when disk space is below a certain percentage. I know the script works, just trying to figure out the mechanism. I have included what I believe to be correct in the "Alerts" tab within Global Properties, so it looks something like:
![Popup Alert Script.png Popup Alert Script.png](https://community.checkpoint.com/t5/image/serverpage/image-id/3917i9DF8D8B08CA886E1/image-dimensions/500x104?v=v2)
This file is within /home/admin and can be executed by anyone.
Is this the correct way of doing this kind of task?
Strangely I'm also seeing irregularities in the monitoring side of things when it comes to how much disk space is actually left. The CLI reports around 80% usage but our monitoring software reports 25% left?
Here is the Disk Space Management section within the Management server configuration:
![Disk Space Management.png Disk Space Management.png](https://community.checkpoint.com/t5/image/serverpage/image-id/3918iF6B9970EA463CC4C/image-dimensions/529x95?v=v2)
26% was only used as a test.
Some help would be greatly appreciated here as things aren't adding up.
Tom