Show HN: Lightweight system monitor for Linux VPS written in Go

37 pointsposted 5 hours ago
by ygagaga

14 Comments

mosselman

3 hours ago

Cool. I went another way for monitoring my servers and built a local macOS app instead of installing the monitoring dashboard on the server itself.

https://kitaso.app/

It monitors any server you add to it and it can install a daemon that collects metrics for when you are offline. I keep it running to monitor our servers.

nodesocket

an hour ago

If anybody is looking for alternatives, I’m a very happy user of Bezel (https://beszel.dev) on my home lab servers including a Raspberry Pi Kubernetes cluster and TrueNAS. Highly recommend.

NSUserDefaults

5 hours ago

How is this better than Prometheus?

gerdesj

11 minutes ago

You start with not installing Prometheus! Prom. is a full on stats grabber and display system with knobs on.

This is a single system effort and at 5MB RAM is rather tiddly and surely counts as minimal overhead. It could probably send the metrics to Prom. or make them available for scraping with minimal extra effort but I think that should be left as an exercise for the interested reader.

The thing about gathering metrics is you have to be careful that the gathering/processing system doesn't drown out the thing you are measuring!

freitzzz

5 hours ago

If I were to bet this is more a learning experience rather than trying to beat a product. Even better that this was done without AI (by the looks of it).

I’ve also done something similar in Go too, and several people used it, mostly because it’s easy to install/use and is lightweight.

https://github.com/joaomagfreitas/zero-monitor

ygagaga

4 hours ago

Cool project! I like design of the dashboards a lot. Will try it out

ygagaga

5 hours ago

Not better - different purpose. Its super lightweight, easy to install, simple for one server

ErroneousBosh

2 hours ago

It's a single git repository that compiles to a single binary that does really basic monitoring without any dicking about.

It lacks about 99% of the things that Prometheus can do, which is probably what you want for simple up/down healthy/not-healthy indication on a single box.

nimbius

5 hours ago

"curl -sL https://raw.githubusercontent.com/leodeim/vpsmon/main/instal... | sudo bash"

lol nope. i thought we all grew out of this crap?

dang

4 hours ago

"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something."

https://news.ycombinator.com/newsguidelines.html

nimbius

4 hours ago

ErroneousBosh

2 hours ago

That's nice but you can also just look at the linked github repo and inspect install.sh for yourself. It's pretty straightforward. It builds the binary for your monitoring software from the git repo, based on the architecture you're on, and if required sets up a systemd unit to kick it off on boot.

It's quite nice.

aruggirello

an hour ago

Did we? But my concern is with uninstallation:

"curl -sL https://... | sudo bash"

Now you won't be able to uninstall it if the repo ever goes black...

ygagaga

4 hours ago

just check the code before running :)