Lilin support sending notification to,
See the next section on how to use the notification.
In the server configuration, add the section "notif" with the following format,
[notif]
kind = mattermost
webhook_url = # The incoming webhook URL.
channel = # The channel where the notification will be placed.
down_template = # Message template when service is down.
up_template = # Message template when service is up.
The down_template
and up_template
can contains the following variables,
For example, given the following scan report value,
.ID: http-server
.At: 2025-09-26 06:38:11 +0000 UTC
.Error: 503 Service Unavailable
The following down_template
{{.At}}: Service {{.ID}} is down: {{.Error}}
will be rendered as
2025-09-26 06:38:11 +0000 UTC: Service http-server is down: 503 Service Unavailable