summaryrefslogtreecommitdiffstats
path: root/health/notifications/flock/README.md
blob: b9e0025b317b632c48bac141d76b70b4d2127acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!--
title: "Flock"
custom_edit_url: https://github.com/netdata/netdata/edit/master/health/notifications/flock/README.md
-->

# Flock

This is what you will get:

![Flock](https://i.imgur.com/ok9bRzw.png)

You need:

The **incoming webhook URL** as given by flock.com. 
You can use the same on all your Netdata servers (or you can have multiple if you like - your decision).

Get them here: <https://admin.flock.com/webhooks>

Set them in `/etc/netdata/health_alarm_notify.conf` (to edit it on your system run `/etc/netdata/edit-config health_alarm_notify.conf`), like this:

```
###############################################################################
# sending flock notifications

# enable/disable sending pushover notifications
SEND_FLOCK="YES"

# Login to flock.com and create an incoming webhook.
# You need only one for all your Netdata servers.
# Without it, Netdata cannot send flock notifications.
FLOCK_WEBHOOK_URL="https://api.flock.com/hooks/sendMessage/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

# if a role recipient is not configured, no notification will be sent
DEFAULT_RECIPIENT_FLOCK="alarms"
```