health_alarm_notify.conf 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320
  1. # Configuration for alarm notifications
  2. #
  3. # This configuration is used by: alarm-notify.sh
  4. # changes take effect immediately (the next alarm will use them).
  5. #
  6. # alarm-notify.sh can send:
  7. # - e-mails (using the sendmail command),
  8. # - push notifications to your mobile phone (pushover.net),
  9. # - messages to your slack team (slack.com),
  10. # - messages to your alerta server (alerta.io),
  11. # - messages to your flock team (flock.com),
  12. # - messages to your discord guild (discord.com),
  13. # - messages to your telegram chat / group chat (telegram.org)
  14. # - sms messages to your cell phone or any sms enabled device (twilio.com)
  15. # - sms messages to your cell phone or any sms enabled device (messagebird.com)
  16. # - sms messages to your cell phone or any sms enabled device (smstools3)
  17. # - notifications to users on pagerduty.com
  18. # - push notifications to iOS devices (via prowlapp.com)
  19. # - notifications to Amazon SNS topics (aws.amazon.com)
  20. # - messages to your irc channel on your selected network
  21. # - messages to a local or remote syslog daemon
  22. # - message to Microsoft Teams (through webhook)
  23. # - message to Rocket.Chat (through webhook)
  24. # - message to Google Hangouts Chat (through webhook)
  25. # - push notifications to your mobile phone or desktop (ntfy.sh)
  26. #
  27. # The 'to' line given at netdata alarms defines a *role*, so that many
  28. # people can be notified for each role.
  29. #
  30. # This file is a BASH script itself.
  31. #
  32. #
  33. #------------------------------------------------------------------------------
  34. # proxy configuration
  35. #
  36. # If you need to send curl based notifications (pushover, pushbullet, slack, alerta,
  37. # flock, discord, telegram) via a proxy, set these to your proxy address:
  38. #export http_proxy="http://10.0.0.1:3128/"
  39. #export https_proxy="http://10.0.0.1:3128/"
  40. #------------------------------------------------------------------------------
  41. # notifications images
  42. #
  43. # Images in notifications need to be downloaded from an Internet facing site.
  44. # To allow notification providers fetch the icons/images, by default we set
  45. # the URL of the global public netdata registry.
  46. # If you have an Internet facing netdata (or you have copied the images/ folder
  47. # of netdata to your web server), set its URL here, to fetch the notification
  48. # images from it.
  49. #images_base_url="http://my.public.netdata.server:19999"
  50. #------------------------------------------------------------------------------
  51. # date handling
  52. #
  53. # You can configure netdata alerts to send dates in any format you want.
  54. # This uses standard `date` command format strings. See `man date` for
  55. # more info on what you can put in here. Note that this has to start with a '+', otherwise it won't work.
  56. #
  57. # For ISO 8601 dates, use '+%FT%T%z'
  58. # For RFC 5322 dates, use '+%a, %d %b %Y %H:%M:%S %z'
  59. # For RFC 3339 dates, use '+%F %T%:z'
  60. # For RFC 1123 dates, use '+%a, %d %b %Y %H:%M:%S %Z'
  61. # For RFC 1036 dates, use '+%A, %d-%b-%y %H:%M:%S %Z'
  62. # For a reasonably local date and time (in that order), use '+%x %X'
  63. # For the old default behavior (compatible with ANSI C's asctime() function), leave this empty.
  64. date_format=''
  65. #------------------------------------------------------------------------------
  66. # hostname handling
  67. #
  68. # By default, Netdata will use the simple hostname for the system (the
  69. # hostname with everything after the first `.` removed) when displaying
  70. # the hostname in alert notifications. If you prefer, you can uncomment
  71. # the line below to have Netdata instead use the host's fully qualified
  72. # domain name.
  73. #
  74. # This does not report correct FQDN's for child systems for which this
  75. # system is a parent.
  76. #
  77. # Additionally, if the system host name is overridden in /etc/netdata.conf
  78. # with the `hostname` option, that name will be used unconditionally
  79. # instead of this.
  80. #use_fqdn='YES'
  81. #------------------------------------------------------------------------------
  82. # external commands
  83. # The full path to the sendmail command.
  84. # If empty, the system $PATH will be searched for it.
  85. # If not found, email notifications will be disabled (silently).
  86. sendmail=""
  87. # The full path of the curl command.
  88. # If empty, the system $PATH will be searched for it.
  89. # If not found, most notifications will be silently disabled.
  90. curl=""
  91. # The full path of the nc command.
  92. # If empty, the system $PATH will be searched for it.
  93. # If not found, irc notifications will be silently disabled.
  94. nc=""
  95. # The full path of the logger command.
  96. # If empty, the system $PATH will be searched for it.
  97. # If not found, syslog notifications will be silently disabled.
  98. logger=""
  99. # The full path of the aws command.
  100. # If empty, the system $PATH will be searched for it.
  101. # If not found, Amazon SNS notifications will be silently disabled.
  102. aws=""
  103. # The full path of the sendsms command (smstools3).
  104. # If empty, the system $PATH will be searched for it.
  105. # If not found, SMS notifications will be silently disabled.
  106. sendsms=""
  107. #------------------------------------------------------------------------------
  108. # extra options for external commands
  109. #
  110. # In some cases, you may need to change what options get passed to an
  111. # external command. Such cases are covered here.
  112. # Extra options to pass to curl. In most cases, you shouldn't need to add anything
  113. # to this. If you're having issues with HTTPS connections, you might try adding
  114. # '--insecure' here, but be warned that it will make it much easier for
  115. # third-parties to block notification delivery, and may allow disclosure
  116. # of potentially sensitive information.
  117. #curl_options="--insecure"
  118. # Extra options to pass to logger. You shouldn't have to specify anything
  119. # here in most cases.
  120. #logger_options=""
  121. #------------------------------------------------------------------------------
  122. # extra options
  123. # By default don't do anything if this is CLEAR, but it was not WARNING or CRITICAL.
  124. # You can send it always if your system makes deduplication for alarms.
  125. #clear_alarm_always='YES'
  126. #
  127. #------------------------------------------------------------------------------
  128. # NOTE ABOUT RECIPIENTS
  129. #
  130. # When you define recipients (all types):
  131. #
  132. # - emails addresses
  133. # - pushover user tokens
  134. # - telegram chat ids
  135. # - slack channels
  136. # - alerta environment
  137. # - flock rooms
  138. # - discord channels
  139. # - hipchat rooms
  140. # - sms phone numbers
  141. # - pagerduty.com (pd) services
  142. # - irc channels
  143. #
  144. # You can append modifiers to limit the notifications to be sent:
  145. # |critical - Send critical notifications and following status changes until
  146. # the alarm is cleared.
  147. # |nowarn - Do not send warning notifications.
  148. # |noclear - Do not send clear notifications.
  149. #
  150. # In these examples, the first recipient receives all the alarms
  151. # while the second one receives only notifications for alarms that
  152. # have at some point become critical. The second user may still receive
  153. # warning and clear notifications, but only for the event that previously
  154. # caused a critical alarm.
  155. #
  156. # email : "user1@example.com user2@example.com|critical"
  157. # pushover : "2987343...9437837 8756278...2362736|critical"
  158. # telegram : "111827421 112746832|critical"
  159. # slack : "alarms disasters|critical"
  160. # alerta : "alarms disasters|critical"
  161. # flock : "alarms disasters|critical"
  162. # discord : "alarms disasters|critical"
  163. # twilio : "+15555555555 +17777777777|critical"
  164. # messagebird: "+15555555555 +17777777777|critical"
  165. # kavenegar : "09155555555 09177777777|critical"
  166. # pd : "<pd_service_key_1> <pd_service_key_2>|critical"
  167. # irc : "<irc_channel_1> <irc_channel_2>|critical"
  168. # hangouts : "alarms disasters|critical"
  169. #
  170. # You can append multiple modifiers. In this example, recipient receives
  171. # notifications for critical alarms and following status changes except clear
  172. # notifications.
  173. # email : "user1@example.com|critical|noclear"
  174. #
  175. # If a recipient is set to empty string, the default recipient of the given
  176. # notification method (email, pushover, telegram, slack, alerta, etc) will be used.
  177. # To disable a notification, use the recipient called: disabled
  178. # This works for all notification methods (including the default recipients).
  179. #------------------------------------------------------------------------------
  180. # email global notification options
  181. # multiple recipients can be given like this:
  182. # "admin1@example.com admin2@example.com ..."
  183. # the email address sending email notifications
  184. # the default is the system user netdata runs as (usually: netdata)
  185. # The following formats are supported:
  186. # EMAIL_SENDER="user@domain"
  187. # EMAIL_SENDER="User Name <user@domain>"
  188. # EMAIL_SENDER="'User Name' <user@domain>"
  189. # EMAIL_SENDER="\"User Name\" <user@domain>"
  190. EMAIL_SENDER=""
  191. # enable/disable sending emails
  192. SEND_EMAIL="YES"
  193. # if a role recipient is not configured, an email will be send to:
  194. DEFAULT_RECIPIENT_EMAIL="root"
  195. # to receive only critical alarms, set it to "root|critical"
  196. # Optionally specify the encoding to list in the Content-Type header.
  197. # This doesn't change what encoding the e-mail is sent with, just what
  198. # the headers say it was encoded as.
  199. # This shouldn't need to be changed as it will almost always be
  200. # autodetected from the environment.
  201. #EMAIL_CHARSET="UTF-8"
  202. # You can also have netdata add headers to the message that will
  203. # cause most e-mail clients to treat all notifications for a given
  204. # chart+alarm+host combination as a single thread. This can help
  205. # simplify tracking of alarms, as it provides an easy way for scripts
  206. # to correlate messages and also will cause most clients to group all the
  207. # messages together. This is enabled by default, uncomment the line
  208. # below if you want to disable it.
  209. #EMAIL_THREADING="NO"
  210. # By default, netdata sends HTML and Plain Text emails, some clients
  211. # do not parse HTML emails such as command line clients.
  212. # To make emails readable in these clients, you can configure netdata
  213. # to not send HTML but Plain Text only emails.
  214. #EMAIL_PLAINTEXT_ONLY="YES"
  215. #------------------------------------------------------------------------------
  216. # Dynatrace global notification options
  217. #------------------------------------------------------------------------------
  218. # enable/disable sending Dynatrace notifications
  219. SEND_DYNATRACE="YES"
  220. # The Dynatrace server with protocol prefix (http:// or https://), example https://monitor.illumineit.com
  221. # Required
  222. DYNATRACE_SERVER=""
  223. # Generate a Dynatrace API authentication token
  224. # Read https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/basics/dynatrace-api-authentication/
  225. # On Dynatrace server goto Settings --> Integration --> Dynatrace API --> Generate token
  226. # Required
  227. DYNATRACE_TOKEN=""
  228. # Beware: Space is taken from dynatrace URL from browser when you create the TOKEN
  229. # Required
  230. DYNATRACE_SPACE=""
  231. # Generate a Server Tag. On the Dynatrace Server go to Settings --> Tags --> Manually applied tags create the Tag
  232. # The Netdata alarm will be sent as a Dynatrace Event to be correlated with all those hosts tagged with this Tag
  233. # you created.
  234. # Required
  235. DYNATRACE_TAG_VALUE=""
  236. # Change this to what you want
  237. DYNATRACE_ANNOTATION_TYPE="Netdata Alarm"
  238. # This can be CUSTOM_INFO, CUSTOM_ANNOTATION, CUSTOM_CONFIGURATION, CUSTOM_DEPLOYMENT
  239. # Applying default value
  240. # Required
  241. DYNATRACE_EVENT="CUSTOM_INFO"
  242. DEFAULT_RECIPIENT_DYNATRACE=""
  243. #------------------------------------------------------------------------------
  244. # Stackpulse global notification options
  245. SEND_STACKPULSE="YES"
  246. # Webhook
  247. STACKPULSE_WEBHOOK=""
  248. DEFAULT_RECIPIENT_STACKPULSE=""
  249. #------------------------------------------------------------------------------
  250. # gotify global notification options
  251. SEND_GOTIFY="YES"
  252. # App token and url
  253. GOTIFY_APP_TOKEN=""
  254. GOTIFY_APP_URL=""
  255. DEFAULT_RECIPIENT_GOTIFY=""
  256. #------------------------------------------------------------------------------
  257. # opsgenie global notification options
  258. SEND_OPSGENIE="YES"
  259. # Api key
  260. OPSGENIE_API_KEY=""
  261. OPSGENIE_API_URL=""
  262. DEFAULT_RECIPIENT_OPSGENIE=""
  263. #------------------------------------------------------------------------------
  264. # hangouts (google hangouts chat) global notification options
  265. # enable/disable sending hangouts notifications
  266. SEND_HANGOUTS="YES"
  267. # On Hangouts, in the room you choose, create an incoming webhook,
  268. # copy the link and paste it below and also give it a room name.
  269. # Without it, netdata cannot send hangouts notifications to that room.
  270. # You will then use the same room name in your recipients list. For each URI, you need
  271. # HANGOUTS_WEBHOOK_URI[room_name]="WEBHOOK_URI"
  272. # e.g. to define systems and development rooms/recipients:
  273. # HANGOUTS_WEBHOOK_URI[systems]="URLforroom1"
  274. # HANGOUTS_WEBHOOK_URI[development]="URLforroom2"
  275. # if a DEFAULT_RECIPIENT_HANGOUTS is not configured,
  276. # notifications won't be send to hangouts rooms. For the example above,
  277. # a valid recipients list is the following
  278. # DEFAULT_RECIPIENT_HANGOUTS="systems development|critical"
  279. DEFAULT_RECIPIENT_HANGOUTS=""
  280. #------------------------------------------------------------------------------
  281. # pushover (pushover.net) global notification options
  282. # multiple recipients can be given like this:
  283. # "USERTOKEN1 USERTOKEN2 ..."
  284. # enable/disable sending pushover notifications
  285. SEND_PUSHOVER="YES"
  286. # Login to pushover.net to get your pushover app token.
  287. # You need only one for all your netdata servers (or you can have one for
  288. # each of your netdata - your call).
  289. # Without an app token, netdata cannot send pushover notifications.
  290. PUSHOVER_APP_TOKEN=""
  291. # if a role's recipients are not configured, a notification will be send to
  292. # this pushover user token (empty = do not send a notification for unconfigured
  293. # roles):
  294. DEFAULT_RECIPIENT_PUSHOVER=""
  295. #------------------------------------------------------------------------------
  296. # pushbullet (pushbullet.com) push notification options
  297. # multiple recipients can be given like this:
  298. # "user1@email.com user2@mail.com"
  299. # enable/disable sending pushbullet notifications
  300. SEND_PUSHBULLET="YES"
  301. # Signup and Login to pushbullet.com
  302. # To get your Access Token, go to https://www.pushbullet.com/#settings/account
  303. # Create a new access token and paste it below.
  304. # Then just set the recipients' emails.
  305. # Please note that the if the email in the DEFAULT_RECIPIENT_PUSHBULLET does
  306. # not have a pushbullet account, the pushbullet service will send an email
  307. # to that address instead.
  308. # Without an access token, netdata cannot send pushbullet notifications.
  309. PUSHBULLET_ACCESS_TOKEN=""
  310. DEFAULT_RECIPIENT_PUSHBULLET=""
  311. # Device iden of the sending device. Optional.
  312. PUSHBULLET_SOURCE_DEVICE=""
  313. #------------------------------------------------------------------------------
  314. # Twilio (twilio.com) SMS options
  315. # multiple recipients can be given like this:
  316. # "+15555555555 +17777777777"
  317. # enable/disable sending twilio SMS
  318. SEND_TWILIO="YES"
  319. # Signup for free trial and select a SMS capable Twilio Number
  320. # To get your Account SID and Token, go to https://www.twilio.com/console
  321. # Place your sid, token and number below.
  322. # Then just set the recipients' phone numbers.
  323. # The trial account is only allowed to use the number specified when set up.
  324. # Without an account sid and token, netdata cannot send Twilio text messages.
  325. TWILIO_ACCOUNT_SID=""
  326. TWILIO_ACCOUNT_TOKEN=""
  327. TWILIO_NUMBER=""
  328. DEFAULT_RECIPIENT_TWILIO=""
  329. #------------------------------------------------------------------------------
  330. # Messagebird (messagebird.com) SMS options
  331. # multiple recipients can be given like this:
  332. # "+15555555555 +17777777777"
  333. # enable/disable sending messagebird SMS
  334. SEND_MESSAGEBIRD="YES"
  335. # to get an access key, create a free account at https://www.messagebird.com
  336. # verify and activate the account (no CC info needed)
  337. # login to your account and enter your phonenumber to get some free credits
  338. # to get the API key, click on 'API' in the sidebar, then 'API Access (REST)'
  339. # click 'Add access key' and fill in data (you want a live key to send SMS)
  340. # Without an access key, netdata cannot send Messagebird text messages.
  341. MESSAGEBIRD_ACCESS_KEY=""
  342. MESSAGEBIRD_NUMBER=""
  343. DEFAULT_RECIPIENT_MESSAGEBIRD=""
  344. #------------------------------------------------------------------------------
  345. # Kavenegar (Kavenegar.com) SMS options
  346. # multiple recipients can be given like this:
  347. # "09155555555 09177777777"
  348. # enable/disable sending kavenegar SMS
  349. SEND_KAVENEGAR="YES"
  350. # to get an access key, after selecting and purchasing your desired service
  351. # at http://kavenegar.com/pricing.html
  352. # login to your account, go to your dashboard and my account are
  353. # https://panel.kavenegar.com/Client/setting/account from API Key
  354. # copy your api key. You can generate new API Key too.
  355. # You can find and select kevenegar sender number from this place.
  356. # Without an API key, netdata cannot send KAVENEGAR text messages.
  357. KAVENEGAR_API_KEY=""
  358. KAVENEGAR_SENDER=""
  359. DEFAULT_RECIPIENT_KAVENEGAR=""
  360. #------------------------------------------------------------------------------
  361. # telegram (telegram.org) global notification options
  362. # multiple recipients can be given like this:
  363. # "CHAT_ID_1 CHAT_ID_2 ..."
  364. # enable/disable sending telegram messages
  365. SEND_TELEGRAM="YES"
  366. # Contact the bot @BotFather to create a new bot and receive a bot token.
  367. # Without it, netdata cannot send telegram messages.
  368. TELEGRAM_BOT_TOKEN=""
  369. # If an API limit error is returned on sending a message, Netdata will retry this number of times before giving up.
  370. # Setting the number to 0 makes Netdata do no retries (which is the default).
  371. # See https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-how-do-i-avoid-this
  372. TELEGRAM_RETRIES_ON_LIMIT="0"
  373. # To get your chat ID send the command /getid to telegram bot @myidbot
  374. # (https://t.me/myidbot). Each user also needs to open a conversation with the
  375. # bot that will be sending notifications.
  376. # If a role's recipients are not configured, a message will be sent to
  377. # this chat id (empty = do not send a notification for unconfigured roles):
  378. DEFAULT_RECIPIENT_TELEGRAM=""
  379. #------------------------------------------------------------------------------
  380. # slack (slack.com) global notification options
  381. # multiple recipients can be given like this:
  382. # "RECIPIENT1 RECIPIENT2 ..."
  383. # enable/disable sending slack notifications
  384. SEND_SLACK="YES"
  385. # Login to your slack.com workspace and create an incoming webhook, using the "Incoming Webhooks" App: https://slack.com/apps/A0F7XDUAZ-incoming-webhooks
  386. # Do not use the instructions in https://api.slack.com/incoming-webhooks#enable_webhooks, as those webhooks work only for a single channel.
  387. # You need only one for all your netdata servers (or you can have one for each of your netdata).
  388. # Without the app and a webhook, netdata cannot send slack notifications.
  389. SLACK_WEBHOOK_URL=""
  390. # if a role's recipients are not configured, a notification will be send to:
  391. # - A slack channel (syntax: '#channel' or 'channel')
  392. # - A slack user (syntax: '@user')
  393. # - The channel or user defined in slack for the webhook (syntax: '#')
  394. # empty = do not send a notification for unconfigured roles
  395. DEFAULT_RECIPIENT_SLACK=""
  396. #------------------------------------------------------------------------------
  397. # Microsoft Teams (office.com) global notification options
  398. # More details are available here regarding the payload syntax options:
  399. # https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference
  400. # Online designer : https://adaptivecards.io/designer/
  401. # multiple recipients can be given like this:
  402. # "CHANNEL1 CHANNEL2 ..."
  403. # enable/disable sending teams notifications
  404. SEND_MSTEAMS="YES"
  405. # In Microsoft Teams the channel name is encoded in the URI after
  406. # .../IncomingWebhook/...
  407. # You have to replace the encoded channel name by the placeholder `CHANNEL`
  408. # in `MSTEAMS_WEBHOOK_URL`. The placeholder `CHANNEL` will be replaced by the
  409. # actual encoded channel name before sending the notification.
  410. MSTEAMS_WEBHOOK_URL=""
  411. # if a role's recipients are not configured, a notification will be send to
  412. # this Teams channel (empty = do not send a notification for unconfigured
  413. # roles):
  414. # Put the different encoded channel names here like : "CHANNEL1 CHANNEL2 ..."
  415. # AT LEAST ONE CHANNEL IS MANDATORY
  416. DEFAULT_RECIPIENT_MSTEAMS=""
  417. # Define the default color scheme for alert to MS Teams - icon and color
  418. # Icons - go to https://emojipedia.org/bomb/
  419. MSTEAMS_ICON_DEFAULT="♡"
  420. MSTEAMS_ICON_CLEAR="💚"
  421. MSTEAMS_ICON_WARNING="⚠️"
  422. MSTEAMS_ICON_CRITICAL="🔥"
  423. # Colors
  424. MSTEAMS_COLOR_DEFAULT="0076D7"
  425. MSTEAMS_COLOR_CLEAR="65A677"
  426. MSTEAMS_COLOR_WARNING="FFA500"
  427. MSTEAMS_COLOR_CRITICAL="D93F3C"
  428. #------------------------------------------------------------------------------
  429. # rocketchat (rocket.chat) global notification options
  430. # multiple recipients can be given like this:
  431. # "CHANNEL1 CHANNEL2 ..."
  432. # enable/disable sending rocketchat notifications
  433. SEND_ROCKETCHAT="YES"
  434. # Login to rocket.chat and create an incoming webhook. You need only one for all
  435. # your netdata servers (or you can have one for each of your netdata).
  436. # Without it, netdata cannot send rocketchat notifications.
  437. ROCKETCHAT_WEBHOOK_URL=""
  438. # if a role's recipients are not configured, a notification will be send to
  439. # this rocketchat channel (empty = do not send a notification for unconfigured
  440. # roles):
  441. DEFAULT_RECIPIENT_ROCKETCHAT=""
  442. #------------------------------------------------------------------------------
  443. # alerta (alerta.io) global notification options
  444. # multiple recipients (Environments) can be given like this:
  445. # "Production Development ..."
  446. # enable/disable sending alerta notifications
  447. SEND_ALERTA="YES"
  448. # here set your alerta server API url
  449. # this is the API url you defined when installed Alerta server,
  450. # it is the same for all users. Do not include last slash.
  451. # ALERTA_WEBHOOK_URL="https://<server>/alerta/api"
  452. ALERTA_WEBHOOK_URL=""
  453. # Login with an administrative user to you Alerta server and create an API KEY
  454. # with write permissions.
  455. ALERTA_API_KEY=""
  456. # you can define environments in /etc/alertad.conf option ALLOWED_ENVIRONMENTS
  457. # standard environments are Production and Development
  458. # if a role's recipients are not configured, a notification will be send to
  459. # this Environment (empty = do not send a notification for unconfigured roles):
  460. DEFAULT_RECIPIENT_ALERTA=""
  461. #------------------------------------------------------------------------------
  462. # flock (flock.com) global notification options
  463. # enable/disable sending flock notifications
  464. SEND_FLOCK="YES"
  465. # Login to flock.com and create an incoming webhook. You need only one for all
  466. # your netdata servers (or you can have one for each of your netdata).
  467. # Without it, netdata cannot send flock notifications.
  468. FLOCK_WEBHOOK_URL=""
  469. # if a role recipient is not configured, no notification will be sent
  470. DEFAULT_RECIPIENT_FLOCK=""
  471. #------------------------------------------------------------------------------
  472. # discord (discord.com) global notification options
  473. # multiple recipients can be given like this:
  474. # "CHANNEL1 CHANNEL2 ..."
  475. # enable/disable sending discord notifications
  476. SEND_DISCORD="YES"
  477. # Create a webhook by following the official documentation -
  478. # https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
  479. DISCORD_WEBHOOK_URL=""
  480. # if a role's recipients are not configured, a notification will be send to
  481. # this discord channel (empty = do not send a notification for unconfigured
  482. # roles):
  483. DEFAULT_RECIPIENT_DISCORD=""
  484. #------------------------------------------------------------------------------
  485. # hipchat global notification options
  486. # multiple recipients can be given like this:
  487. # "ROOM1 ROOM2 ..."
  488. # enable/disable sending hipchat notifications
  489. SEND_HIPCHAT="YES"
  490. # define hipchat server
  491. HIPCHAT_SERVER="api.hipchat.com"
  492. # api.hipchat.com authorization token
  493. # Without this, netdata cannot send hipchat notifications.
  494. HIPCHAT_AUTH_TOKEN=""
  495. # if a role's recipients are not configured, a notification will be send to
  496. # this hipchat room (empty = do not send a notification for unconfigured
  497. # roles):
  498. DEFAULT_RECIPIENT_HIPCHAT=""
  499. #------------------------------------------------------------------------------
  500. # kafka notification options
  501. # enable/disable sending kafka notifications
  502. SEND_KAFKA="YES"
  503. # The URL to POST kafka alarm data to. It should be the full URL.
  504. KAFKA_URL=""
  505. # The IP to be used in the kafka message as the sender.
  506. KAFKA_SENDER_IP=""
  507. #------------------------------------------------------------------------------
  508. # pagerduty.com notification options
  509. #
  510. # pagerduty.com notifications require a "Generic API" (Events v1)
  511. # pagerduty service.
  512. # https://support.pagerduty.com/docs/services-and-integrations
  513. # multiple recipients can be given like this:
  514. # "<pd_service_key_1> <pd_service_key_2> ..."
  515. # enable/disable sending pagerduty notifications
  516. SEND_PD="YES"
  517. # if a role's recipients are not configured, a notification will be sent to
  518. # the "General API" pagerduty.com service that uses this service key.
  519. # (empty = do not send a notification for unconfigured roles):
  520. DEFAULT_RECIPIENT_PD=""
  521. # Which PD API are we going to use? For version 2 or newer, it is necessary to do a request for Pagerduty
  522. # before to set the version(https://developer.pagerduty.com/docs/events-api-v2/overview/).
  523. USE_PD_VERSION="1"
  524. #------------------------------------------------------------------------------
  525. # fleep notification options
  526. #
  527. # To send fleep.io notifications, you will need a webhook for the
  528. # conversation you want to send to.
  529. # Fleep recipients are specified as the last part of the webhook URL.
  530. # So, for a webhook URL of: https://fleep.io/hook/IJONmBuuSlWlkb_ttqyXJg, the
  531. # recipient name would be: 'IJONmBuuSlWlkb_ttqyXJg'.
  532. # enable/disable sending fleep notifications
  533. SEND_FLEEP="YES"
  534. # if a role's recipients are not configured, a notification will not be sent.
  535. # (empty = do not send a notification for unconfigured roles):
  536. DEFAULT_RECIPIENT_FLEEP=""
  537. # The user name to label the messages with. If this is unset,
  538. # the hostname of the system the notification is for will be used.
  539. FLEEP_SENDER=""
  540. #------------------------------------------------------------------------------
  541. # irc notification options
  542. #
  543. # irc notifications require only the nc utility to be installed.
  544. # multiple recipients can be given like this:
  545. # "<irc_channel_1> <irc_channel_2> ..."
  546. # enable/disable sending irc notifications
  547. SEND_IRC="YES"
  548. # if a role's recipients are not configured, a notification will not be sent.
  549. # (empty = do not send a notification for unconfigured roles):
  550. DEFAULT_RECIPIENT_IRC=""
  551. # The irc network to which the recipients belong. It must be the full network.
  552. # e.g. "irc.freenode.net"
  553. IRC_NETWORK=""
  554. # The irc port to which a connection will occur.
  555. # e.g. 6667 (the default one), 6697 (a TLS/SSL one)
  556. IRC_PORT=6667
  557. # The irc nickname which is required to send the notification. It must not be
  558. # an already registered name as the connection's MODE is defined as a 'guest'.
  559. IRC_NICKNAME=""
  560. # The irc realname which is required in order to make the connection and is an
  561. # extra identifier.
  562. IRC_REALNAME=""
  563. #------------------------------------------------------------------------------
  564. # syslog notifications
  565. #
  566. # syslog notifications only need you to have a working logger command, which
  567. # should be the case on pretty much any Linux system.
  568. # enable/disable sending syslog notifications
  569. # NOTE: make sure you have everything else configured the way you want
  570. # it _before_ turning this on.
  571. SEND_SYSLOG="NO"
  572. # A note on log levels and facilities:
  573. #
  574. # The traditional UNIX syslog mechanism has the concept of both log
  575. # levels and facilities. A log level indicates the relative severity of
  576. # the message, while a facility specifies a generic source for the message
  577. # (for example, the `mail` facility is where sendmail and postfix log
  578. # their messages). All major syslog daemons have the ability to filter
  579. # messages based on both log level and facility, and can often also make
  580. # routing decisions for messages based on both factors.
  581. #
  582. # On Linux, the eight log levels in decreasing order of severity are:
  583. # emerg, alert, crit, err, warning, notice, info, debug
  584. #
  585. # By default, warnings will be logged at the warning level, critical
  586. # alerts at the crit level, and clear notifications at the invo level.
  587. #
  588. # And the 19 facilities you can log to are:
  589. # auth, authpriv, cron, daemon, ftp, lpr, mail, news, syslog, user,
  590. # uucp, local0, local1, local2, local3, local4, local5, local6, and local7
  591. #
  592. # By default, netdata alerts will be logged to the local6 facility.
  593. #
  594. # Depending on your distribution, this means that either all your
  595. # netdata alerts will by default end up in the main system log (usually
  596. # /var/log/messages), or they won't be logged to a file at all.
  597. # Neither of these are likely to be what you actually want, but any
  598. # configuration to change that needs to happen in the syslog daemon
  599. # configuration, not here.
  600. # This controls which facility is used by default for logging. Defaults
  601. # to local6.
  602. SYSLOG_FACILITY=''
  603. # If a role's recipients are not configured, use the following.
  604. # (empty = do not send a notification for unconfigured roles)
  605. #
  606. # The recipient format for syslog uses the following format:
  607. # [[facility.level][@host[:port]]/]prefix
  608. #
  609. # `prefix` gets appended to the front of all log messages generated for
  610. # that recipient. The prefix is mandatory.
  611. # 'host' and 'port' can be used to specify a remote syslog server to
  612. # send messages to. Leave these out if you want messages to be delivered
  613. # locally. 'host' can be either a hostname or an IP address.
  614. # IPv6 addresses must have square around them.
  615. # 'facility' and 'level' are used to override the default logging facility
  616. # set above and the log level. If one is specified, both must be present.
  617. #
  618. # For example, to send messages with a 'netdata' prefix to a syslog
  619. # daemon listening on port 514 on 'loghost' using the daemon facility and
  620. # notice log level:
  621. # DEFAULT_RECIPIENT_SYSLOG='daemon.notice@loghost:514/netdata'
  622. #
  623. DEFAULT_RECIPIENT_SYSLOG="netdata"
  624. #------------------------------------------------------------------------------
  625. # iOS Push Notifications
  626. # enable/disable sending iOS push notifications
  627. SEND_PROWL="YES"
  628. # If a role's recipients are not configured, use the following,
  629. # (empty = do not send a notification for unconfigured roles)
  630. #
  631. # Recipients for iOS push notifications are Prowl API keys.
  632. #
  633. # A recipient may also consist of multiple Prowl API keys separated by
  634. # commas, in which case notifications will be simultaneously sent for all
  635. # of those API keys.
  636. DEFAULT_RECIPIENT_PROWL=""
  637. #------------------------------------------------------------------------------
  638. # Amazon SNS notifications
  639. #
  640. # This method requires potentially complex manual configuration. See the
  641. # netdata wiki for information on what is needed.
  642. # enable/disable sending Amazon SNS notifications
  643. SEND_AWSSNS="YES"
  644. # Specify a template for the Amazon SNS notifications. This supports
  645. # the same set of variables that are usable in the `custom_sender()`
  646. # function in the custom notification configuration below.
  647. #
  648. AWSSNS_MESSAGE_FORMAT="${status} on ${host} at ${date}: ${chart} ${value_string}"
  649. # If a role's recipients are not configured, use the following.
  650. # (empty = do not send a notification for unconfigured roles)
  651. #
  652. # Recipients for AWS SNS notifications are specified as topic ARN's.
  653. #
  654. DEFAULT_RECIPIENT_AWSSNS=""
  655. #------------------------------------------------------------------------------
  656. # SMS Server Tools 3 (smstools3) global notification options
  657. # enable/disable sending SMS Server Tools 3 SMS notifications
  658. SEND_SMS="YES"
  659. # if a role's recipients are not configured, a notification will be sent to
  660. # this SMS channel (empty = do not send a notification for unconfigured
  661. # roles). Multiple recipients can be given like this: "PHONE1 PHONE2 ..."
  662. DEFAULT_RECIPIENT_SMS=""
  663. # Matrix notifications
  664. #
  665. # enable/disable Matrix notifications
  666. SEND_MATRIX="YES"
  667. # The url of the Matrix homeserver
  668. # e.g https://matrix.org:8448
  669. MATRIX_HOMESERVER=
  670. # An access token from a valid Matrix account. Tokens usually don't expire,
  671. # can be controlled from a Matrix client.
  672. # See https://matrix.org/docs/guides/client-server.html
  673. MATRIX_ACCESSTOKEN=
  674. # Specify the default rooms to receive the notification if no rooms are provided
  675. # in a role's recipients.
  676. # The format is !roomid:homeservername
  677. DEFAULT_RECIPIENT_MATRIX=""
  678. #------------------------------------------------------------------------------
  679. # ntfy.sh global notification options
  680. # enable/disable sending ntfy notifications
  681. SEND_NTFY="YES"
  682. # if a role's recipients are not configured, a notification will be sent to
  683. # this ntfy server / topic combination (empty = do not send a notification for
  684. # unconfigured roles).
  685. # Multiple recipients can be given like this: "https://SERVER1/TOPIC1 https://SERVER2/TOPIC2 ..."
  686. DEFAULT_RECIPIENT_NTFY=""
  687. #------------------------------------------------------------------------------
  688. # custom notifications
  689. #
  690. # enable/disable sending custom notifications
  691. SEND_CUSTOM="YES"
  692. # if a role's recipients are not configured, use the following.
  693. # (empty = do not send a notification for unconfigured roles)
  694. DEFAULT_RECIPIENT_CUSTOM=""
  695. # The custom_sender() is a custom function to do whatever you need to do
  696. custom_sender() {
  697. # variables you can use:
  698. # ${host} the host generated this event
  699. # ${url_host} same as ${host} but URL encoded
  700. # ${unique_id} the unique id of this event
  701. # ${alarm_id} the unique id of the alarm that generated this event
  702. # ${event_id} the incremental id of the event, for this alarm id
  703. # ${when} the timestamp this event occurred
  704. # ${name} the name of the alarm, as given in netdata health.d entries
  705. # ${url_name} same as ${name} but URL encoded
  706. # ${chart} the name of the chart (type.id)
  707. # ${url_chart} same as ${chart} but URL encoded
  708. # ${family} the family of the chart
  709. # ${url_family} same as ${family} but URL encoded
  710. # ${status} the current status : REMOVED, UNINITIALIZED, UNDEFINED, CLEAR, WARNING, CRITICAL
  711. # ${old_status} the previous status: REMOVED, UNINITIALIZED, UNDEFINED, CLEAR, WARNING, CRITICAL
  712. # ${value} the current value of the alarm
  713. # ${old_value} the previous value of the alarm
  714. # ${src} the line number and file the alarm has been configured
  715. # ${duration} the duration in seconds of the previous alarm state
  716. # ${duration_txt} same as ${duration} for humans
  717. # ${non_clear_duration} the total duration in seconds this is/was non-clear
  718. # ${non_clear_duration_txt} same as ${non_clear_duration} for humans
  719. # ${units} the units of the value
  720. # ${info} a short description of the alarm
  721. # ${value_string} friendly value (with units)
  722. # ${old_value_string} friendly old value (with units)
  723. # ${image} the URL of an image to represent the status of the alarm
  724. # ${color} a color in #AABBCC format for the alarm
  725. # ${goto_url} the URL the user can click to see the netdata dashboard
  726. # ${calc_expression} the expression evaluated to provide the value for the alarm
  727. # ${calc_param_values} the value of the variables in the evaluated expression
  728. # ${total_warnings} the total number of alarms in WARNING state on the host
  729. # ${total_critical} the total number of alarms in CRITICAL state on the host
  730. # these are more human friendly:
  731. # ${alarm} like "name = value units"
  732. # ${status_message} like "needs attention", "recovered", "is critical"
  733. # ${severity} like "Escalated to CRITICAL", "Recovered from WARNING"
  734. # ${raised_for} like "(alarm was raised for 10 minutes)"
  735. # example human readable SMS
  736. local msg="${host} ${status_message}: ${alarm} ${raised_for}"
  737. # limit it to 160 characters and encode it for use in a URL
  738. urlencode "${msg:0:160}" >/dev/null; msg="${REPLY}"
  739. # a space separated list of the recipients to send alarms to
  740. to="${1}"
  741. # Sample send SMS to an imaginary SMS gateway accessible via HTTPS
  742. #for phone in ${to}; do
  743. # httpcode=$(docurl -X POST \
  744. # --data-urlencode "From=XXX" \
  745. # --data-urlencode "To=${phone}" \
  746. # --data-urlencode "Body=${msg}" \
  747. # -u "${accountsid}:${accounttoken}" \
  748. # https://domain.website.com/)
  749. #
  750. # if [ "${httpcode}" = "200" ]; then
  751. # info "sent custom notification ${msg} to ${phone}"
  752. # sent=$((sent + 1))
  753. # else
  754. # error "failed to send custom notification ${msg} to ${phone} with HTTP error code ${httpcode}."
  755. # fi
  756. #done
  757. info "not sending custom notification to ${to}, for ${status} of '${host}.${chart}.${name}' - custom_sender() is not configured."
  758. }
  759. ###############################################################################
  760. # RECIPIENTS PER ROLE
  761. # -----------------------------------------------------------------------------
  762. # generic system alarms
  763. # CPU, disks, network interfaces, entropy, etc
  764. # role_recipients_email[sysadmin]="${DEFAULT_RECIPIENT_EMAIL}"
  765. # role_recipients_hangouts[sysadmin]="${DEFAULT_RECIPIENT_HANGOUTS}"
  766. # role_recipients_pushover[sysadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
  767. # role_recipients_pushbullet[sysadmin]="${DEFAULT_RECIPIENT_PUSHBULLET}"
  768. # role_recipients_telegram[sysadmin]="${DEFAULT_RECIPIENT_TELEGRAM}"
  769. # role_recipients_slack[sysadmin]="${DEFAULT_RECIPIENT_SLACK}"
  770. # role_recipients_alerta[sysadmin]="${DEFAULT_RECIPIENT_ALERTA}"
  771. # role_recipients_flock[sysadmin]="${DEFAULT_RECIPIENT_FLOCK}"
  772. # role_recipients_discord[sysadmin]="${DEFAULT_RECIPIENT_DISCORD}"
  773. # role_recipients_hipchat[sysadmin]="${DEFAULT_RECIPIENT_HIPCHAT}"
  774. # role_recipients_twilio[sysadmin]="${DEFAULT_RECIPIENT_TWILIO}"
  775. # role_recipients_messagebird[sysadmin]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
  776. # role_recipients_kavenegar[sysadmin]="${DEFAULT_RECIPIENT_KAVENEGAR}"
  777. # role_recipients_pd[sysadmin]="${DEFAULT_RECIPIENT_PD}"
  778. # role_recipients_fleep[sysadmin]="${DEFAULT_RECIPIENT_FLEEP}"
  779. # role_recipients_irc[sysadmin]="${DEFAULT_RECIPIENT_IRC}"
  780. # role_recipients_syslog[sysadmin]="${DEFAULT_RECIPIENT_SYSLOG}"
  781. # role_recipients_prowl[sysadmin]="${DEFAULT_RECIPIENT_PROWL}"
  782. # role_recipients_awssns[sysadmin]="${DEFAULT_RECIPIENT_AWSSNS}"
  783. # role_recipients_custom[sysadmin]="${DEFAULT_RECIPIENT_CUSTOM}"
  784. # role_recipients_msteams[sysadmin]="${DEFAULT_RECIPIENT_MSTEAMS}"
  785. # role_recipients_rocketchat[sysadmin]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
  786. # role_recipients_dynatrace[sysadmin]="${DEFAULT_RECIPIENT_DYNATRACE}"
  787. # role_recipients_opsgenie[sysadmin]="${DEFAULT_RECIPIENT_OPSGENIE}"
  788. # role_recipients_matrix[sysadmin]="${DEFAULT_RECIPIENT_MATRIX}"
  789. # role_recipients_stackpulse[sysadmin]="${DEFAULT_RECIPIENT_STACKPULSE}"
  790. # role_recipients_gotify[sysadmin]="${DEFAULT_RECIPIENT_GOTIFY}"
  791. # role_recipients_ntfy[sysadmin]="${DEFAULT_RECIPIENT_NTFY}"
  792. # -----------------------------------------------------------------------------
  793. # DNS related alarms
  794. # role_recipients_email[domainadmin]="${DEFAULT_RECIPIENT_EMAIL}"
  795. # role_recipients_hangouts[domainadmin]="${DEFAULT_RECIPIENT_HANGOUTS}"
  796. # role_recipients_pushover[domainadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
  797. # role_recipients_pushbullet[domainadmin]="${DEFAULT_RECIPIENT_PUSHBULLET}"
  798. # role_recipients_telegram[domainadmin]="${DEFAULT_RECIPIENT_TELEGRAM}"
  799. # role_recipients_slack[domainadmin]="${DEFAULT_RECIPIENT_SLACK}"
  800. # role_recipients_alerta[domainadmin]="${DEFAULT_RECIPIENT_ALERTA}"
  801. # role_recipients_flock[domainadmin]="${DEFAULT_RECIPIENT_FLOCK}"
  802. # role_recipients_discord[domainadmin]="${DEFAULT_RECIPIENT_DISCORD}"
  803. # role_recipients_hipchat[domainadmin]="${DEFAULT_RECIPIENT_HIPCHAT}"
  804. # role_recipients_twilio[domainadmin]="${DEFAULT_RECIPIENT_TWILIO}"
  805. # role_recipients_messagebird[domainadmin]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
  806. # role_recipients_kavenegar[domainadmin]="${DEFAULT_RECIPIENT_KAVENEGAR}"
  807. # role_recipients_pd[domainadmin]="${DEFAULT_RECIPIENT_PD}"
  808. # role_recipients_fleep[domainadmin]="${DEFAULT_RECIPIENT_FLEEP}"
  809. # role_recipients_irc[domainadmin]="${DEFAULT_RECIPIENT_IRC}"
  810. # role_recipients_syslog[domainadmin]="${DEFAULT_RECIPIENT_SYSLOG}"
  811. # role_recipients_prowl[domainadmin]="${DEFAULT_RECIPIENT_PROWL}"
  812. # role_recipients_awssns[domainadmin]="${DEFAULT_RECIPIENT_AWSSNS}"
  813. # role_recipients_custom[domainadmin]="${DEFAULT_RECIPIENT_CUSTOM}"
  814. # role_recipients_msteams[domainadmin]="${DEFAULT_RECIPIENT_MSTEAMS}"
  815. # role_recipients_rocketchat[domainadmin]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
  816. # role_recipients_sms[domainadmin]="${DEFAULT_RECIPIENT_SMS}"
  817. # role_recipients_dynatrace[domainadmin]="${DEFAULT_RECIPIENT_DYNATRACE}"
  818. # role_recipients_opsgenie[domainadmin]="${DEFAULT_RECIPIENT_OPSGENIE}"
  819. # role_recipients_matrix[domainadmin]="${DEFAULT_RECIPIENT_MATRIX}"
  820. # role_recipients_stackpulse[domainadmin]="${DEFAULT_RECIPIENT_STACKPULSE}"
  821. # role_recipients_gotify[domainadmin]="${DEFAULT_RECIPIENT_GOTIFY}"
  822. # role_recipients_ntfy[domainadmin]="${DEFAULT_RECIPIENT_NTFY}"
  823. # -----------------------------------------------------------------------------
  824. # database servers alarms
  825. # mysql, redis, memcached, postgres, etc
  826. # role_recipients_email[dba]="${DEFAULT_RECIPIENT_EMAIL}"
  827. # role_recipients_hangouts[dba]="${DEFAULT_RECIPIENT_HANGOUTS}"
  828. # role_recipients_pushover[dba]="${DEFAULT_RECIPIENT_PUSHOVER}"
  829. # role_recipients_pushbullet[dba]="${DEFAULT_RECIPIENT_PUSHBULLET}"
  830. # role_recipients_telegram[dba]="${DEFAULT_RECIPIENT_TELEGRAM}"
  831. # role_recipients_slack[dba]="${DEFAULT_RECIPIENT_SLACK}"
  832. # role_recipients_alerta[dba]="${DEFAULT_RECIPIENT_ALERTA}"
  833. # role_recipients_flock[dba]="${DEFAULT_RECIPIENT_FLOCK}"
  834. # role_recipients_discord[dba]="${DEFAULT_RECIPIENT_DISCORD}"
  835. # role_recipients_hipchat[dba]="${DEFAULT_RECIPIENT_HIPCHAT}"
  836. # role_recipients_twilio[dba]="${DEFAULT_RECIPIENT_TWILIO}"
  837. # role_recipients_messagebird[dba]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
  838. # role_recipients_kavenegar[dba]="${DEFAULT_RECIPIENT_KAVENEGAR}"
  839. # role_recipients_pd[dba]="${DEFAULT_RECIPIENT_PD}"
  840. # role_recipients_fleep[dba]="${DEFAULT_RECIPIENT_FLEEP}"
  841. # role_recipients_irc[dba]="${DEFAULT_RECIPIENT_IRC}"
  842. # role_recipients_syslog[dba]="${DEFAULT_RECIPIENT_SYSLOG}"
  843. # role_recipients_prowl[dba]="${DEFAULT_RECIPIENT_PROWL}"
  844. # role_recipients_awssns[dba]="${DEFAULT_RECIPIENT_AWSSNS}"
  845. # role_recipients_custom[dba]="${DEFAULT_RECIPIENT_CUSTOM}"
  846. # role_recipients_msteams[dba]="${DEFAULT_RECIPIENT_MSTEAMS}"
  847. # role_recipients_rocketchat[dba]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
  848. # role_recipients_sms[dba]="${DEFAULT_RECIPIENT_SMS}"
  849. # role_recipients_dynatrace[dba]="${DEFAULT_RECIPIENT_DYNATRACE}"
  850. # role_recipients_opsgenie[dba]="${DEFAULT_RECIPIENT_OPSGENIE}"
  851. # role_recipients_matrix[dba]="${DEFAULT_RECIPIENT_MATRIX}"
  852. # role_recipients_stackpulse[dba]="${DEFAULT_RECIPIENT_STACKPULSE}"
  853. # role_recipients_gotify[dba]="${DEFAULT_RECIPIENT_GOTIFY}"
  854. # role_recipients_ntfy[dba]="${DEFAULT_RECIPIENT_NTFY}"
  855. # -----------------------------------------------------------------------------
  856. # web servers alarms
  857. # apache, nginx, lighttpd, etc
  858. # role_recipients_email[webmaster]="${DEFAULT_RECIPIENT_EMAIL}"
  859. # role_recipients_hangouts[webmaster]="${DEFAULT_RECIPIENT_HANGOUTS}"
  860. # role_recipients_pushover[webmaster]="${DEFAULT_RECIPIENT_PUSHOVER}"
  861. # role_recipients_pushbullet[webmaster]="${DEFAULT_RECIPIENT_PUSHBULLET}"
  862. # role_recipients_telegram[webmaster]="${DEFAULT_RECIPIENT_TELEGRAM}"
  863. # role_recipients_slack[webmaster]="${DEFAULT_RECIPIENT_SLACK}"
  864. # role_recipients_alerta[webmaster]="${DEFAULT_RECIPIENT_ALERTA}"
  865. # role_recipients_flock[webmaster]="${DEFAULT_RECIPIENT_FLOCK}"
  866. # role_recipients_discord[webmaster]="${DEFAULT_RECIPIENT_DISCORD}"
  867. # role_recipients_hipchat[webmaster]="${DEFAULT_RECIPIENT_HIPCHAT}"
  868. # role_recipients_twilio[webmaster]="${DEFAULT_RECIPIENT_TWILIO}"
  869. # role_recipients_messagebird[webmaster]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
  870. # role_recipients_kavenegar[webmaster]="${DEFAULT_RECIPIENT_KAVENEGAR}"
  871. # role_recipients_pd[webmaster]="${DEFAULT_RECIPIENT_PD}"
  872. # role_recipients_fleep[webmaster]="${DEFAULT_RECIPIENT_FLEEP}"
  873. # role_recipients_irc[webmaster]="${DEFAULT_RECIPIENT_IRC}"
  874. # role_recipients_syslog[webmaster]="${DEFAULT_RECIPIENT_SYSLOG}"
  875. # role_recipients_prowl[webmaster]="${DEFAULT_RECIPIENT_PROWL}"
  876. # role_recipients_awssns[webmaster]="${DEFAULT_RECIPIENT_AWSSNS}"
  877. # role_recipients_custom[webmaster]="${DEFAULT_RECIPIENT_CUSTOM}"
  878. # role_recipients_msteams[webmaster]="${DEFAULT_RECIPIENT_MSTEAMS}"
  879. # role_recipients_rocketchat[webmaster]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
  880. # role_recipients_sms[webmaster]="${DEFAULT_RECIPIENT_SMS}"
  881. # role_recipients_dynatrace[webmaster]="${DEFAULT_RECIPIENT_DYNATRACE}"
  882. # role_recipients_opsgenie[webmaster]="${DEFAULT_RECIPIENT_OPSGENIE}"
  883. # role_recipients_matrix[webmaster]="${DEFAULT_RECIPIENT_MATRIX}"
  884. # role_recipients_stackpulse[webmaster]="${DEFAULT_RECIPIENT_STACKPULSE}"
  885. # role_recipients_gotify[webmaster]="${DEFAULT_RECIPIENT_GOTIFY}"
  886. # role_recipients_ntfy[webmaster]="${DEFAULT_RECIPIENT_NTFY}"
  887. # -----------------------------------------------------------------------------
  888. # proxy servers alarms
  889. # squid, etc
  890. # role_recipients_email[proxyadmin]="${DEFAULT_RECIPIENT_EMAIL}"
  891. # role_recipients_hangouts[proxyadmin]="${DEFAULT_RECIPIENT_HANGOUTS}"
  892. # role_recipients_pushover[proxyadmin]="${DEFAULT_RECIPIENT_PUSHOVER}"
  893. # role_recipients_pushbullet[proxyadmin]="${DEFAULT_RECIPIENT_PUSHBULLET}"
  894. # role_recipients_telegram[proxyadmin]="${DEFAULT_RECIPIENT_TELEGRAM}"
  895. # role_recipients_slack[proxyadmin]="${DEFAULT_RECIPIENT_SLACK}"
  896. # role_recipients_alerta[proxyadmin]="${DEFAULT_RECIPIENT_ALERTA}"
  897. # role_recipients_flock[proxyadmin]="${DEFAULT_RECIPIENT_FLOCK}"
  898. # role_recipients_discord[proxyadmin]="${DEFAULT_RECIPIENT_DISCORD}"
  899. # role_recipients_hipchat[proxyadmin]="${DEFAULT_RECIPIENT_HIPCHAT}"
  900. # role_recipients_twilio[proxyadmin]="${DEFAULT_RECIPIENT_TWILIO}"
  901. # role_recipients_messagebird[proxyadmin]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
  902. # role_recipients_kavenegar[proxyadmin]="${DEFAULT_RECIPIENT_KAVENEGAR}"
  903. # role_recipients_pd[proxyadmin]="${DEFAULT_RECIPIENT_PD}"
  904. # role_recipients_fleep[proxyadmin]="${DEFAULT_RECIPIENT_FLEEP}"
  905. # role_recipients_irc[proxyadmin]="${DEFAULT_RECIPIENT_IRC}"
  906. # role_recipients_syslog[proxyadmin]="${DEFAULT_RECIPIENT_SYSLOG}"
  907. # role_recipients_prowl[proxyadmin]="${DEFAULT_RECIPIENT_PROWL}"
  908. # role_recipients_awssns[proxyadmin]="${DEFAULT_RECIPIENT_AWSSNS}"
  909. # role_recipients_custom[proxyadmin]="${DEFAULT_RECIPIENT_CUSTOM}"
  910. # role_recipients_msteams[proxyadmin]="${DEFAULT_RECIPIENT_MSTEAMS}"
  911. # role_recipients_rocketchat[proxyadmin]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
  912. # role_recipients_sms[proxyadmin]="${DEFAULT_RECIPIENT_SMS}"
  913. # role_recipients_dynatrace[proxyadmin]="${DEFAULT_RECIPIENT_DYNATRACE}"
  914. # role_recipients_opsgenie[proxyadmin]="${DEFAULT_RECIPIENT_OPSGENIE}"
  915. # role_recipients_matrix[proxyadmin]="${DEFAULT_RECIPIENT_MATRIX}"
  916. # role_recipients_stackpulse[proxyadmin]="${DEFAULT_RECIPIENT_STACKPULSE}"
  917. # role_recipients_gotify[proxyadmin]="${DEFAULT_RECIPIENT_GOTIFY}"
  918. # role_recipients_ntfy[proxyadmin]="${DEFAULT_RECIPIENT_NTFY}"
  919. # -----------------------------------------------------------------------------
  920. # peripheral devices
  921. # UPS, photovoltaics, etc
  922. # role_recipients_email[sitemgr]="${DEFAULT_RECIPIENT_EMAIL}"
  923. # role_recipients_hangouts[sitemgr]="${DEFAULT_RECIPIENT_HANGOUTS}"
  924. # role_recipients_pushover[sitemgr]="${DEFAULT_RECIPIENT_PUSHOVER}"
  925. # role_recipients_pushbullet[sitemgr]="${DEFAULT_RECIPIENT_PUSHBULLET}"
  926. # role_recipients_telegram[sitemgr]="${DEFAULT_RECIPIENT_TELEGRAM}"
  927. # role_recipients_slack[sitemgr]="${DEFAULT_RECIPIENT_SLACK}"
  928. # role_recipients_alerta[sitemgr]="${DEFAULT_RECIPIENT_ALERTA}"
  929. # role_recipients_flock[sitemgr]="${DEFAULT_RECIPIENT_FLOCK}"
  930. # role_recipients_discord[sitemgr]="${DEFAULT_RECIPIENT_DISCORD}"
  931. # role_recipients_hipchat[sitemgr]="${DEFAULT_RECIPIENT_HIPCHAT}"
  932. # role_recipients_twilio[sitemgr]="${DEFAULT_RECIPIENT_TWILIO}"
  933. # role_recipients_messagebird[sitemgr]="${DEFAULT_RECIPIENT_MESSAGEBIRD}"
  934. # role_recipients_kavenegar[sitemgr]="${DEFAULT_RECIPIENT_KAVENEGAR}"
  935. # role_recipients_pd[sitemgr]="${DEFAULT_RECIPIENT_PD}"
  936. # role_recipients_fleep[sitemgr]="${DEFAULT_RECIPIENT_FLEEP}"
  937. # role_recipients_syslog[sitemgr]="${DEFAULT_RECIPIENT_SYSLOG}"
  938. # role_recipients_prowl[sitemgr]="${DEFAULT_RECIPIENT_PROWL}"
  939. # role_recipients_awssns[sitemgr]="${DEFAULT_RECIPIENT_AWSSNS}"
  940. # role_recipients_custom[sitemgr]="${DEFAULT_RECIPIENT_CUSTOM}"
  941. # role_recipients_msteams[sitemgr]="${DEFAULT_RECIPIENT_MSTEAMS}"
  942. # role_recipients_rocketchat[sitemgr]="${DEFAULT_RECIPIENT_ROCKETCHAT}"
  943. # role_recipients_sms[sitemgr]="${DEFAULT_RECIPIENT_SMS}"
  944. # role_recipients_dynatrace[sitemgr]="${DEFAULT_RECIPIENT_DYNATRACE}"
  945. # role_recipients_opsgenie[sitemgr]="${DEFAULT_RECIPIENT_OPSGENIE}"
  946. # role_recipients_matrix[sitemgr]="${DEFAULT_RECIPIENT_MATRIX}"
  947. # role_recipients_stackpulse[sitemgr]="${DEFAULT_RECIPIENT_STACKPULSE}"
  948. # role_recipients_gotify[sitemgr]="${DEFAULT_RECIPIENT_GOTIFY}"
  949. # role_recipients_ntfy[sitemgr]="${DEFAULT_RECIPIENT_NTFY}"