HN.zip

Show HN: Kula – Lightweight, self-contained Linux server monitoring tool

Zero dependencies. No external databases. Single binary. Just deploy and go. I needed something that would allow for real-time monitoring, and installation is as simple as dropping a single file and running it. That's exactly what Kula is. Kula is the Polish word for "ball," as in "crystal ball." The project is in constant development, but I'm already using it on multiple servers in production. It still has some rough edges and needs to mature, but I wanted to share it with the world now—perhaps someone else will find it useful and be willing to help me develop it by testing or providing feedback. Cheers! Github: https://github.com/c0m4r/kula

34 points by c0m4r - 19 comments

19 Comments

thebuilderjr [3 hidden]5 mins ago
Interesting project. The README made the architecture clear for me: direct `/proc`/`/sys` reads, fixed-size ring-buffer tiers, single binary, no external DB.

I think the highest-leverage addition now would be one small benchmark table in the README/HN post for a tiny VPS (say 1 vCPU / 1 GB RAM): idle RSS, CPU%, disk write rate, and how much history the default 250/150/50 MB tiers actually retain.

That would answer the "why not Netdata?" question much faster, because the differentiator seems to be predictable resource usage rather than just another dashboard.

c0m4r [3 hidden]5 mins ago
Netdata was actually THE reason I wanted to create my own real-time monitoring system. When I first came across Netdata, it was everything I needed, and its dashboard was fast, clean, and easy to use. But ever since they created the v3 dashboard and started aggressively advertising their cloud services, it became off-putting to me. Thank you for your suggestions, noted!
savalione [3 hidden]5 mins ago
Is there any meaningful reason to add the project structure to the README, and add a copyright symbol to every mention of Linux? I'm not quite sure by what standards it's considered to be lightweight, but it may be useful for homelab owners.

Anyway, Zabbix still looks like a better solution by any metric.

c0m4r [3 hidden]5 mins ago
I got your point. The project structure remains from the initial phase of building the tool. I think I'll eventually remove it or put it on the wiki or somewhere else. My excessive attachment to copyright probably stems from the fact that years ago, when I wrote my own websites and articles, people often simply copied them and signed them as their own. The Linux Foundation website has attribution instructions that ask for the use of the ® symbol; I simply followed this instruction, but I agree that it's probably an exaggeration on my part. Considering what this tool does, I personally think it's lightweight in terms of both binary size, execution times, and dashboard performance. But I agree that's debatable.
mervz [3 hidden]5 mins ago
The README was AI generated, that's why.
sneak [3 hidden]5 mins ago
I like having tons of docs in the README, vertical screen space is cheap.
kulahan [3 hidden]5 mins ago
I'm very curious where you got the inspiration for the name for this! I've been using Kula/Kulahan as a username for years and almost never see it anywhere else
c0m4r [3 hidden]5 mins ago
Well, it was easy since my native language is Polish and I often use "kula szpiegula" term, which translates to something like a "spying crystal ball" in relation to things that allow monitoring or collecting information. In Polish, "kula" can refer to many things, e.g. a sphere or a globe.
doug_life [3 hidden]5 mins ago
dash. (or dashdot) https://github.com/MauriceNino/dashdot is another alternative that is pretty lightweight but has fewer details. Live Demo: https://dash.mauz.dev
c0m4r [3 hidden]5 mins ago
Nice little panel. Although a bit too kawaii for my taste!
smashed [3 hidden]5 mins ago
Vibe coded netdata clone?
c0m4r [3 hidden]5 mins ago
Yes, netdata was an inspiration, as I'd been using it for several years. Unfortunately, it stopped being what it initially was, and recently I was so disappointed that I decided to write my own tool. It's also true that I use AI models for coding, but I wouldn't exactly call it vibe coding, as I actively analyze what the models are doing and don't just blindly accept everything. I also try to thoroughly test my code, implement as many security-enhancing features as possible, and have multiple models review my code to catch as many bugs as possible.
krautsauer [3 hidden]5 mins ago
netdata is pretty heavy on resources, especially disk writes. I'd appreciate improvement over it, but I won't try out this thing without indication that it improves anything. Especially with such useful features as space invaders built in…
bityard [3 hidden]5 mins ago
It's a bit ironic (in the Alanis Morrisette sense) because NetData was built by a small community on Reddit to be small, lightweight, easy to deploy, open source, etc. Now it looks like any other commercial enterprise monitoring product.
c0m4r [3 hidden]5 mins ago
exactly this
c0m4r [3 hidden]5 mins ago
That's fair. I can't resist putting easter eggs in my software, sorry :)
sneak [3 hidden]5 mins ago
> Kula uses Argon2id for password hashing. If you enable authentication, it is highly recommended to tune the Argon2 parameters (time, memory, threads) in config.yaml based on your hardware capabilities to increase resistance against cracking.

There is no reason to do this. Set them to sane defaults and set a minimum password length of 12 or 14 chars and stop trying to solve the wrong problem.

sneak [3 hidden]5 mins ago
Why the nonfree AGPL? Are you seriously worried that someone is going to fork this and make money with it, given that anyone else could vibe code another one in a few hours?
koiueo [3 hidden]5 mins ago
1. Why do you ask? Do you intend forking and making money out of it?

2. Why are you lying about AGPL being nonfree? As far as I'm concerned, it is free as in free speech for me as a user. This was the initial goal of the GPL. The freedom of the end user is the main value of the GPL family of licenses. So serious question: why are you lying? Is it intentional, or due to your lack of understanding?