summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--website/src/learning/advanced-virt-df/index.html25
1 files 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
-
-
+<p>
+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.
+</p>
+<p>
+The basic plan is outlined in
+<a href="http://rwmj.wordpress.com/2010/04/02/tip-find-out-when-filesystems-get-full-with-virt-df-working-version/#content">this blog posting</a>.
+</p>
+<p>
+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:
+</p>
+<pre>
+MAILTO=you@example.com
+0 3 * * * /path/to/script
+</pre>
+<p>
+This will send email if the script produces any output
+(ie. when your criteria are met).
+</p>
[% END %]