master
yaml 72 lines 2.85 KB
Raw
1 # yamllint disable rule:line-length
2 ---
3 - id: 'notify-flock'
4 meta:
5 name: 'Flock'
6 link: 'https://support.flock.com/'
7 categories:
8 - notify.agent
9 icon_filename: 'flock.png'
10 keywords:
11 - Flock
12 overview:
13 notification_description: |
14 Send notifications to Flock using Netdata's Agent alert notification feature, which supports dozens of endpoints, user roles, and more.
15 notification_limitations: ''
16 setup:
17 prerequisites:
18 list:
19 - title: ''
20 description: |
21 - 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). Read more about flock webhooks and how to get one [here](https://admin.flock.com/webhooks).
22 - Access to the terminal where Netdata Agent is running
23 configuration:
24 file:
25 name: 'health_alarm_notify.conf'
26 options:
27 description: 'The following options can be defined for this notification'
28 folding:
29 title: 'Config Options'
30 enabled: true
31 list:
32 - name: 'SEND_FLOCK'
33 default_value: 'YES'
34 description: "Set `SEND_FLOCK` to YES"
35 required: true
36 - name: 'FLOCK_WEBHOOK_URL'
37 default_value: ''
38 description: "set `FLOCK_WEBHOOK_URL` to your webhook URL."
39 required: true
40 - name: 'DEFAULT_RECIPIENT_FLOCK'
41 default_value: ''
42 description: "Set `DEFAULT_RECIPIENT_FLOCK` to the Flock channel you want the alert notifications to be sent to. All roles will default to this variable if left unconfigured."
43 required: true
44 detailed_description: |
45 You can have different channels per role, by editing DEFAULT_RECIPIENT_FLOCK with the channel you want, in the following entries at the bottom of the same file:
46 ```text
47 role_recipients_flock[sysadmin]="systems"
48 role_recipients_flock[domainadmin]="domains"
49 role_recipients_flock[dba]="databases systems"
50 role_recipients_flock[webmaster]="marketing development"
51 role_recipients_flock[proxyadmin]="proxy-admin"
52 role_recipients_flock[sitemgr]="sites"
53 ```
54 examples:
55 folding:
56 enabled: true
57 title: ''
58 list:
59 - name: 'Basic Configuration'
60 folding:
61 enabled: false
62 description: ''
63 config: |
64 #------------------------------------------------------------------------------
65 # flock (flock.com) global notification options
66
67 SEND_FLOCK="YES"
68 FLOCK_WEBHOOK_URL="https://api.flock.com/hooks/sendMessage/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
69 DEFAULT_RECIPIENT_FLOCK="alarms"
70 troubleshooting:
71 problems:
72 list: []