health_alarm_notify.conf 46 KB

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