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:
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:
26% was only used as a test.
Some help would be greatly appreciated here as things aren't adding up.