summaryrefslogtreecommitdiff
path: root/bytemark/bin/custodian-queue-monitor
diff options
context:
space:
mode:
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