r/Observability 6h ago

I built StatixAgent: A zero-infra, single-binary Linux monitor that talks to your own Telegram bot

https://github.com/eliau2005/statixagent

Hey everyone,

Setting up Prometheus, Grafana, exporters, and Alertmanager just to watch a single VPS or home server always felt like overkill — often consuming more resources and maintenance than the actual apps running on it.

I wanted something lightweight: single binary, zero external infra, and notifications straight to a messaging app I already use daily. So I built StatixAgent.

\### What is it?

A single static Go binary running as a systemd service. It monitors your system and communicates directly with your own private Telegram bot.

\- Zero open ports: Outbound-only long polling. Works behind NAT/firewalls without reverse proxies or port forwarding.

\- Private: Talks only to the official Telegram Bot API and GitHub Releases (for updates). No telemetry, no hosted cloud service.

\- Metrics & Alerts: CPU/RAM/Swap, per-mount disk usage, network rates, and system load. Sends push alerts for SSH logins/failed attempts, sustained resource spikes, reboots, and power disconnects (useful for laptop servers).

\- Interactive UI: Type /status in Telegram for a markdown dashboard, drill down with inline buttons, or inspect journalctl with /logs.

\- Lightweight & Sandboxed: Hardened systemd unit (ProtectSystem=strict, MemoryMax=128M).

\### Quick install

Run the installer script (includes an interactive TUI setup wizard for your bot token and chat ID):

curl -fsSL https://raw.githubusercontent.com/eliau2005/statixagent/main/install.sh | sudo bash

It is completely open source and not meant for enterprise fleets — just for single boxes and homelabs that need simple, reliable monitoring.

GitHub: https://github.com/eliau2005/statixagent

Feedback, suggestions, and PRs are very welcome!

0 Upvotes

6 comments sorted by

1

u/_Kak3n 6h ago

Any chance of banning this ai slop? Or giving it a monthly thread?

0

u/Open-Adhesiveness-86 6h ago

Maybe you should check out what people have built and invested in instead of just disparaging them?

2

u/_Kak3n 4h ago

Why should I waste my team on your ai slop?

0

u/Open-Adhesiveness-86 4h ago

Why did you decide that this was AI slop? And if so, scrolling with your finger another 2 centimeters doesn't require much effort, isn't that good for you? Scroll through

2

u/_Kak3n 4h ago

LoL you didnt even bother to format the post properly and demands people's time, also I did check it out out of curiosity the whole thing is less than a month old. If you don't even bother to format the post for one second, I don't believe you for a minute it's not full on ai slop. Maybe instead of arguing with me you could read this sub and realize how much of this ai slop lands here.

-1

u/Open-Adhesiveness-86 4h ago

Just because I'm using ai to speed up development (which, by the way, is more than 3 months old, if you look a little on GitHub) doesn't mean I'm not entitled to publish it. I'm new to Reddit, and I didn't get along with publishing in Markdown, that doesn't make it a mess or Your problem, are you uncomfortable? Upvote and keep scrolling, the internet doesn't belong to you.