aboutsummaryrefslogtreecommitdiff
path: root/bytemark_example_alerts.sh
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-06-16 13:41:04 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-06-16 13:41:04 +0100
commit0b553879d0606b3f24047302e8958f9610341f2b (patch)
treeba24e5f1ee4219ebaa03a95ba36bf7980aa30a87 /bytemark_example_alerts.sh
parent6910aeda9ee2b05f95817921a67c1a3c5f7dbfd0 (diff)
Added alert sorting and grouping in the web interface.
Diffstat (limited to 'bytemark_example_alerts.sh')
-rwxr-xr-xbytemark_example_alerts.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/bytemark_example_alerts.sh b/bytemark_example_alerts.sh
index 7d05583..c606423 100755
--- a/bytemark_example_alerts.sh
+++ b/bytemark_example_alerts.sh
@@ -36,8 +36,14 @@ $PRE -o thresholds -i 1 -u bl1-1.bytemark.co.uk \
-s "bl1-1 exceeded 10Mb/s on bond0" \
-d "<h1>Hello there</h1><p>Here is a paragraph</p><p>And another one</p>"
-$PRE -o thresholds -i 2 -u bl1-11.bytemark.co.uk \
- -s "bl1-11 has less than 1GB free memory"
+$PRE -o thresholds -i 2 -u bl1-1.bytemark.co.uk \
+ -s "bl1-1 has less than 1GB free memory"
+
+$PRE -o vmhs -i 3 -u bl1-1.bytemark.co.uk \
+ -s "bl1-1 is shagged."
+
+$PRE -o networkmonitor -i 4 -u bl1-1.bytemark.co.uk \
+ -s "bl1-1 is shagged. Awooga"
$PRE -o thresholds -i 3 -u rom.sh.bytemark.co.uk \
-s "rom.sh.bytemark.co.uk has 1/2 discs available in /dev/md0" \