summaryrefslogtreecommitdiffstats
path: root/charts.d
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2015-11-30 00:34:46 +0200
committerAlon Bar-Lev <alon.barlev@gmail.com>2015-11-30 00:34:46 +0200
commit9d260bde5a4dc3aebdd5d0ed04af669326456f7f (patch)
treefbb9004cd8b5350e7df2bb3e288c85580342d62e /charts.d
parent9f3c17904982fa7a051baf38526350a60b8bdcc4 (diff)
cleanup: remove trailing spaces
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Diffstat (limited to 'charts.d')
-rwxr-xr-xcharts.d/mysql.chart.sh2
-rwxr-xr-xcharts.d/opensips.chart.sh2
-rwxr-xr-xcharts.d/postfix.chart.sh2
-rwxr-xr-xcharts.d/sensors.chart.sh2
-rwxr-xr-xcharts.d/squid.chart.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/charts.d/mysql.chart.sh b/charts.d/mysql.chart.sh
index dd7b3620a4..8d0ac228fc 100755
--- a/charts.d/mysql.chart.sh
+++ b/charts.d/mysql.chart.sh
@@ -13,7 +13,7 @@ declare -A mysql_cmds=() mysql_opts=() mysql_ids=()
mysql_exec() {
local ret
-
+
"${@}" -s -e "show global status;"
ret=$?
diff --git a/charts.d/opensips.chart.sh b/charts.d/opensips.chart.sh
index e6ae7a8a73..2e4e59b3a9 100755
--- a/charts.d/opensips.chart.sh
+++ b/charts.d/opensips.chart.sh
@@ -136,7 +136,7 @@ DIMENSION shmem_free_size free absolute 1 1024
CHART opensips.shmem_fragments '' "OpenSIPS Shared Memory Fragmentation" "fragments" opensips '' line 20019 $opensips_update_every
DIMENSION shmem_fragments fragments absolute 1 1
EOF
-
+
return 0
}
diff --git a/charts.d/postfix.chart.sh b/charts.d/postfix.chart.sh
index 3762e822d8..6df54ac527 100755
--- a/charts.d/postfix.chart.sh
+++ b/charts.d/postfix.chart.sh
@@ -70,7 +70,7 @@ postfix_update() {
# even if something goes wrong, no other code can be executed
postfix_q_emails=0
postfix_q_size=0
-
+
eval "`$postfix_postqueue -p |\
grep "^--" |\
sed -e "s/-- \([0-9]\+\) Kbytes in \([0-9]\+\) Requests.$/local postfix_q_size=\1\nlocal postfix_q_emails=\2/g" |\
diff --git a/charts.d/sensors.chart.sh b/charts.d/sensors.chart.sh
index f4ab1b240a..8378321507 100755
--- a/charts.d/sensors.chart.sh
+++ b/charts.d/sensors.chart.sh
@@ -54,7 +54,7 @@ sensors_check_files() {
v="$( cat $f )"
v=$(( v + 1 - 1 ))
[ $v -ne 0 ] && echo "$f" && continue
-
+
echo >&2 "$PROGRAM_NAME: sensors: $f gives zero values"
done
}
diff --git a/charts.d/squid.chart.sh b/charts.d/squid.chart.sh
index 08a61ed754..9df57613ef 100755
--- a/charts.d/squid.chart.sh
+++ b/charts.d/squid.chart.sh
@@ -87,7 +87,7 @@ CHART squid.servers_requests '' "Squid Server Requests" "requests / sec" squid '
DIMENSION server_all_requests requests incremental 1 1
DIMENSION server_all_errors errors incremental -1 1
EOF
-
+
return 0
}