4 Commits

Author SHA1 Message Date
fa7ed41063 fix(health-agent): reload uk_tokens.yml on every push call instead of caching at startup 2026-06-26 21:35:44 +03:00
d51c073556 fix(health-agent): fix uk_tokens.yml load race and LogRecord msg conflict
- config.py: Replace exists()+open() with try/except open() to avoid TOCTOU race on SSHFS mounts where stat can succeed but open can fail with FileNotFoundError.
- uptime_kuma.py: Rename msg key to push_msg in logger extra dicts. Python LogRecord reserves the msg field; passing it in extra raises ValueError which was being silently swallowed by the except block, masking successful pushes as errors.
2026-06-26 20:37:42 +03:00
7ab186b961 feat(health-agent): add --once and --dry-run flags to main.py 2026-06-26 16:43:21 +03:00
f742bfdd11 feat(health-agent): add monitors.yml with env-aware node IP mapping from Ansible inventory 2026-06-25 18:59:14 +03:00