Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world
selfhosted·Selfhostedbycpbsy

What do you use for alerting?

... specifically, the thing to deliver alerts from your servers to your phone or whatever. I'm using Discord, because it doesn't depend on my own infrastructure, and I can make a private "alerts" channel on my private server. But I'd like to switch to something that's not Discord. I'm using alertmanager, FWIW.

View original on lemmy.world
87

62 replies

piefed.social

ntfy, self-hosted offsite on an old phone, it takes around 300mA, ie.less than a watt.
ntfy app on my phone.
Wireguard between them.

43
crusa187reply
lemmy.ml

+1 for ntfy it’s great. I’m using their free servers though and it just routes my curl’d alerts to the phone app. Will have to look into self hosting it that sounds neat, love that you repurposed an old phone for that.

6

It's not super difficult. They provide setup instructions and then you just connect to your new instance instead of the public one.

1
dihutenosareply
piefed.social

Right you are. Still much cheaper than a laptop, let alone a server.

2
zip
pawb.social

I use my husband complaining that something stopped working and then me realizing it has been broken for days

30
lemmy.blahaj.zone

I like ntfy.sh a lot. Sending a notification is a simple cURL request, and they have mobile apps. Also I gotta mention healthchecks.io for any cron job or uptime monitoring, which has ntfy.sh support built in.

20

Exactly what I use. Both are very low footprint, so they sit on an old raspberry pi, with the rest of the services on the n100. Works great for me.

3

Also what I use on a Raspberry Pi 5.

Discord notifications also sometimes come with random delays because of Google bullshit, and ntfy supports UnifiedPush.

1

Yes. My stuff is only for me, so the only way I find out something isn't working is when I go to use it. But that almost never happens.

The only actual notifications I get is for updates.

6

I use pushover for everything alerting, from home assistant to nagios.

A 1 time payment and you get 10,000 alerts a month

18

Just be aware that if you're using the Android client, your phone/tablet will probably at some point put it into deep sleep which will prevent it from displaying notifications. You can (and should) change this in the app settings.

2

I'm old and don't have any identifiable infos in my alerts so I use plain mail messages. If for some reason mail wasn't a good option, I'd use ntfy

8

Mostly Zabbix and my own email server. Way I figure if there's something broken enough to take out the email internally I'm probably already dealing with a broader issue.

5
feddit.uk

I'm currently running both to decide which to use, what made you pick ntfy?

1

Honestly can't remember at this point. I also tried both and couldn't decide back when I was comparing.

I think I started with gotify but struggled getting it working with one of my use cases and ntfy was able.

I don't know if things have changed so I guess try both and see what best suits you

2
feddit.uk

I use Munin for monitoring and XMPP for alerts via go-sendxmpp. That way I just configure munin like this:

contact.admin.command go-sendxmpp -u [bot_username] --password [bot_password] [contact]

And that sends me messages to my main XMPP account whenever my servers breach a limit.

4

Thanks for the link to go-sendxmpp. It's nice to have an xmpp-native way to send notifications

2

I send my grafana alerts via Matrix (selfhosted) and Email (paid service), so either way it reaches me. Has worked out well enough so far

3

For me it's the constant notifications I get from DAVx5 telling me that it can't connect to my Nextcloud server.

3

All of my alerts go to Apprise, which sends it to Home Assistant. Home assistant allows me to either have silent notifications in the app I can look at later, or send as a push notification to my phone.

3

I use pushover mostly. It'll let me know when disks are full, certs need renewing.

Home assistant for home stuff. Sauna is heating, sauna reached temperature, boiler took a break because electricity is expensive, washing machine is done.

3

for my homelab i went with free tier of hetrixtools. it monitors uptime from different locations and has a number of alert options (email, webhook, etc.). free tier was enough for my small needs. as a bonus it also alerts for certificates nearing expiry, smtp monitor, heartbeat. pretty good for hobbyists.

3
feddit.org

I have signal-cli set up on my home assistant and use that for notifications from home.assistant as well as uptime kuma, etc.

3
lemmy.ca

This is a neat idea. Thanks.

I host a matrix chat server with signal bridge and hit the matrix API to send messages. Basically the same thing but more hops. I might set that up too.

2
fedbypiereply
piefed.social

