summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--charts.d/exim.chart.sh4
-rwxr-xr-xcharts.d/postfix.chart.sh8
2 files changed, 6 insertions, 6 deletions
diff --git a/charts.d/exim.chart.sh b/charts.d/exim.chart.sh
index c5ed747b89..e436ce8f20 100644
--- a/charts.d/exim.chart.sh
+++ b/charts.d/exim.chart.sh
@@ -38,14 +38,14 @@ exim_check() {
exim_create() {
cat <<EOF
-CHART exim.qemails '' "Exim Queue Emails" "emails" queue exim.queued.emails line $((exim_priority + 1)) $exim_update_every
+CHART exim_local.qemails '' "Exim Queue Emails" "emails" queue exim.queued.emails line $((exim_priority + 1)) $exim_update_every
DIMENSION emails '' absolute 1 1
EOF
return 0
}
exim_update() {
-echo "BEGIN exim.qemails $1"
+echo "BEGIN exim_local.qemails $1"
echo "SET emails = " `$exim_command -bpc`
echo "END"
return 0
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