release 1.8.0: simplified mon pages + surface nmap + mail hosts
Public layout: only taler-monitoring-surface(+_err) for ecosystem software/versions; nine landing stacks keep /monitoring(+_err). Fold mail (firefly.gnunet.org, anastasis.taler-systems.com) and mattermost into the surface job; deprecate separate mon pages/timers. nmap OS fingerprinting; package-behind defaults to ERROR.
This commit is contained in:
parent
2b846dab7a
commit
e7a3cd558f
15 changed files with 263 additions and 154 deletions
|
|
@ -1,32 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
# run-mail-monitoring.sh — mail MX/SMTP/IMAP (firefly + pixel, …) → public HTML
|
||||
# Public only on taler.hacktivism.ch:
|
||||
# https://taler.hacktivism.ch/taler-monitoring-mail/
|
||||
# https://taler.hacktivism.ch/taler-monitoring-mail_err/
|
||||
# DEPRECATED (v1.8.0): mail is part of taler-monitoring-surface.
|
||||
# Kept as a thin alias so old timers/docs do not break.
|
||||
#
|
||||
# Prefer: run-surface-monitoring.sh
|
||||
# Public page: https://taler.hacktivism.ch/taler-monitoring-surface/
|
||||
#
|
||||
set -uo pipefail
|
||||
AGENT_DIR=$(cd "$(dirname "$0")" && pwd)
|
||||
|
||||
export AGENT_LABEL="${AGENT_LABEL:-mail-host-agent}"
|
||||
export STATE_NAME="${STATE_NAME:-taler-mail-monitoring}"
|
||||
export TALER_DOMAIN="${TALER_DOMAIN:-hacktivism.ch}"
|
||||
export INSIDE_PODMAN=0
|
||||
export LOCAL_STACK=0
|
||||
export SKIP_SSH=1
|
||||
export INSIDE_MODE="${INSIDE_MODE:-none}"
|
||||
export CONTINUE_ON_ERROR="${CONTINUE_ON_ERROR:-1}"
|
||||
export RUN_TIMEOUT="${RUN_TIMEOUT:-600}"
|
||||
export PHASES="${PHASES:-mail monpages}"
|
||||
echo "NOTE: run-mail-monitoring.sh is deprecated (v1.8.0) — folding into surface" >&2
|
||||
export PHASES="${PHASES:-mail surface monpages}"
|
||||
# force surface HTML paths (no /taler-monitoring-mail*)
|
||||
export HTML_OK_DIR="taler-monitoring-surface"
|
||||
export HTML_ERR_DIR="taler-monitoring-surface_err"
|
||||
export HTML_URL_OK="/taler-monitoring-surface/"
|
||||
export HTML_URL_ERR="/taler-monitoring-surface_err/"
|
||||
export PAGE_LABEL="taler-monitoring-surface"
|
||||
export MON_HOSTS="${MON_HOSTS:-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="taler-monitoring-mail"
|
||||
export HTML_ERR_DIR="taler-monitoring-mail_err"
|
||||
export HTML_URL_OK="/taler-monitoring-mail/"
|
||||
export HTML_URL_ERR="/taler-monitoring-mail_err/"
|
||||
export PAGE_LABEL="taler-monitoring-mail"
|
||||
|
||||
export APT_DEPLOY_ENSURE=0
|
||||
|
||||
exec bash "$AGENT_DIR/run-host-report.sh" "$@"
|
||||
export MONPAGES_INVENTORY=job
|
||||
exec bash "$AGENT_DIR/run-surface-monitoring.sh" "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue