73 lines
1.5 KiB
YAML
73 lines
1.5 KiB
YAML
telegram:
|
|
token: "YOUR_TELEGRAM_BOT_TOKEN"
|
|
admin_id: 123456789
|
|
|
|
paths:
|
|
# JSON state file for artifacts
|
|
artifact_state: "/opt/tg-bot/state.json"
|
|
# Optional env file with RESTIC_* variables
|
|
restic_env: "/etc/restic/restic.env"
|
|
|
|
thresholds:
|
|
disk_warn: 80
|
|
load_warn: 2.0
|
|
high_load_warn: 3.0
|
|
|
|
alerts:
|
|
enabled: true
|
|
interval_sec: 60
|
|
cooldown_sec: 900
|
|
notify_recovery: true
|
|
smart_enabled: true
|
|
smart_interval_sec: 3600
|
|
smart_cooldown_sec: 21600
|
|
smart_temp_warn: 50
|
|
|
|
audit:
|
|
enabled: true
|
|
path: "/var/server-bot/audit.log"
|
|
rotate_when: "W0"
|
|
backup_count: 8
|
|
|
|
incidents:
|
|
enabled: true
|
|
path: "/var/server-bot/incidents.log"
|
|
rotate_when: "W0"
|
|
backup_count: 8
|
|
|
|
arcane:
|
|
base_url: "http://localhost:3552"
|
|
api_key: "arc_..."
|
|
env_id: 0
|
|
|
|
npmplus:
|
|
base_url: "https://10.10.10.10:81/api"
|
|
identity: "your@email.com"
|
|
secret: "yourPassword"
|
|
# Optional static token (not recommended if it expires)
|
|
token: ""
|
|
verify_tls: true
|
|
|
|
security:
|
|
reboot_password: "CHANGE_ME"
|
|
|
|
docker:
|
|
# If true, discover containers by name/label
|
|
autodiscovery: true
|
|
# Enable docker watchdog notifications
|
|
watchdog: true
|
|
# Optional label filter: "key=value"
|
|
label: ""
|
|
# Name substrings used for discovery
|
|
match:
|
|
- "tg-"
|
|
- "bot"
|
|
# Alias -> real container name (overrides autodiscovery)
|
|
aliases:
|
|
tg-admin-bot: "tg-admin-bot"
|
|
# Explicit list used by legacy modules
|
|
containers:
|
|
tg-admin-bot:
|
|
name: "tg-admin-bot"
|
|
url: "http://127.0.0.1:8080/health"
|