this post was submitted on 29 Nov 2025
159 points (97.6% liked)

Selfhosted

53228 readers
1209 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
 

Maybe it's well known but I just came across journalctl-desktop-notification and I find it very useful so I thought I'd mention it. It's basically a bash script that monitors systemd's journal and pops up a notification when there are warnings or errors (or anything else you want to make it catch besides the default config).

What makes it so useful for the selfhoster is that it can monitor the journal on hosts your user has ssh access to with key authentication (set up in 2s with 'ssh-copy-id').

So case in point, this just popped up:

collapsed inline media

My reverse proxy can't renew certs, that's bad. For some reason netdata didn't catch it, and the service didn't trigger a system email that would have been forwarded to my smtp. Uptime kuma would have caught it when I would have had only a few days to fix it, but this caught it immediately, and I have 52 days to figure it out.

So you install that on your daily driver and you get these notifications on your desktop. They only have packages for Arch and Gentoo but the thing is just a batch script and a systemd unit. So to install anywhere you just download the "source", extract it, cd to it, and run 'sudo cp -r usr etc /' which is exactly what the Arch package does (line 22).

Just a nifty little tool I wanted to share in case others haven't heard of it.

top 24 comments
sorted by: hot top controversial new old
[–] frongt@lemmy.zip 22 points 17 hours ago (3 children)

If you want the next level up, set up a log collector like graylog or something.

[–] sudo@programming.dev 20 points 16 hours ago (2 children)

That seems like a flight of stairs up.

[–] non_burglar@lemmy.world 6 points 15 hours ago

Hahaha nice. I have PTSD from teaching the interns how to search graylog and then locking up elastic with piped conditional searches.

[–] frongt@lemmy.zip 5 points 14 hours ago

Well yes, you take the stairs to the next level.

[–] northernlights@lemmy.today 4 points 16 hours ago

I'm using netdata for now but for some reason it didn't notify me of this one.

[–] 4am@lemmy.zip 3 points 11 hours ago

Gray lot requires a newer version of mongo. Mongo now requires a processor with the AVX instruction set; and my aging homelab is one gen before Sandy Bridge.

So basically no graylog for me because I ain’t got money to run that shit anymore let alone upgrade it

[–] avidamoeba@lemmy.ca 9 points 9 hours ago* (last edited 9 hours ago)

This is cool but for self-hosting you probably want a more robust monitoring system capable of alerting at all times. Prometheus is what I use. It also gathers data over time and can monitor many machines.

[–] SnotFlickerman@lemmy.blahaj.zone 6 points 14 hours ago (1 children)

This is very cool but all the machines I would use this on are headless with no GUI installed. Womp womp for me.

[–] radioactivefunguy@piefed.ca 10 points 11 hours ago (1 children)

i think the idea is install this on your PC, and it displays notifications from your headless servers journals over ssh

[–] SnotFlickerman@lemmy.blahaj.zone 5 points 11 hours ago

Oh I didn't catch that part, that's even better than how I understood it, thanks so much for clarifying!

[–] mavu@discuss.tchncs.de 4 points 2 hours ago

This is a good idea, thanks.

[–] lIlIllIlIIIllIlIlII@lemmy.zip 3 points 4 hours ago

I just discovered it a few weeks ago. But I did not know about the ssh part. Thanks.

[–] Chaser@lemmy.zip 2 points 14 hours ago

Wow! This sounds super handy! Thanks for sharing!

[–] sem@lemmy.blahaj.zone 1 points 1 hour ago

Holy shit, this is amazing. Thank you so, so much for sharing this. I had not heard of it, and I am often stymied by journal CTL, since I don't really know how it works. So I will most definitely be using this on my desktop and possibly on my self-hosted stuff as well. Thank you again.

[–] Azzu@lemmy.dbzer0.com 1 points 6 hours ago (3 children)

Assuming the uptime of your services are in any way important.

I'm not running a business here, I've got no big stakeholders. If something doesn't work, at most me or someone close to me is affected. No one really cares if something is not available for a day.

I spent 0 minutes on monitoring and don't intend to start now :D

[–] groet@feddit.org 3 points 3 hours ago (1 children)

There is still a good reason to know about problems early. Without any monitoring you will find out about problems exactly in that moment when you what to use the service that doesn't work. Sometimes you need something quick and you don't have time to debug and fix in that moment. If you get an alert early you can decide to fix it right away or in a few hours or tomorrow.

[–] Azzu@lemmy.dbzer0.com 0 points 3 hours ago (2 children)

What do you need quick? I have a Minecraft server, a wiki for random stuff, a shopping list, a calendar sync, photo hosting, a media server and probably some other shit on there.

I can think of many situations where I'd want those quickly, but need I don't anything.

[–] RheumatoidArthritis@mander.xyz 4 points 3 hours ago

Calendar sync? I learned that Nextcloud went to shit again when I missed an event added by my spouse to the shared calendar. Pretty important to me.

[–] groet@feddit.org 2 points 1 hour ago

You don't need something ever. Sometimes you just want something because the alternative is realy bad. I don't need to eat. I want to eat because I don't want to starve.

I want to watch a movie with my partner at the agrees time because otherwise they will be mad. I want to access my digitalized documents to send a letter in time because otherwise I will have to pay late fees. I want to access my gameserver because that's the one time a week I get to have fun with my friends from my college time.

There are many situations where I'd rather do the thing I want instead of doing maintenance.

Does your data matter ? There's a data loss prevention risk and security.

If you don't care about those either, then I guess your decision makes sense

[–] helix@feddit.org 2 points 5 hours ago

This person fucks! 😅

[–] quick_snail@feddit.nl 1 points 2 hours ago

Please transcribe any images with text

[–] DaTingGoBrrr@lemmy.world 0 points 8 hours ago

This is great! Thank you for sharing

[–] corsicanguppy@lemmy.ca 0 points 3 hours ago

Ha ha ha.

I love how lennart's cancer tries to replicate fucking syslog and it's this bad. What a mess the kids worship.