I'm using matrix directly for server notifications. I didn't realize it could integrate with signal. What's the use case there, either for server notifications or in general?

2

That's quite a question.... I have 2 phones with different numbers.

My main phone with the number I give everyone to text/call me lives at home plugged in 100% of the time. SMS/MMS are bridged into self hosted Matrix. Signal, WhatsApp are also installed and bridged into matrix. Calls are forwared to a 3rd number with VoIP.ms.

The phone I keep on me has data only. I can still call and send SMS from the 2nd number but it's expensive. I use a matrix chat app to send SMS/MMS/Signal/WhatsApp messages. I use a VoIP app for calls.

I have signal on my data only phone as a just in case to message/call my wife if things are down. I also thought I'd be a good idea to put notifications in signal as that's my backup chat app.

ETA: the reason I do this is so I can call, text, or messages from any device that has internet. I travel outside of Canada I just need a data sim or WiFi and I can call/text as normal using my normal cell number. I also hate using cellphones. If I'm at work and need to reply to an SMS, I have a keyboard and I want to use that, not some small screen.

1

I don't presently, but back when I was working on a large codebase and needing to know when a painfully long compile finished, I used an XMPP client and server.

3

Depends...

If someone's just arrived home, the freezer door's open, etc, then I'm using Home Assistant to speak / flash a light / etc.

If a device fails, then Uptime Kuma sends via to ntfy & gotify (I'm trying both atm to decide on one)

If it's something I've (not) done, then my partner tells me (arms folded, stern look)

2

I created a slack workspace. Alerts sent via alert manager to a channel. Also has channels for ci runners, home assistant etc.

2

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer LettersMore Letters
LTSLong Term Support software version
LXCLinux Containers
MQTTMessage Queue Telemetry Transport point-to-point networking
PlexBrand of media server package
XMPPExtensible Messaging and Presence Protocol ('Jabber') for open instant messaging

6 acronyms in this thread; the most compressed thread commented on today has 10 acronyms.

[Thread #120 for this comm, first seen 7th Oct 2026, 22:30] [FAQ] [Full list] [Contact] [Source code]

2

zabbix with ntfy for short term alerts and a telegram bot for long-term alerts.

2

My current setup is Uptime Kuma sending notifications via Ntfy.

I need to resolve the issue of what to do when the internet is down (and thus Ntfy cannot be reached), but it has so far done everything I want it to do. It also means I get push notifications on all the devices I care to receive them on.

2
lemmy.world

Was using ntfy.sh until it was AI slopped. Now I'm on apprise. But ntfy was superior.

2
xinayderreply
infosec.pub

What happened to ntfy? Care to elaborate a bit?

7
SanPe_reply
lemmy.world

This release : https://github.com/binwiederhier/ntfy/releases/tag/v2.18.0

This is the biggest release I've ever done on the server. It's 14,997 added lines of code, and 10,202 lines removed, all from one pull request that adds PostgreSQL support.

The code was written by Cursor and Claude, but reviewed and heavily tested over 2-3 weeks by me.

3

That's really unfortunate to see. I was just getting around to setting up my alerts and thought ntfy looked great, since it supports instant notifications on iOS. I guess I'll leave it be until signal-cli-rest-api gets numberless support...

1

I don't have many alerts setup, but I use Mattermost anyway and I send alerts into a Mattermost channel. Sonarr and Radarr report when a download is complete. Jellyfdash reports when someone outside my home starts streaming something over Jellyfin.

2

For the urgent notifications that require immediate action I use apprise -> Pager duty (free tier) because it can overwrite the DnD settings on my phone and wake me up if im asleep. For all other notifications apprise -> matrix.

1

The only thing I rely on from day to day is my nextcloud instance, and my phone gets blown up by failed webdav synchronisation alerts when that fails...

1

I use AlertManager and the push notifications available on Home Assistant companion app.

The push notifications from home assistant do me fine. AlertManager webhook to home assistant and a small automation to send the push.

Could use matrix but this has been perfectly fine for now.

1

MQTT and a vibecoded flutter app that subscribes to topics and will publish acks so it mutes alerts on other devices in my networks. Nothing I could find on the appstore would stay active well enough to be trusted. This one is pretty bulletproof.

1

The only notifications I use are for my cameras through frigate so I just use home assistant to send push notifications when someone walks up to my house.

1