Uptime Kuma
Uptime Kuma sends a message to the topic when a monitor goes down, and another when it is back up, through the ntfy notification it has built in.
Setting it up#
In the app these values are under Connect a system → Uptime Kuma, or a topic's Send to this topic tab, with your address, the topic and a token filled in; New token makes the token.
Settings → Notifications → Set Up Notification, then these values. Its Test button sends "Skirl Testing".
- Notification Type: ntfy
- Friendly Name: Skirl
- ntfy Topic:
uptime - Server URL:
https://notify.example.com - Priority: 3
- Priority for DOWN-events: 4
- Authentication Method: Access Token
- Access Token:
tk_replace_with_your_token
Skirl's tests send exactly what Uptime Kuma 2.5.12 sends with these values: its Test message, a monitor going down and coming back up. In Uptime Kuma's form:
- Server URL is your server's address alone. Uptime Kuma's own note under it says the same: "Server URL should not contain the nfty topic". With the topic in it, each message arrives as a line of raw JSON.
- Priority is for the Test message and for Up messages; Priority for DOWN-events, below it, is for Down messages. Both start at 5, the highest. As above, a monitor going down is high (4) and the rest normal (3): Down messages show under Urgent in the inbox, Up and Test ones do not (Title, priority and tags). Set Priority for DOWN-events to 5 for the highest.
- Test sends "Skirl Testing" (the Friendly Name and "Testing") and shows "Sent Successfully." when Skirl takes it.
- A notification sends nothing for a monitor until the monitor uses it. Tick Default enabled for monitors you add from now on and Apply on all existing monitors for the ones you have, then Save; or tick it under Notifications on a monitor's edit page.
An Up message is a message of its own: it does not replace the Down one. Uptime Kuma 2.5.12's ntfy notification sends no sequence ID, and has no setting for one. A monitor's tags arrive as the message's tags, and a monitor with an address gets a button that opens it (Action buttons).
What a message looks like#
A monitor called NAS going down, as Skirl's tests send it:
🔴 NAS Down [Uptime-Kuma] connect ECONNREFUSED 10.0.0.5:5000
Priority 4 · Tags: home · Button: Open NAS
Coming back up:
🟢 NAS Up [Uptime-Kuma] 200 - OK
Priority 3 · Tags: home · Button: Open NAS
The Test button's message, for a topic called uptime:
🧪 uptime [Uptime-Kuma] Skirl Testing
Priority 3
The circles and the test tube are Uptime Kuma's tags red_circle, green_circle and test_tube, shown as emoji.
When nothing arrives#
Press Test first. When sending fails, Uptime Kuma shows the error, and its end is Skirl's answer:
(HTTP 401 Unauthorized) {"code":40101,"http":401,"error":"unauthorized"}- HTTP 401: the Access Token is wrong, revoked or expired. Make a new one with New token, or Rotate, and paste it in again.
- HTTP 403: the token may not send to this topic (it is limited to another one, or ntfy Topic is misspelled), or Authentication Method is None, so no token is sent.
- HTTP 429: too many messages too fast, or too many failed sign-ins from Uptime Kuma's address: Rate limits. A wrong token that Uptime Kuma keeps sending counts as failed sign-ins.
- An error with no HTTP status (a name it cannot find, a refused connection, a timeout, a certificate it does not trust): Uptime Kuma cannot reach the Server URL from where it runs.
Test works but a monitor sends nothing: the notification is not ticked on that monitor. Messages arrive as raw JSON: the topic is in Server URL.
The general checks: A sender gets no message through. Every error code: Error messages.