2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Fix 2 forgotten backslashes

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
This commit is contained in:
Pierre-Alain TORET 2018-03-28 10:56:34 +02:00
parent e527db57a5
commit 44d57dcb7f

View File

@ -137,8 +137,8 @@ EOM
CONNECTIONS=$("$CURL" -s -X GET -H "X-API-Key: $syncthing_apikey" "$syncthing_proto://$syncthing_host:$syncthing_port/rest/system/connections")
IBT=$(echo "$CONNECTIONS" | "$JQ" '.total | .inBytesTotal')
OBT=$(echo "$CONNECTIONS" | "$JQ" '.total | .outBytesTotal')
printf "syncthing_transfer_up.value %s\\n" "$IBT"
printf "syncthing_transfer_down.value %s\\n" "$OBT"
printf "syncthing_transfer_up.value %s\n" "$IBT"
printf "syncthing_transfer_down.value %s\n" "$OBT"
esac
}