summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-10-14 13:57:30 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-14 13:57:30 +0100
commit901c30349b1cbec46bf49220919d9735931c3577 (patch)
tree150c4edc8fdc3f8b5ca28ec17afc8419a656fbe7
parenta6157e71ef80dd60b3001f4b1741353faeb28acb (diff)
downloadvirt-tools-901c30349b1cbec46bf49220919d9735931c3577.tar.gz
virt-tools-901c30349b1cbec46bf49220919d9735931c3577.tar.xz
virt-tools-901c30349b1cbec46bf49220919d9735931c3577.zip
Finish advanced-virt-df page.
-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 %]