Skip to content

Commit

Permalink
Merge pull request #183 from nsano-rururu/fix_docs_rocketchat
Browse files Browse the repository at this point in the history
Fix docs:Rocket.Chat
  • Loading branch information
jertel authored May 24, 2021
2 parents 2a053e3 + 56b6b95 commit d943a35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/elastalert.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Currently, we have support built in for these alert types:
- OpsGenie
- PagerDuty
- PagerTree
- RocketChat
- Rocket.Chat
- Squadcast
- ServiceNow
- Slack
Expand Down
8 changes: 4 additions & 4 deletions docs/source/ruletypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2371,10 +2371,10 @@ Example usage::
- "pagertree"
pagertree_integration_url: "PagerTree Integration URL"

RocketChat
~~~~~~~~~~
Rocket.Chat
~~~~~~~~~~~

RocketChat alerter will send a notification to a predefined channel. The body of the notification is formatted the same as with other alerters.
Rocket.Chat alerter will send a notification to a predefined channel. The body of the notification is formatted the same as with other alerters.
https://developer.rocket.chat/api/rest-api/methods/chat/postmessage

The alerter requires the following option:
Expand All @@ -2388,7 +2388,7 @@ Optional:
``rocket_chat_channel_override``: Incoming webhooks have a default channel, but it can be overridden. A public channel can be specified “#other-channel”, and a Direct Message with “@username”.

``rocket_chat_emoji_override``: By default ElastAlert will use the :ghost: emoji when posting to the channel. You can use a different emoji per
ElastAlert rule. Any Apple emoji can be used, see http://emojipedia.org/apple/ . If rocket_chat_icon_url_override parameter is provided, emoji is ignored.
ElastAlert rule. Any Apple emoji can be used, see http://emojipedia.org/apple/ .

``rocket_chat_msg_color``: By default the alert will be posted with the ‘danger’ color. You can also use ‘good’ or ‘warning’ colors.

Expand Down

0 comments on commit d943a35

Please sign in to comment.