Skip to content

Install a cron job to periodically monitor disk use, and send a notification email if space exceeds the configured threshold

License

Notifications You must be signed in to change notification settings

AcroMedia/ansible-role-simple-disk-space-notify

Repository files navigation

ansible-role-simple-disk-space-notify

Install a cron job to periodically monitor disk use, and send a notification email if space exceeds the configured threshold

This is a trivial script for simple/legacy servers. You can use it as a backup, but you should have better monitoring in place.

See defaults/main.yml for config options.

Requirements

  • The mail command line util must be installed.
  • You must have already configured your server to be able to deliver mail to the outside world.

The acromedia.postfix is a good starting place for the above.

About

Install a cron job to periodically monitor disk use, and send a notification email if space exceeds the configured threshold

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages