My server would like a word
I want the servers to tell me when something needs attention. I don't want them to narrate their entire day. Checking dashboards all evening would rather defeat the point of automating things.
The difficulty is deciding what deserves an interruption. A service being unavailable and a condition worth checking tomorrow should not compete equally for my attention.
In Zebra, my Kubernetes cluster, I use Alertmanager to group alerts and choose where to send them and ntfy to deliver phone notifications. The value of that combination is being able to make decisions about delivery before a message reaches the phone.
Metrics and logs -> alert rules -> Alertmanager
|
+---------+---------+
v v
ntfy / phone email / other routes
The checks, routing, and delivery all need to work. If their hosting disappears together, another route name alone does not make detection independent.
Choosing what reaches me
The configured routes separate critical alerts from warnings. They use different ntfy topics, the named channels a device subscribes to, so phone subscriptions can reflect which level needs attention. Informational alerts go to email rather than generating pushes. Warning resolutions do not produce another push.
That last choice is useful because a condition clearing itself often needs no action. Keeping the record is still worthwhile; making the phone announce it is a separate decision.
My email setup provides the broader record, and the setup still has Slack routes for critical alerts. Self-hosting ntfy therefore gives me control over one delivery path without making the entire notification setup independent of outside services.
Maintaining the delivery path
ntfy topics require authentication in this setup. The publishing account has explicit write access to the topics it needs. That keeps notification delivery from becoming an open endpoint anyone can use.
Those permissions live in ntfy's persistent authentication database. Defining where Alertmanager should send a message does not also grant its publishing account permission to write to that ntfy topic. The configuration can look complete while delivery fails with an authorisation error.
If you're building something similar, send a test through the actual publisher and check that it reaches your device. Testing with your administrator account can hide a permission problem the real sender still has.
Security signals and response
Security rules include identity events, suspicious web activity, and missing log streams. A separate containment service can act automatically for selected cases or request confirmation. Its design protects recovery access from automatic lockout and authenticates response commands separately from notification delivery. That limits some ways an attacker could turn an alert into a denial of access; it still needs safe end-to-end testing.
There are evidence gaps. Kubernetes API audit collection and detection rules are present, but I have not verified current event production across all control-plane nodes for this article. Log retention is finite, so investigating late can mean losing the evidence. A declared rule is not proof that a real event reaches my phone. These limits belong in the security assessment.
Deciding whether to host it
If an existing notification service already meets the need, running another server introduces maintenance without necessarily improving the result. ntfy becomes more useful when control of topics, authentication, and delivery behaviour matters enough to justify that work.
The cluster-hosted notification path shares the cluster's failures. For an external view, I have Uptime Kuma service checks and email alerting at Hetzner in the EU, outside the home. That gives a home power or connectivity failure somewhere else to be noticed; it doesn't prove every check or delivery path will work under every failure.
I still need to test from a real failure through to receipt on the device. Phone delivery can have platform dependencies too. The same dependency checks apply to alerts as to the tools I use for repairs.
I'd start small if you're setting this up: one route for something that needs you now, somewhere quieter for the rest, and a test that proves the message gets through. I need to trust the interruption enough to pay attention. A phone full of warnings is very easy to turn face down.