Connecting your systems
Open Connect a system in the sidebar. Pick what is sending, pick or name the topic it sends to, follow its steps, and stay on the page until its first message arrives and the page says "It works.".
How Connect a system works#
The page has four steps. Each step is part of the page's address, so a link can start at any of them, and Connect another starts again.
What is sending?#
Every tool Skirl has steps for, in groups, each with one line on what you will get from it. Search finds a tool by its name or by what it sends ("Grafana", "backups", "pull requests"): every word you type must be in the tool's name, its line or its group.
If nothing matches, or your tool is not there, see When yours is not listed.
Where should it go?#
- A new topic: the name is suggested from the tool (
grafana,alerts,github), with a number added when that name is taken (grafana-2). Change it if you like: letters, digits,-and_, up to 64. Only people who may make topics see this choice (Topics). - A topic you have: any topic you can both send to and read. If it is not in your inbox yet, it is added, so you see the first message arrive.
If you may not make topics and have no topic you can both send to and read, the page says so: ask an admin for one.
Set it up#
The tool's own steps, with your server's address and the topic filled in. The address is the server's public address (an admin sets it in Admin → Settings → The public address and the proxy); until one is set, it is the address in your browser, which another machine may not be able to reach.
- Events to send (for the tools that send several kinds of message): tick what you want. At least one stays ticked. Your choice becomes part of the address in the steps, so after changing it, copy the address into the tool again.
- New token makes a token called
<topic>-publishthat may send to this topic and nothing else, and fills it into the steps. Its secret is shown only until you leave the page: copy it into the tool then. Rotate gives an existing token a new secret. Until there is a token, a step that holds it says so instead of showing a placeholder. More in Tokens and access. - If the topic is not in your inbox, Subscribe puts it there, so its first message can show on this page.
When the tool is set up, press It is set up: wait for its first message.
Waiting for the first message#
Send something from the tool now: most have a test button. Any message that reaches the topic after the steps were shown counts (and one from up to ten seconds before). When it arrives the page says "It works." and shows it, with Open the topic and Connect another.
If nothing has come after two minutes, the page lists the three usual reasons (the address, the token, a network that cannot reach your server) and a health check to run on the machine that sends. They are explained in When something does not work.
A topic's Send to this topic tab shows the same steps, events and New token for a topic you already have.
How to choose#
- Your tool is in the list: pick it. Its steps are made for it and run against Skirl in Skirl's own tests, and for the tools that post their own JSON there is a template made for them: a readable title, the right priority, events you can turn off, and an alert's recovery replacing the alert.
- It is a script or a command you write: curl, Shell or Python.
- It has an ntfy option in its notification settings: it can send to Skirl directly (When yours is not listed).
- It only posts JSON to an address you give it (a "webhook"): Any webhook.
Alerts from monitoring that are resolved, and code-hosting CI runs that pass after failing, replace the message they follow, so a topic shows what is wrong now.
The senders#
| Group | Sender | What you get |
|---|---|---|
| Scripts and commands | curl | A message from one command: a quick try, or a script that has curl. |
| Shell | A function your scripts and cron jobs call when something is done or broken. | |
| Python | A message from a Python script, with nothing to install. | |
| Apprise | Messages from any tool that sends through Apprise. | |
| Monitoring | Uptime Kuma | A message when a monitor goes down, and when it is back up. |
| Grafana | Each alert as it fires, replaced by its message when it resolves. | |
| Alertmanager | Each Prometheus alert as it fires, replaced when it resolves. | |
| Wazuh | Each alert from a level you pick: sign-ins, file changes, vulnerabilities, malware. | |
| Docker | A crash, an out-of-memory kill, a failing health check or a restart loop, and when it recovers. | |
| Code hosting | GitHub | Pushes, pull requests, issues, releases and failed workflow runs. |
| Gitea / Forgejo | Pushes, pull requests, issues, comments and releases. | |
| GitLab | Pushes, merge requests, pipelines, issues and releases. | |
| Chat-style webhooks | Slack-compatible | Messages from any tool that can post to a Slack webhook. |
| Discord-compatible | Messages from any tool that can post to a Discord webhook. | |
| Something else | Home Assistant | Notifications from your Home Assistant automations. |
| Any webhook | Any JSON a tool posts, as a readable message, with no template written. |
When yours is not listed#
Most tools that send notifications can send to ntfy, and anything that can send to ntfy can send to Skirl. Look for an ntfy option in the tool's notification settings and give it:
- the server: your Skirl address, such as
https://notify.example.com - the topic: its name, such as
backups - a token: from the topic's Send to this topic tab (New token). Where the tool asks for a user name and password instead, leave the user name empty and use the token as the password.
A tool with no ntfy option but a webhook (it posts JSON to an address you give it) works with Any webhook: it reads the title, the text, the priority and the link from the usual field names, so the message reads well with nothing written. What it looks for: Any webhook.
To make it better for your tool, use Listen for a real message under Any webhook: send one message from the tool, click its values to say which is the title, the text and the rest, and watch the message as it will arrive. An admin then saves it as a template, and the tool's address names it: Listen for a real message. An admin can also write a template by hand: Templates.
For a template built into Skirl, Connect a system links to an issue form on GitHub: send a sample of what the tool posts, with its secrets taken out.
A tool that can only send email, or only to one service at an address you cannot change, cannot send to Skirl directly.