custom range picker for graphs browser. (thanks to Michael Hsu).

git-svn-id: http://www.observium.org/svn/observer/trunk@2896 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-03-16 10:35:12 +00:00
parent e291e8de4d
commit 34c4793265
20 changed files with 2002 additions and 9 deletions
+9 -9
View File
@@ -1,13 +1,13 @@
#!/bin/bash
#!/bin/bash
#Written by Valec 2006. Steal and share.
#Get postfix queue lengths
#Written by Valec 2006. Steal and share.
#Get postfix queue lengths
#extend mailq /opt/observer/scripts/getmailq.sh
#extend mailq /opt/observer/scripts/getmailq.sh
QUEUES="incoming active deferred hold"
QUEUES="incoming active deferred hold"
for i in $QUEUES; do
COUNT=`qshape $i | grep TOTAL | awk '{print $2}'`
printf "$COUNT\n"
done
for i in $QUEUES; do
COUNT=`qshape $i | grep TOTAL | awk '{print $2}'`
printf "$COUNT\n"
done