iac/nixos/hosts/asxpio-ops/monitoring
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sergei Poljanski 23b9bede43
All checks were successful
nixos / nixos (push) Successful in 35s
monitoring: no "Access files changed" alert for a deploy
On NixOS an activation rewrites accounts and authorized_keys whenever
the configuration changes them, so every such deploy fired the alert
and resolved it minutes later. Each host now records when it last
activated a configuration (nixos_activation_timestamp_seconds, written
on every deploy and boot), and the rule ignores changes within 20
minutes of one. A change outside a deploy, which on these hosts can only
be a hand edit, still fires.

Assisted-by: Claude:opus-5-5
2026-11-17 09:59:51 +04:00
..
dashboards nixos: monitoring as native services 2026-11-17 04:48:56 +04:00
alert-rules.yaml monitoring: no "Access files changed" alert for a deploy 2026-11-17 09:59:51 +04:00
default.nix nixos: monitoring as native services 2026-11-17 04:48:56 +04:00