Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cacti:postifxqueues [2012/10/11 17:16]
188.143.232.12 LytoSWjLJTthknFki
cacti:postifxqueues [2012/10/15 11:58] (current)
zagi old revision restored
Line 1: Line 1:
-Super excited to see more of this kind of stuff olinne.+====== Postfix queue statistics for Cacti ====== 
 + 
 +''/usr/local/bin/getmailq.sh'' 
 +   #!/bin/bash 
 +   QUEUES="incoming active deferred hold" 
 +   for i in $QUEUES; do 
 +      COUNT=`qshape $i | grep TOTAL | awk '{print $2}'
 +         result="${result} $i:$COUNT " 
 +   done 
 +   echo $result 
 + 
 + 
 +FIXME 
 + 
 +{{cacti:postfixqueues.png|}}
cacti/postifxqueues.1349968570.txt.gz · Last modified: 2012/10/11 17:16 by 188.143.232.12
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready