monitoring: host-agent HTML, surface, aptdeploy, sticky bar

Complete taler-monitoring host-agent (hacktivism/surface/aptdeploy timers),
site-gen console HTML with sticky status bar and collapsible scope, apt-src
deploy tests, remote surface inventory, and Caddy monitoring handle snippets.
This commit is contained in:
hernani 2026-07-18 19:55:36 +02:00
parent 6b1e8f8662
commit 6be408ad24
50 changed files with 5199 additions and 46 deletions

View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# pull-firecuda-to-koopa.sh — copy HTML from firecuda work dir → koopa staging
# Run on laptop (hernani) where both SSH aliases work.
set -euo pipefail
FIRECUDA="${FIRECUDA_SSH:-firecuda-external}"
KOOPA="${DEPLOY_SSH:-koopa-external}"
REMOTE_HTML="${FIRECUDA_HTML:-var/taler-monitoring-sites-work/html/}"
STAGE="${DEPLOY_STAGING:-/home/hernani/monitoring-sites-staging}"
echo "firecuda:$REMOTE_HTML$KOOPA:$STAGE"
ssh -o BatchMode=yes -o ConnectTimeout=20 "$KOOPA" "mkdir -p '$STAGE'"
rsync -az --delete \
"${FIRECUDA}:${REMOTE_HTML}" \
"${KOOPA}:${STAGE}/"
echo "OK staged. Root: rsync to /var/www/monitoring-sites (see ROOT-ON-KOOPA.md)"