PFV Infra 2.0, here we go...

This commit is contained in:
2025-06-12 11:39:43 -05:00
parent 38f3531f06
commit 867371f736
19 changed files with 1372 additions and 0 deletions

13
librenms/postfix-queues Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
#Written by Valec 2006. Steal and share.
#Get postfix queue lengths
#extend mailq /opt/observer/scripts/getmailq.sh
QUEUES="incoming active deferred hold"
for i in $QUEUES; do
COUNT=`qshape $i | grep TOTAL | awk '{print $2}'`
printf "$COUNT\n"
done