Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The setting is named "Automatic disk space cleanup" and has these options:

  • Delete files older than
    Used to configure the age of files that should be deleted automatically - not set by default (factory settings)

  • Delete additional files when disk space is below
    Used to configure minimum free disk space before deleting files and lets you configure the age of files to keep (not to be deleted) - not set by default (factory settings)

  • Cleanup abandoned host files older than
    Used to configure when to delete files of abandoned hosts - set by default (factory settings) to 30 days so that these files get deleted 30 days after the host has been removed from monitoring

Setup → General → Global settings → Automatic disk space cleanup

Screenshot of cleanup abandoned host files older than option within global settingsImage Modified

Automatic execution

...

When started manually or automatically by a cronjob, the diskspace command behaves like this:

  1. read in configuration (set in global settings)

  2. load plugins from ~/share/diskspace

  3. load custom plugins from ~/local/share/diskspace, if existent - yes, you can define additional plugins yourselves

  4. collect paths and time information of all paths defined in loaded plugins

  5. delete files according to configured settings


...