release 1.23.0: daily GOA /monitoring-ladder and /monitoring-max-ladder
Host-agent wrappers + daily timers publish classic and max-search amount ladder reports on bank/exchange/taler.hacktivism.ch. Install enables timers and starts the first round immediately. monpages path allow + goa catalog; Caddy bare redirs for ladder paths.
This commit is contained in:
parent
dfc7595990
commit
617d066a70
16 changed files with 237 additions and 19 deletions
42
host-agent/run-max-ladder-monitoring.sh
Executable file
42
host-agent/run-max-ladder-monitoring.sh
Executable file
|
|
@ -0,0 +1,42 @@
|
|||
#!/usr/bin/env bash
|
||||
# run-max-ladder-monitoring.sh — GOA max-search amount ladder → public HTML
|
||||
#
|
||||
# Public (landing hosts, same Caddy /monitoring* static root):
|
||||
# https://{bank,exchange,taler}.hacktivism.ch/monitoring-max-ladder/
|
||||
# https://{bank,exchange,taler}.hacktivism.ch/monitoring-max-ladder_err/
|
||||
#
|
||||
# Timer: once daily (taler-monitoring-max-ladder.timer). Long wall clock.
|
||||
#
|
||||
set -uo pipefail
|
||||
AGENT_DIR=$(cd "$(dirname "$0")" && pwd)
|
||||
|
||||
export AGENT_LABEL="${AGENT_LABEL:-max-ladder-host-agent}"
|
||||
export STATE_NAME="${STATE_NAME:-taler-max-ladder-monitoring}"
|
||||
export TALER_DOMAIN="${TALER_DOMAIN:-hacktivism.ch}"
|
||||
export TALER_MON_LANG="${TALER_MON_LANG:-en}"
|
||||
export TALER_MON_LANG_SET=1
|
||||
export INSIDE_PODMAN="${INSIDE_PODMAN:-1}"
|
||||
export INSIDE_MODE="${INSIDE_MODE:-local-podman}"
|
||||
export LOCAL_STACK="${LOCAL_STACK:-1}"
|
||||
export SKIP_SSH="${SKIP_SSH:-0}"
|
||||
export CONTINUE_ON_ERROR="${CONTINUE_ON_ERROR:-1}"
|
||||
# max-search probes + pay hunt
|
||||
export RUN_TIMEOUT="${RUN_TIMEOUT:-10800}"
|
||||
|
||||
export PHASES="max-ladder monpages"
|
||||
export MON_HOSTS="${MON_HOSTS:-bank.hacktivism.ch exchange.hacktivism.ch taler.hacktivism.ch}"
|
||||
export HTML_OUT="${HTML_OUT:-$HOME/monitoring-sites-staging}"
|
||||
export DEPLOY_WWW_ROOT="${DEPLOY_WWW_ROOT:-/var/www/monitoring-sites}"
|
||||
|
||||
export HTML_OK_DIR="monitoring-max-ladder"
|
||||
export HTML_ERR_DIR="monitoring-max-ladder_err"
|
||||
export HTML_URL_OK="/monitoring-max-ladder/"
|
||||
export HTML_URL_ERR="/monitoring-max-ladder_err/"
|
||||
export PAGE_LABEL="monitoring-max-ladder"
|
||||
export MONPAGES_INVENTORY="job"
|
||||
|
||||
export LADDER_MODE=max
|
||||
export LADDER_PAY="${LADDER_PAY:-1}"
|
||||
export APT_DEPLOY_ENSURE=0
|
||||
|
||||
exec bash "$AGENT_DIR/run-host-report.sh" "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue