From 7c3074b5f05424f971bb18632211b59849064627 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Wed, 1 Aug 2018 22:32:40 +0200 Subject: [PATCH] Adjust categories for some mail-related plugins --- plugins/mail/imap_bandwidth | 2 +- plugins/mail/mail_connections | 2 +- plugins/mail/postfwd-rbl | 2 +- plugins/mail/procmail_ | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/mail/imap_bandwidth b/plugins/mail/imap_bandwidth index be8084b1..18060355 100755 --- a/plugins/mail/imap_bandwidth +++ b/plugins/mail/imap_bandwidth @@ -116,7 +116,7 @@ fi if [ "$1" = "config" ]; then echo 'graph_title IMAP bandwidth' echo 'graph_vlabel to (+) / from (-) server [bit/s]' - echo 'graph_category network' + echo 'graph_category mail' for item in $SERVERS; do key="$(echo "$item" | cut -f 1 -d =)" clean_name="$(clean_fieldname "$key")" diff --git a/plugins/mail/mail_connections b/plugins/mail/mail_connections index 0a59cbef..ade4f790 100755 --- a/plugins/mail/mail_connections +++ b/plugins/mail/mail_connections @@ -31,7 +31,7 @@ if [ "$1" = "config" ]; then graph_title Open mail server connections graph_args --base 1000 -l 0 graph_vlabel connections per second -graph_category Mail +graph_category mail EOT echo "$PORTS" | while read port field label; do echo "${field}.label $label" diff --git a/plugins/mail/postfwd-rbl b/plugins/mail/postfwd-rbl index c2278f6c..e875e160 100755 --- a/plugins/mail/postfwd-rbl +++ b/plugins/mail/postfwd-rbl @@ -28,7 +28,7 @@ fi if [ "$1" = "config" ]; then echo 'graph_title Postfwd' - echo 'graph_category fw' + echo 'graph_category spamfilter' echo 'graph_args --base 1000 -l 0' echo 'graph_vlabel Postfwd statistics' echo 'spamhaus.label Listed on Spamhaus.org' diff --git a/plugins/mail/procmail_ b/plugins/mail/procmail_ index 1838c0b3..8c259caa 100755 --- a/plugins/mail/procmail_ +++ b/plugins/mail/procmail_ @@ -35,7 +35,7 @@ sub config { print "graph_title Destination folders for Postfix\n", "graph_vlabel Received mails\n", - "graph_category Mail\n", + "graph_category mail\n", "graph_info Gives you the total mails stored by Postfix by folder\n"; print "$_.label $_\n" foreach sort keys %{$state->{folders}}; }