summaryrefslogtreecommitdiffstats
path: root/charts.d/load_average.chart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'charts.d/load_average.chart.sh')
-rwxr-xr-xcharts.d/load_average.chart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/charts.d/load_average.chart.sh b/charts.d/load_average.chart.sh
index 257ea7cad..4d86a8f4c 100755
--- a/charts.d/load_average.chart.sh
+++ b/charts.d/load_average.chart.sh
@@ -28,7 +28,7 @@ load_average_check() {
load_average_create() {
# create a chart with 3 dimensions
cat <<EOF
-CHART system.load '' "System Load Average" "load" load system.load line $[load_priority + 1] $load_average_update_every
+CHART system.load '' "System Load Average" "load" load system.load line $((load_priority + 1)) $load_average_update_every
DIMENSION load1 '1 min' absolute 1 100
DIMENSION load5 '5 mins' absolute 1 100
DIMENSION load15 '15 mins' absolute 1 100