# ServerGuard24 Integration

[ServerGuard24](https://www.serverguard24.com/index.html) is a comprehensive server monitoring service that ensures the availability and performance of your IT systems. It offers a range of monitoring solutions, including website monitoring, mail server monitoring, database server monitoring, and security monitoring. This guide helps to connect ServerGuard24 with ilert.

## In ilert: Create a ServerGuard24 alert source <a href="#create-alarm-source" id="create-alarm-source"></a>

1. Go to **Alert sources** -> **Alert sources** and click **Create new alert source**.

   <figure><img src="/files/rmL9OoRxcWnDwcJZQm4Y" alt=""><figcaption></figcaption></figure>
2. Search for **ServerGuard24** in the search field, click the ServerGuard24 tile, and then **Next**.

   <figure><img src="/files/1WoRRYB5U40PbeMJ7Hit" alt=""><figcaption></figcaption></figure>
3. Give your alert source a name, optionally assign teams, and click **Next**.
4. Select an **escalation policy** by creating a new one or assigning an existing one.

   <figure><img src="/files/y4Bakf2apGhBN56U8ZPR" alt=""><figcaption></figcaption></figure>
5. Select your [Alert grouping](/alerting/configure-alerting/alert-sources.md#alert-grouping) preference and click **Continue setup**. You may click **Do not group alerts** for now and change it later.

   <figure><img src="/files/nTlB0ZCIW1SP3dj6P9nO" alt=""><figcaption></figcaption></figure>
6. The next page shows additional settings, such as customer alert templates or notification priority. Click **Finish setup** for now.
7. On the final page, an API key and/or webhook URL will be generated. You will need it later.

<figure><img src="/files/2oyCNbjCn2LOiqMG3UFU" alt="" width="563"><figcaption></figcaption></figure>

## In ServerGuard24: Create a Webhook

1. On the Dashboard, click on **Settings**.

<figure><img src="/files/8vbrBSy5mvUFw8DpSYdH" alt=""><figcaption></figcaption></figure>

2. Now, on the sidebar, navigate to **Integrations** and click on the **+ New Integration** button.

<figure><img src="/files/OV2w7uhyx64jpokPbwj6" alt=""><figcaption></figcaption></figure>

3. Change the **Type** to 'Custom'.
4. Change the **Request Type** to 'POST Data'
5. Now, enter a **Description** and the previously generated alert source URL in the **URL** field.

<figure><img src="/files/OA8F8p807JQ3YNAU4OKF" alt=""><figcaption></figcaption></figure>

6. Enter the following template into the **Data Template** field:

```json
{
  "id": "{ID}",
  "status": "{STATUS}",
  "status2": "{STATUS2}",
  "output": "{OUTPUT}",
  "remark": "{REMARK}",
  "shortlink": "{SHORTLINK}",
  "downmsg": "{DOWNMSG}",
  "timestamp": "{TIMESTAMP}",
  "datetime_gmt": "{DATETIME_GMT}",
  "datetime_loc": "{DATETIME_LOC}",
  "datetime_frm": "{DATETIME_FRM}",
  "datetime_iso": "{DATETIME_ISO}",
  "check": "{CHECK}",
  "server": "{SERVER}",
  "address": "{ADDRESS}",
  "debugoutput": "{DEBUGOUTPUT}"
}
```

<figure><img src="/files/za9BXvbLfqvd2A5DRTxs" alt=""><figcaption></figcaption></figure>

7. Click on **Save** to finish the setup.

## FAQ <a href="#faq" id="faq"></a>

**Will alerts in ilert be resolved automatically?**

Yes, as soon as the status of a ServerGuard24 check is 'OK' again, the corresponding alert in ilert will be resolved.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ilert.com/integrations/inbound-integrations/serverguard24.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
