Commit graph iac/nixos/hosts/asxpio-ops/crawler.nix
Author SHA1 Message Date
35bc42b01b
crawler: use the tool's own flake instead of a copy of the script
All checks were successful
nixos / nixos (push) Successful in 21s
crawler-alert.py was a byte-identical copy of the one in
asxpi/traefik-crawlers-statistics. That repository now has a package and
a NixOS module with the same three units and timers; iac takes it as a
flake input and keeps only the settings. The package also puts dig on
the script's path, which the Meta ASN check needs and lacked here.

Assisted-by: Claude:opus-5-5
2026-11-17 12:00:16 +04:00
2a0e7bd83a
nixos: crawler report as native units
Same script, schedule and threshold. It now mails through SMTP with the
alert account from sops instead of reading Forgejo's app.ini out of its
container, and reads Traefik's log at its new place. Forgejo's router
is forgejo@file now.

Tried on the rehearsal pair against generated GPTBot traffic.

Assisted-by: Claude:opus-5-5
2026-11-17 04:51:37 +04:00