health_alarm_notify.conf 44 KB

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