diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/qmail-mrtg.pop3d.sample | 35 | ||||
-rw-r--r-- | etc/qmail-mrtg.send.sample | 108 | ||||
-rw-r--r-- | etc/qmail-mrtg.smtpd.sample | 179 |
3 files changed, 322 insertions, 0 deletions
diff --git a/etc/qmail-mrtg.pop3d.sample b/etc/qmail-mrtg.pop3d.sample new file mode 100644 index 0000000..736d99e --- /dev/null +++ b/etc/qmail-mrtg.pop3d.sample @@ -0,0 +1,35 @@ +WorkDir: HTDOCS +EnableIPv6: no +############################################################# + +Title[pop3-session]: HOSTNAME - qmail-popup (Accepted+Rejected User) +MaxBytes[pop3-session]: 100 +Options[pop3-session]: gauge, nopercent +Target[pop3-session]: `cat LOGFILE | QMAILHOME/bin/qmail-mrtg -A` +PageTop[pop3-session]: <font face=arial size=3><B>HOSTNAME</B> - qmail-popup (Accepted+Rejected User)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[pop3-session]: Sessions +Legend1[pop3-session]: User accepted +Legend2[pop3-session]: User rejected +Legend3[pop3-session]: max. 5 minutes user accepted +Legend4[pop3-session]: max. 5 minutes user rejected +LegendI[pop3-session]: Accepted: +LegendO[pop3-session]: Rejected: +WithPeak[pop3-session]: ymwd + +#------------------------------------------------------------------- + +Title[pop3-connection]: HOSTNAME - qmail-pop3d (Connections) +MaxBytes[pop3-connection]: 100 +Options[pop3-connection]: gauge, nopercent +Target[pop3-connection]: `cat LOGFILE | QMAILHOME/bin/qmail-mrtg -B` +PageTop[pop3-connection]: <font face=arial size=3><B>HOSTNAME</B> - qmail-pop3d (Connections)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[pop3-connection]: Connections +Legend1[pop3-connection]: qmail-pop3d accepted +Legend2[pop3-connection]: qmail-pop3d rejected +Legend3[pop3-connection]: max. 5 minutes qmail-pop3d accepted +Legend4[pop3-connection]: max. 5 minutes qmail-pop3d rejected +LegendI[pop3-connection]: Accepted: +LegendO[pop3-connection]: Rejected: +WithPeak[pop3-connection]: ymwd + +#------------------------------------------------------------------- diff --git a/etc/qmail-mrtg.send.sample b/etc/qmail-mrtg.send.sample new file mode 100644 index 0000000..ecee472 --- /dev/null +++ b/etc/qmail-mrtg.send.sample @@ -0,0 +1,108 @@ +WorkDir: HTDOCS +EnableIPv6: no +############################################################# + +Title[deliveries]: HOSTNAME - qmail-send (Deliveries/TLS transmitted) +MaxBytes[deliveries]: 1000 +AbsMax[deliveries]: 10000 +Options[deliveries]: gauge +Target[deliveries]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -1` +PageTop[deliveries]: <font face=arial size=3><B>HOSTNAME</B> - qmail-send (Deliveries)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +ShortLegend[deliveries]: Deliveries +YLegend[deliveries]: Deliveries +Legend1[deliveries]: Deliveries +LegendI[deliveries]: Deliveries: +LegendO[deliveries]: TLS tansmitted: +WithPeak[deliveries]: ymwd + +#------------------------------------------------------------------- + +Title[bytes]: HOSTNAME - qmail-send (Bytes Transfered) +MaxBytes[bytes]: 1000 +AbsMax[bytes]: 100000000 +Options[bytes]: gauge +Target[bytes]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -2` +PageTop[bytes]: <font face=arial size=3><B>HOSTNAME</B> - qmail-send (Bytes Transfered)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +ShortLegend[bytes]: kB +YLegend[bytes]: KBytes +Legend1[bytes]: KBytes +LegendI[bytes]: KBytes: +LegendO[bytes]: KBytes: +WithPeak[bytes]: ymwd + +#------------------------------------------------------------------- + +Title[concurrency]: HOSTNAME - qmail-send (Concurrency) +MaxBytes[concurrency]: 1000 +AbsMax[concurrency]: 10000 +Options[concurrency]: gauge +Target[concurrency]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -3` +PageTop[concurrency]: <font face=arial size=3><B>HOSTNAME</B> - qmail-send (Concurrency)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +ShortLegend[concurrency]: Concurrency +YLegend[concurrency]: Concurrency +Legend1[concurrency]: Concurrency +LegendI[concurrency]: Local: +LegendO[concurrency]: Remote: +WithPeak[concurrency]: ymwd + +#------------------------------------------------------------------- + +Title[smtp-problems]: HOSTNAME - qmail-remote (Failures/Deferrals) +MaxBytes[smtp-problems]: 100 +AbsMax[smtp-problems]: 10000 +Options[smtp-problems]: gauge +Target[smtp-problems]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -4` +PageTop[smtp-problems]: <font face=arial size=3><B>HOSTNAME</B> - qmail-remote (Failures/Deferrals)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +ShortLegend[smtp-problems]: Messages +YLegend[smtp-problems]: Messages +Legend1[smtp-problems]: Messages +LegendI[smtp-problems]: Failures: +LegendO[smtp-problems]: Deferrals: +WithPeak[smtp-problems]: ymwd + +#------------------------------------------------------------------- + +Title[bounces]: HOSTNAME - qmail-send (Bounces) +MaxBytes[bounces]: 100 +AbsMax[bounces]: 10000 +Options[bounces]: gauge +Target[bounces]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -5` +PageTop[bounces]: <font face=arial size=3><B>HOSTNAME</B> - qmail-send (Bounces)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +ShortLegend[bounces]: Messages +YLegend[bounces]: Messages +Legend1[bounces]: Messages +LegendI[bounces]: Bounces: +LegendO[bounces]: Triple bounces: +WithPeak[bounces]: ymwd + +#------------------------------------------------------------------- + +Title[qmtp-deliveries]: HOSTNAME - qmail-remote (QMTP/QMTPS Sessions) +MaxBytes[qmtp-deliveries]: 100 +AbsMax[qmtp-deliveries]: 10000 +Options[qmtp-deliveries]: gauge +Target[qmtp-deliveries]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -6` +PageTop[qmtp-deliveries]: <font face=arial size=3><B>HOSTNAME</B> - qmail-remote (QMTP/QMTPS)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +ShortLegend[qmtp-deliveries]: Messages +YLegend[qmtp-deliveries]: Messages +Legend1[qmtp-deliveries]: Messages +LegendI[qmtp-deliveries]: QMTP: +LegendO[qmtp-deliveries]: QMTPS: +WithPeak[qmtp-deliveries]: ymwd + +#------------------------------------------------------------------- + +Title[queue-size]: HOSTNAME - qmail-queue (Queue Size) +MaxBytes[queue-size]: 1000 +AbsMax[queue-size]: 10000 +Options[queue-size]: gauge +Target[queue-size]: `SQMAIL/bin/qmail-mrtg-queue` +PageTop[queue-size]: <font face=arial size=3><B>HOSTNAME</B> - qmail-queue (Queue Size)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +ShortLegend[queue-size]: Messages +YLegend[queue-size]: Messages +Legend1[queue-size]: Messages +LegendI[queue-size]: Messages: +LegendO[queue-size]: Unprocessed Messages: +WithPeak[queue-size]: ymwd + +#------------------------------------------------------------------- diff --git a/etc/qmail-mrtg.smtpd.sample b/etc/qmail-mrtg.smtpd.sample new file mode 100644 index 0000000..6868eb5 --- /dev/null +++ b/etc/qmail-mrtg.smtpd.sample @@ -0,0 +1,179 @@ +WorkDir: HTDOCS +EnableIPv6: no +############################################################# + +Title[smtpd-session]: HOSTNAME - qmail-smtpd (Total Sessions) +MaxBytes[smtpd-session]: 100 +Options[smtpd-session]: gauge, nopercent +Target[smtpd-session]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -a` +PageTop[smtpd-session]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (Total Sessions)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[smtpd-session]: Sessions +Legend1[smtpd-session]: qmail-smtpd accepted +Legend2[smtpd-session]: qmail-smtpd rejected +Legend3[smtpd-session]: max. 5 minutes qmail-smtpd accepted +Legend4[smtpd-session]: max. 5 minutes qmail-smtpd rejected +LegendI[smtpd-session]: Accepted: +LegendO[smtpd-session]: Rejected: +WithPeak[smtpd-session]: ymwd + +#------------------------------------------------------------------- + +Title[accepted-session]: HOSTNAME - qmail-smtpd (Accepted and Rejected Sessions) +MaxBytes[accepted-session]: 100 +Options[accepted-session]: gauge, nopercent +Target[accepted-session]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -b` +PageTop[accepted-session]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (Accepted+Rejected Sessions)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[accepted-session]: Sessions +Legend1[accepted-session]: Originator accepted +Legend2[accepted-session]: Recipient accepted +Legend3[accepted-session]: max. 5 minutes originator accepted +Legend4[accepted-session]: max. 5 minutes recipient accepted +LegendI[accepted-session]: Originator: +LegendO[accepted-session]: Recipient: +WithPeak[accepted-session]: ymwd + +#------------------------------------------------------------------- + +Title[rejected-sender]: HOSTNAME - qmail-smtpd (Rejected Sender) +MaxBytes[rejected-sender]: 100 +Options[rejected-sender]: gauge, nopercent +Target[rejected-sender]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -c` +PageTop[rejected-sender]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (Rejected Sender)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[rejected-sender]: Sessions +Legend1[rejected-sender]: Invalid relay +Legend2[rejected-sender]: Badhelo greeting +Legend3[rejected-sender]: max. 5 minutes relaying attempts rejected +Legend4[rejected-sender]: max. 5 minutes badhelo greeting rejected +LegendI[rejected-sender]: Relay: +LegendO[rejected-sender]: HELO/EHLO: +WithPeak[rejected-sender]: ymwd + +#------------------------------------------------------------------- + +Title[rejected-originator]: HOSTNAME - qmail-smtpd (Rejected Originators) +MaxBytes[rejected-originator]: 100 +Options[rejected-originator]: gauge, nopercent +Target[rejected-originator]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -d` +PageTop[rejected-originator]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (Rejected Originators)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[rejected-originator]: Sessions +Legend1[rejected-originator]: Badmailfrom rejected +Legend2[rejected-originator]: DNS MF rejected +Legend3[rejected-originator]: max. 5 minutes badmailfrom rejected +Legend4[rejected-originator]: max. 5 minutes DNS MF rejected +LegendI[rejected-originator]: Badmailfrom: +LegendO[rejected-originator]: DNS MF: +WithPeak[rejected-originator]: ymwd + +#------------------------------------------------------------------- + +Title[rejected-recipient]: HOSTNAME - qmail-smtpd (Rejected Recipients) +MaxBytes[rejected-recipient]: 100 +Options[rejected-recipient]: gauge, nopercent +Target[rejected-recipient]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -e` +PageTop[rejected-recipient]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (Rejected Recipients)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[rejected-recipient]: Sessions +Legend1[rejected-recipient]: Badrcptto rejected +Legend2[rejected-recipient]: Invalid recipients +Legend3[rejected-recipient]: max. 5 minutes badrcptto rejected +Legend4[rejected-recipient]: max. 5 minutes invalid recipients rejected +LegendI[rejected-recipient]: Badrcptto: +LegendO[rejected-recipient]: Recipient: +WithPeak[rejected-recipient]: ymwd + +#------------------------------------------------------------------- + +Title[rejected-base64]: HOSTNAME - qmail-smtpd (Rejected BASE64) +MaxBytes[rejected-base64]: 100 +Options[rejected-base64]: gauge, nopercent +Target[rejected-base64]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -f` +PageTop[rejected-base64]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (Rejected BASE64)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[rejected-base64]: Sessions +Legend1[rejected-base64]: Bad mimetypes +Legend2[rejected-base64]: Bad loadertypes +Legend3[rejected-base64]: max. 5 minutes mime rejected +Legend4[rejected-base64]: max. 5 minutes loader rejected +LegendI[rejected-base64]: Bad MIME: +LegendO[rejected-base64]: Bad LOADER: +WithPeak[rejected-base64]: ymwd + +#------------------------------------------------------------------- + +Title[rejected-data]: HOSTNAME - qmail-smtpd (Rejected Data) +MaxBytes[rejected-data]: 100 +Options[rejected-data]: gauge, nopercent +Target[rejected-data]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -g` +PageTop[rejected-data]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (Rejected Data)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[rejected-data]: Sessions +Legend1[rejected-data]: Virus infected +Legend2[rejected-data]: Spam messages +Legend3[rejected-data]: max. 5 minutes virus rejected +Legend4[rejected-data]: max. 5 minutes spam rejected +LegendI[rejected-data]: Virus: +LegendO[rejected-data]: Spam: +WithPeak[rejected-data]: ymwd + +#------------------------------------------------------------------- + +Title[auth-session]: HOSTNAME - qmail-smtpd (Authentication) +MaxBytes[auth-session]: 100 +Options[auth-session]: gauge, nopercent +Target[auth-session]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -h` +PageTop[auth-session]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (Authentication)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[auth-session]: Sessions +Legend1[auth-session]: Authentication accepted +Legend2[auth-session]: Authentication rejected +Legend3[auth-session]: max. 5 minutes Authentication accepted +Legend4[auth-session]: max. 5 minutes Authentication rejected +LegendI[auth-session]: Accepted: +LegendO[auth-session]: Rejected: +WithPeak[auth-session]: ymwd + +#------------------------------------------------------------------- + +Title[tls-session]: HOSTNAME - qmail-smtpd (TLS Sessions) +MaxBytes[tls-session]: 100 +Options[tls-session]: gauge, nopercent +Target[tls-session]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -i` +PageTop[tls-session]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (TLS Sessions)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[tls-session]: TLS Sessions +Legend1[tls-session]: Accepted +Legend2[tls-session]: Rejected +Legend3[tls-session]: max. 5 minutes TLS accepted +Legend4[tls-session]: max. 5 minutes TLS rejected +LegendI[tls-session]: Accepted: +LegendO[tls-session]: Rejected: +WithPeak[tls-session]: ymwd + +#------------------------------------------------------------------- + +Title[spf-session]: HOSTNAME - qmail-smtpd (SPF) +MaxBytes[spf-session]: 100 +Options[spf-session]: gauge, nopercent +Target[spf-session]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -j` +PageTop[spf-session]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (SPF Sessions)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[spf-session]: SPF Sessions +Legend1[spf-session]: Accepted +Legend2[spf-session]: Rejected +Legend3[spf-session]: max. 5 minutes SPF accepted +Legend4[spf-session]: max. 5 minutes SPF rejected +LegendI[spf-session]: Accepted: +LegendO[spf-session]: Rejected: +WithPeak[spf-session]: ymwd + +#------------------------------------------------------------------- + +Title[smtp-connection]: HOSTNAME - qmail-smtpd (tcpserver/sslserver + rblsmtpd Connections) +MaxBytes[smtp-connection]: 100 +Options[smtp-connection]: gauge, nopercent +Target[smtp-connection]: `cat LOGFILE | SQMAIL/bin/qmail-mrtg -z` +PageTop[smtp-connection]: <font face=arial size=3><B>HOSTNAME</B> - qmail-smtpd (tcpserver/sslserver + rblsmtpd Connections)</font><br><font size=1 face=arial>s/qmail MRTG Stats collector <a href=http://HOSTNAME>HOSTNAME</a></font> +YLegend[smtp-connection]: Connections +Legend1[smtp-connection]: tcpserver/sslserver connection ok +Legend2[smtp-connection]: tcpserver/sslserver connection deny/rejected +Legend3[smtp-connection]: max. 5 minutes connection ok +Legend4[smtp-connection]: max. 5 minutes connectiosn deny/rejected +LegendI[smtp-connection]: connection ok: +LegendO[smtp-connection]: connection deny: +WithPeak[smtp-connection]: ymwd + +#------------------------------------------------------------------- |