Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit c03a3638 authored by Antoine Blanquet's avatar Antoine Blanquet
Browse files

Merge branch 'reports-dev' of https://github.com/CampusIoT/chirpstack-monitoring into reports-dev

parents 6c0db625 8ecabd6e
......@@ -53,8 +53,8 @@ echo "generate_sparkline_packets : \n ========== \n ========== \n "
for g in $GATEWAYS; do
packet_received=$(jq -r '.result | map(.rxPacketsReceivedOK) | join(",")' ${DATA_GAT_FOLDER}.gateway-${g}_stats.json)
packet_received=$(jq -r '.result | map(.rxPacketsReceivedOK|tostring) | join(",")' ${DATA_GAT_FOLDER}.gateway-${g}_stats.json)
jq --raw-output "( \"<li><a \"
+ \"href='https://lns.campusiot.imag.fr/#/organizations/\(.gateway.organizationID)/gateways/\(.gateway.id)'\" + \">\" + .gateway.id + \"</a>: \"
+ .gateway.name + \" - (org \" + .gateway.organizationID + \") - \"
......@@ -67,7 +67,7 @@ done
echo '<h2>Passive gateways</h2>' >>.gateways.html
for g in $GATEWAYS; do
packet_received=$(jq -r '.result | map(.rxPacketsReceivedOK) | join(",")' ${DATA_GAT_FOLDER}.gateway-${g}_stats.json)
packet_received=$(jq -r '.result | map(.rxPacketsReceivedOK|tostring) | join(",")' ${DATA_GAT_FOLDER}.gateway-${g}_stats.json)
jq --raw-output "( \"<li><a \"
+ \"href='https://lns.campusiot.imag.fr/#/organizations/\(.gateway.organizationID)/gateways/\(.gateway.id)'\" + \">\" + .gateway.id + \"</a>: \"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment