204
submitted 2 days ago* (last edited 50 minutes ago) by northernlights@lemmy.today to c/selfhosted@lemmy.world

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:

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.

Edit: I made .deb and .rpm packages so it's a lot easier to install now :)

you are viewing a single comment's thread
view the rest of the comments
[-] frongt@lemmy.zip 25 points 2 days ago

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

[-] sudo@programming.dev 23 points 2 days ago

That seems like a flight of stairs up.

[-] frongt@lemmy.zip 7 points 2 days ago

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

[-] non_burglar@lemmy.world 5 points 2 days ago

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

[-] 4am@lemmy.zip 5 points 2 days 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

[-] Die4Ever@retrolemmy.com 1 points 1 day ago* (last edited 1 day ago)

LGA1366? I've got a Xeon X5679 in mine. It was like an $80 upgrade from my i7-950 lol, and yeah no AVX

[-] northernlights@lemmy.today 5 points 2 days ago

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

this post was submitted on 29 Nov 2025
204 points (100.0% liked)

Selfhosted

53262 readers
1463 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