Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

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

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

  • just check the code before running :)
  • 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...

  • "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

    by dang
  • How is this better than Prometheus?
  • Not better - different purpose. Its super lightweight, easy to install, simple for one server
  • 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.

  • 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!

  • 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

  • A lightweight system monitor written in Go is an interesting project.

    It also seems like a good fit for something I've wanted to try for a while: building the UI as a SPA, embedding the generated assets into the Go binary with `embed.FS`, and shipping everything as a single self-contained executable.

  • cool man, nice. Question, if I'm already doing alloy/tempo/prometheus/grafana does this give me something I'm missing? I don't mean that in a condescending way that a lot of people in forums say like "why would you build this when xyz already exists" as if "for fun" and "to learn" aren't good enough reasons haha. I'm just curious before I dig too deeply into it because I'm pretty busy if there is anything of note that lets this do something that the prometheus-metrics/grafana stack doesn't or doesn't do well. Thanks man!
  • 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.
  • Same, built on pocketbase too. And rather mature with strong docs now.
  • 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.

  • Wanted to quickly try this but I couldn't get password authentication to work. No password field appears, and I can't save the server entry since it can't authenticate.