diff options
author | paulfantom <paulfantom@gmail.com> | 2016-07-14 13:34:01 +0200 |
---|---|---|
committer | paulfantom <paulfantom@gmail.com> | 2016-07-14 13:34:01 +0200 |
commit | 55bd20b395e405ff36d5f0b7e7242397c3cad6d8 (patch) | |
tree | 37b8b0f4f087f98cae29fb44f3b6f97a43745c4b /charts.d/postfix.chart.sh | |
parent | 0b7d04243d8c390e3cdb9a128022ca384e86949a (diff) |
add `_local` to postfix and exim bash scripts
Diffstat (limited to 'charts.d/postfix.chart.sh')
-rwxr-xr-x | charts.d/postfix.chart.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/charts.d/postfix.chart.sh b/charts.d/postfix.chart.sh index f4f7102754..e705733cb7 100755 --- a/charts.d/postfix.chart.sh +++ b/charts.d/postfix.chart.sh @@ -43,9 +43,9 @@ postfix_check() { postfix_create() { cat <<EOF -CHART postfix.qemails '' "Postfix Queue Emails" "emails" queue postfix.queued.emails line $((postfix_priority + 1)) $postfix_update_every +CHART postfix_local.qemails '' "Postfix Queue Emails" "emails" queue postfix.queued.emails line $((postfix_priority + 1)) $postfix_update_every DIMENSION emails '' absolute 1 1 -CHART postfix.qsize '' "Postfix Queue Emails Size" "emails size in KB" queue postfix.queued.size area $((postfix_priority + 2)) $postfix_update_every +CHART postfix_local.qsize '' "Postfix Queue Emails Size" "emails size in KB" queue postfix.queued.size area $((postfix_priority + 2)) $postfix_update_every DIMENSION size '' absolute 1 1 EOF @@ -80,10 +80,10 @@ postfix_update() { # write the result of the work. cat <<VALUESEOF -BEGIN postfix.qemails $1 +BEGIN postfix_local.qemails $1 SET emails = $postfix_q_emails END -BEGIN postfix.qsize $1 +BEGIN postfix_local.qsize $1 SET size = $postfix_q_size END VALUESEOF |