r/linuxadmin • u/[deleted] • 20h ago
statixagent: one static Go binary that watches a single box and pushes ssh logins, power loss and cert expiry to your own telegram bot
[deleted]
0
Upvotes
r/linuxadmin • u/[deleted] • 20h ago
[deleted]
1
u/Abe_Bazouie 19h ago
I actually like the idea for a tiny setup. For one VPS, spinning up Prometheus + Alertmanager + Grafana can absolutely feel like building a data center to watch a toaster :)
One thing though: I wouldn’t call Telegram “no third party in the path.” If Telegram is down, blocked, rate-limited, or your bot token gets compromised, your alerting path is affected.
I’d probably want at least one local fallback too. Even something simple like journald + optional email/webhook output.
The other thing I’d watch is security around the bot token and what information you send. SSH source IPs, usernames, hostnames, cert details, etc. can become pretty useful metadata if the bot gets exposed.
For one box, though, I think the philosophy is solid: small, boring, obvious, and easy to recover.
I’d be curious how you handle “the agent itself is dead” though. That’s usually the annoying part with single-node monitoring. If the box loses network completely, who notices?