health_alarm_notify.conf 47 KB

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