From ea382ede4ef194c11f982c3ca3bb85a791cbad79 Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Sun, 26 Feb 2012 03:45:47 +0100 Subject: [PATCH] improved graph labels added changelog --- plugins/mail/imap_bandwidth | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/mail/imap_bandwidth b/plugins/mail/imap_bandwidth index 21fde171..fc5cd894 100755 --- a/plugins/mail/imap_bandwidth +++ b/plugins/mail/imap_bandwidth @@ -1,4 +1,11 @@ #!/bin/sh +# +# Revision 1.1 2012/02/26 03:43:27 +# Improved labels +# +# Revision 1.0 2012/02/25 21:31:16 +# Initial release +# : <<=cut =head1 NAME @@ -107,13 +114,14 @@ if [ "$1" = "autoconf" ]; then fi if [ "$1" = "config" ]; then - echo 'graph_title IMAP speed' - echo 'graph_vlabel upload/download speed [bit/s]' + echo 'graph_title IMAP bandwidth' + echo 'graph_vlabel to (+) / from (-) server [bit/s]' echo 'graph_category network' for item in $SERVERS; do key="$(echo "$item" | cut -f 1 -d =)" clean_name="$(clean_fieldname "$key")" echo "download_${clean_name}.graph no" + echo "download_${clean_name}.label download" echo "upload_${clean_name}.label $key" echo "upload_${clean_name}.negative download_${clean_name}" done