this post was submitted on 08 Jun 2023
22 points (100.0% liked)

Asklemmy

1454 readers
72 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

I'd really like to find a website that displays the percent uptime for each of the lemmy instances in the Fediverse. Does one already exist?

If one doesn't yet exist, I'm considering making one. In that case, does anyone have any recommended very-simple linux tools for this? I use mon to detect website outages on my .onion sites, but I don't think it records previous failures and calculates uptime.

If I do make it myself, it needs to run on Linux and I want something extremely lightweight (ie not nagios, checkmk, etc)

top 7 comments
sorted by: hot top controversial new old
[โ€“] Wilshire 5 points 1 year ago

That would be really awesome!

[โ€“] maltfield@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)

@mobiuscoffee@sh.itjust.works found one that monitors uptime!

Anyone know who runs that site? Do they have an account here on lemmy?

[โ€“] maltfield@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

I found this site that tracks uptime of lemmy services. They have an API that helps you construct a query in the WUI.

Or you can use cURL to get the uptime of all known lemmy instances

curl 'https://api.fediverse.observer/' -X POST -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Content-Type: application/json' --data-raw '{"query":"query{\n  nodes (softwarename: \"lemmy\") {\ndomain uptime_alltime\n  }\n}\n"}'

See also:

[โ€“] minishoemaze 2 points 1 year ago (1 children)

Something easy might be Uptime Kuma? Though it is a self-hosted web app rather than something you manage through the terminal. You could at least run that against the biggest ones.

[โ€“] maltfield@lemmy.ml 2 points 1 year ago

Ideally I'd want something that I just feed a config file, a sqlite db file, tell it to "run", and then it spits-out the uptime for each site

[โ€“] maltfield@lemmy.ml 1 points 1 year ago

The awesome-lemmy-instances repo on GitHub displays uptime:

[โ€“] maltfield@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)
load more comments
view more: next โ€บ