---
title: "Integrasi UptimeRobot - Peringatan Gangguan"
sidebarTitle: UptimeRobot
description: Kirim peringatan UptimeRobot ke Echobell untuk notifikasi push atau panggilan telepon saat terjadi gangguan, SSL kedaluwarsa, dan waktu respons yang lambat.
---

import { Step, Steps } from "fumadocs-ui/components/steps";

[UptimeRobot](https://uptimerobot.com/) adalah layanan pemantauan uptime yang populer. Anda bisa mengintegrasikannya dengan Echobell memakai Webhook.

<Steps>
<Step>
    ### Buat Saluran
    Buat saluran baru di Echobell lalu salin **URL Webhook**-nya.
</Step>
<Step>
    ### Tambahkan Alert Contact
    1. Masuk ke UptimeRobot.
    2. Buka **My Settings**.
    3. Gulir ke **Alert Contacts** lalu klik **Add Alert Contact**.
    4. Pilih **Web-Hook** sebagai Alert Contact Type.
    5. Setel **Friendly Name** menjadi "Echobell".
    6. Tempel URL Webhook Echobell Anda ke **URL to Notify**.
    7. Aktifkan **Send as JSON**.
</Step>
<Step>
    ### Konfigurasikan Payload
    Tempel JSON berikut ke kolom **Post Value (JSON Format)**:

    ```json
    {
      "monitorName": "*monitorFriendlyName*",
      "alertType": "*alertType*",
      "details": "*alertDetails*",
      "url": "*monitorURL*"
    }
    ```

    *   `*alertType*`: `1` untuk Down, `2` untuk Up.

</Step>
<Step>
    ### Konfigurasikan Templat Echobell
    Di pengaturan saluran Echobell Anda, Anda bisa memakai ekspresi untuk menangani jenis peringatan:

    **Templat Judul:**
    ```
    Monitor {{monitorName}} is {{alertType == "1" ? "DOWN" : "UP"}}
    ```

    **Templat Isi:**
    ```
    {{details}}
    URL: {{url}}
    ```

</Step>
</Steps>
