summaryrefslogtreecommitdiff
path: root/bytemark/bin/custodian-queue-monitor
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-12-06 10:16:46 +0000
committerSteve Kemp <steve@steve.org.uk>2012-12-06 10:16:46 +0000
commite4415ed965fde2750d6f2faa1d71d57bdad13125 (patch)
tree1dafb1599a2574e014f25bad8aff75c18e2cdda0 /bytemark/bin/custodian-queue-monitor
parentab0088583b9e479ccade54f39be38d91fb30c09a (diff)
Package reorganization:
Created a new package custodian-bytemark which installs a queue-monitoring cronjob.
Diffstat (limited to 'bytemark/bin/custodian-queue-monitor')
-rwxr-xr-xbytemark/bin/custodian-queue-monitor7
1 files changed, 7 insertions, 0 deletions
diff --git a/bytemark/bin/custodian-queue-monitor b/bytemark/bin/custodian-queue-monitor
new file mode 100755
index 0000000..91a0364
--- /dev/null
+++ b/bytemark/bin/custodian-queue-monitor
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if ( custodian-queue --monitor ) ; then
+ echo "All OK"
+else
+ echo "Too large a queue"
+fi