summaryrefslogtreecommitdiff
path: root/bytemark/bin
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
commitd61bb450f858acec427d64f568aa5f1951f2d3da (patch)
tree1844285e0f3b0ea85f6412fc77066b28a549f1df /bytemark/bin
parentf38dd5f691218e7eb0bee85c1d6491117cba03b9 (diff)
Package reorganization:
Created a new package custodian-bytemark which installs a queue-monitoring cronjob. --HG-- rename : debian/docs => debian/custodian.docs rename : debian/examples => debian/custodian.examples rename : debian/install => debian/custodian.install rename : debian/manpages => debian/custodian.manpages
Diffstat (limited to 'bytemark/bin')
-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