diff options
Diffstat (limited to 'charts.d/postfix.chart.sh')
-rwxr-xr-x | charts.d/postfix.chart.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/charts.d/postfix.chart.sh b/charts.d/postfix.chart.sh index 4132962224..e55ca15906 100755 --- a/charts.d/postfix.chart.sh +++ b/charts.d/postfix.chart.sh @@ -1,6 +1,7 @@ #!/bin/sh postfix_postqueue= +postfix_update_every=60 postfix_check() { # this should return: @@ -36,9 +37,9 @@ postfix_check() { postfix_create() { cat <<EOF -CHART postfix.qemails '' "Postfix Queue Emails" "emails" postfix postfix line 5000 $update_every -DIMENSION emails '' absolute-no-interpolation 1 1 -CHART postfix.qsize '' "Postfix Queue Emails Size" "emails size in KB" postfix postfix area 5001 $update_every +CHART postfix.qemails '' "Postfix Queue Emails" "emails" postfix postfix line 5000 $postfix_update_every +DIMENSION emails '' absolute 1 1 +CHART postfix.qsize '' "Postfix Queue Emails Size" "emails size in KB" postfix postfix area 5001 $postfix_update_every DIMENSION size '' absolute 1 1 EOF |