Skip to content

Commit

Permalink
docs: change alerts to admonitions
Browse files Browse the repository at this point in the history
  • Loading branch information
ncosta-ic committed Jul 8, 2024
1 parent 1ff3af8 commit 95e33c2
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions doc/06-Desktop-Notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
With Icinga Notifications, users are able to enable desktop notifications which will inform them about severity
changes in incidents they are notified about.

> **Note**
>
> This feature is currently considered experimental and might not work as expected in all cases.
> We will continue to improve this feature in the future. Your feedback is highly appreciated.
!!! Note

This feature is currently considered experimental and might not work as expected in all cases.

We will continue to improve this feature in the future. Your feedback is highly appreciated.

## How It Works

Expand Down Expand Up @@ -81,23 +82,25 @@ location ~ ^/icingaweb2/notifications/v(\d+)/subscribe$ {
}
```

> **Note**
>
> Since these connections are long-lived, the default web server configuration might impose a too small limit on
> the maximum number of connections. Make sure to adjust this limit to a higher value. If working correctly, the
> daemon will limit the number of connections per client to 2.
!!! Note

Since these connections are long-lived, the default web server configuration might impose a too small limit on
the maximum number of connections. Make sure to adjust this limit to a higher value.

If working correctly, the daemon will limit the number of connections per client to 2.

### Enable The Daemon

The default `systemd` service, shipped with package installations, runs the background daemon.

<!-- {% if not icingaDocs %} -->

> **Note**
>
> If you haven't installed this module from packages, you have to configure this as a `systemd` service yourself by just
> copying the example service definition from `/usr/share/icingaweb2/modules/notifications/config/systemd/icinga-desktop-notifications.service`
> to `/etc/systemd/system/icinga-desktop-notifications.service`.
!!! Note

If you haven't installed this module from packages, you have to configure this as a `systemd` service yourself by just
copying the example service definition from `/usr/share/icingaweb2/modules/notifications/config/systemd/icinga-desktop-notifications.service`
to `/etc/systemd/system/icinga-desktop-notifications.service`.

<!-- {% endif %} -->

You can run the following command to enable and start the daemon.
Expand Down

0 comments on commit 95e33c2

Please sign in to comment.