From 901c30349b1cbec46bf49220919d9735931c3577 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 14 Oct 2010 13:57:30 +0100 Subject: Finish advanced-virt-df page. --- website/src/learning/advanced-virt-df/index.html | 25 +++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/website/src/learning/advanced-virt-df/index.html b/website/src/learning/advanced-virt-df/index.html index af2789c..ab18e06 100644 --- a/website/src/learning/advanced-virt-df/index.html +++ b/website/src/learning/advanced-virt-df/index.html @@ -148,13 +148,32 @@ over approximately one month, generated using OpenOffice Calc [% WRAPPER h2 h2="Alerts" anchor="alerts" %] -XXX - - +

+You can modify the cron job to send you an email when any +filesystem is going to run out of space. The system is +very flexible and can work on %usage thresholds, absolute +amount of free space remaining, inode numbers and so on. +

+

+The basic plan is outlined in +this blog posting. +

+

+In order to get cron to send you an email, put the code from the above +posting into a script and set up cron like this: +

+
+MAILTO=you@example.com
+0 3 * * *    /path/to/script
+
+

+This will send email if the script produces any output +(ie. when your criteria are met). +

[% END %] -- cgit