# One Go binary, one YAML file, one SQLite database: I wrote my own monitoring tool

Original title: One Go binary, one YAML file, one SQLite database: I wrote my monitoring tool

> Hacker News story 49441101 · language: en · submitted 2026-08-25
> Web version: https://zeli.app/story/49441101
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 35 · by [brvier](<https://news.ycombinator.com/user?id=brvier>) · 💬 18
[original](<https://rvier.fr/posts/why-i-wrote-my-own-monitoring-tool-EN>) · [HN discussion](<https://news.ycombinator.com/item?id=49441101>)

## Summary

Frustrated with heavyweight monitoring platforms, a developer built Gjallar, a KISS monitoring service in Go. It's a single static binary (no CGO) that checks HTTP, PostgreSQL, Oracle, Redis, Elasticsearch, and more, with alerts via Telegram, SMS, or Signal. The lock-free pipeline uses a single consumer goroutine, and state survives restarts. Configuration is a single YAML file with hot reload, env var expansion, and a dry-run flag. It deliberately avoids clustering, agents, and plugins, keeping everything simple and understandable.

## Key quote

> A tool whose whole state fits in one SQLite file and whose whole behaviour fits in one YAML file is a tool you still understand at 3 a.m., eighteen months after you wrote it.

## HN discussion (18 comments)

### [nzoschke](<https://news.ycombinator.com/item?id=49442503>)

> Single Go binary + SQLite database all the way.
>
> I've been doing this architecture on single tenant VMs for like 6+ years now and it has so many advantages for deployments, security and scaling.
>
> Pretty much every new tool and agent computer I set up uses this pattern. I've blogged about it and created a template repo.
>
> https://housecat.com/blog/the-hugs-stack-hypermedia-unix-go-...
>
> https://github.com/housecat-inc/scratch

### [JensRantil](<https://news.ycombinator.com/item?id=49441469>)

> Nice! But you made a mistake of using smallcaps-only on the repository. MacOSX file systems will complain and all sorts of weirdness can happen.

### [aster0id](<https://news.ycombinator.com/item?id=49441525>)

> Recently I vibe coded a couple of scripts invoked by cron to do the same thing for a few services running on a single node for me. Works beautifully.

---

## Cite

- Page: https://zeli.app/story/49441101
- Date: 2026-08-25
- Source: rvier.fr (https://rvier.fr/posts/why-i-wrote-my-own-monitoring-tool-EN)
- Hacker News: https://news.ycombinator.com/item?id=49441101

## Other languages

- es: https://zeli.app/es/story/49441101 · markdown: https://zeli.app/es/story/49441101.md
- ru: https://zeli.app/ru/story/49441101 · markdown: https://zeli.app/ru/story/49441101.md
