this post was submitted on 19 Aug 2023
22 points (100.0% liked)

Selfhosted

46672 readers
478 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi people!

I am in the process of setting up my selfhosted services and I would like to have a status monitor for them and for my websites. I really like Uptime Kuma, but right now I am not sure where should I host it. I do not want it on my VPS (for obvious reasons) and I do not have a spare old PC that I would run at home. At first I wanted to have it on a separate, very small VPS from my server provider but in different datacentre, but without a public IPv4 (only v6 are free) I’m not sure how I would expose it to the public (any tips?).

I would want to ask you for some recommendations for sites offering a hosting option for just this one thing, preferrably with a free tier(?). The docker container takes up only about 120-130MiB of RAM so even 1vCPU, 256MiB of RAM and a few hundred MiBs of storage would suffice. I don’t mind something with “sleep after a period of inactivity” type of thing, as I can just setup a cron job to ping the site. Or if you have some other way to have a FOSS status monitor hosted outside of my prod. server, I will appreciate every tip.

Thank you very much, hope you are having a good day :)

top 13 comments
sorted by: hot top controversial new old
[–] PriorProject@lemmy.world 6 points 2 years ago (1 children)

This isn't exactly an answer to your question, but an alternative monitoring architecture that elides this problem entirely is to run netdata on each server you run.

  • It appears to collect WAY more useful data than uptime Kuma, and requires basically no config. It also collects data on docker containers running on the server so you automatically get per-service metrics as well.
  • Health probes for several protocols including ping and http can be custom-defined in config-files if you want that.
  • There's no cross server config or discovery required, it just collects data from the system it's running on (though health probes can hit remote systems if you wish).
  • If any individual or collection of services is down, I see it immediately in their metrics.
  • If the server itself is down, it's obvious and I don't need a monitoring system to show a red streak for me to know. I've never wasted more than minute differentiating between a broken service and a broken server.

This approach needs no external monitoring hosts. It's not as elegant as a remote monitoring host that shows everything from a third-party perspective, but that also has the benefit of not false-positiving because the monitoring host went down or lost its network path to the monitored host... Netdata can always see what's happening because it's right there when it happens.

[–] SniffBark@lemmy.world 8 points 2 years ago (1 children)

I run netdata to collect usage statistics etc. directly on my VPS. I don’t need Uptime Kuma for that, because of course I know right away if my server is down or if it’s just a service. I am hosting some things also for my friends and family, and I’d like to have an option for them to check what is going on. Imagine they cannot access a service, they go to the status page and see that it is either a planned maintenance (updating, editing the configuration etc.) or there something else wrong, and they will see exactly when the service went back online. Without externally hosted status page like this, all they would get is an error. This way is much nicer for the non-technical audience.

[–] PriorProject@lemmy.world 3 points 2 years ago

Fair enough, sound like you have a well considered use case for Kuma specifically. Good luck, I don't have much to offer on your OP question.

[–] johnnyfive@lemmy.world 5 points 2 years ago (1 children)
[–] Dianoga@lemm.ee 1 points 2 years ago

This is what I do. I ran into issues with monitoring too many services so I switched to a hybrid approach. I run an instance in my server that check the status of all my services and a separate instance in Fly.io that checks the status of my local UptimeKuma install

[–] tvcvt@lemmy.ml 3 points 2 years ago (1 children)

If you’re not familiar with it, check out lowendbox.com. You can very often find good deals there; not all of them are reliable in the long run, but I’ve found several hosts that have been just great.

[–] SniffBark@lemmy.world 1 points 2 years ago

Thanks, I’ve never heard about it, will definitely check it out!

[–] jlh@lemmy.jlh.name 2 points 2 years ago

You can point a Cloudflare proxy at an IPv6 address, and you'll then be able to access the website via IPv4.

[–] DJArbz@lemmy.notmy.cloud 2 points 2 years ago

I have Kuma setup on one of my VPS' and one endpoint I monitor is on healthchecks.io.

This way Kuma can monitor whatever I need and if HC doesn't get a "ping" every 5 minutes I get an alert from them. They have a free teir for 20 checks I believe it is.

[–] redcalcium@lemmy.institute 2 points 2 years ago* (last edited 2 years ago)

Free tier compute engine on GCP might be suitable for your use case: https://cloud.google.com/free/docs/free-cloud-features#compute

Just remember that if you exceed the free tier limit, you'll get charged based on resource usage. Make sure to setup a billing alert you won't get surprise charge.

[–] MangoPenguin@lemmy.blahaj.zone 1 points 2 years ago (2 children)

I would say use an external service like https://uptimerobot.com/ to monitor your server.

You could still run uptimekuma on the server to keep track of individual service status.

[–] SniffBark@lemmy.world 2 points 2 years ago

I would like to use something open source. For now, I use the free tier of cronitor.io for my two websites and 3 cron jobs, but with that the free tier is all used up and I will have a bunch more services I want to monitor too.

[–] lettruthout@lemmy.world 1 points 2 years ago

Seconding this comment. https://healthchecks.io/ has a free tier for one test.