Skip to content

Commit

Permalink
docs: Add forgotten feature (new senders)
Browse files Browse the repository at this point in the history
  • Loading branch information
borovskyav authored and beevee committed Oct 11, 2019
1 parent b53690d commit 0a2df9b
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
28 changes: 27 additions & 1 deletion api.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,43 @@ web:
contacts:
- type: mail
label: E-mail
validation: "^.+@.+\\..+$"
- type: pushover
label: Pushover
placeholder: "Pushover user key"
- type: slack
label: Slack
validation: "^[@#][a-zA-Z0-9-_]+"
placeholder: "Slack #channel or @user"
- type: telegram
label: Telegram
help: required to grant @MoiraBot admin privileges
placeholder: "#channel, @username or group"
help: "### To make things work you should:\n### In personal chat:\n - start conversation with bot [@YourMoiraBot](https://t.me/YourMoiraBot);\n - execute command `/start`;\n - type your login in above field as `@login`.\n\n### In group chat:\n - invite bot [@YourMoiraBot](https://t.me/YourMoiraBot) into chat;\n - execute command `/start@YourMoiraBot`;\n - bot will send you chat name, you should type it without extra characters in above field.\n\n### In channel:\n - add bot [@YourMoiraBot](https://t.me/YourMoiraBot) into channel;\n - promote bot as channel administrator;\n - type channel name in above field as `#channel`.\n"
- type: twilio sms
label: Twilio SMS
validation: "^\\+79\\d{9}$"
placeholder: "Phone number format +79*********"
- type: twilio voice
label: Twilio voice
validation: "^\\+79\\d{9}$"
placeholder: "Phone number format +79*********"
- type: webhook
label: My Webhook
validation: "^(http|https):\\/\\/.*(example.com|example.org)(:[0-9]{2,5})?\\/"
placeholder: "https://example.com/webhooks/moira"
help: "### Domains whitelist:\n - example.com\n - example.org"
- type: pagerduty
label: PagerDuty
placeholder: "Integration key"
- type: opsgenie
label: OpsGenie
placeholder: "Responder Name or ID"
- type: victorops
label: VictorOps
placeholder: "Routing key"
- type: discord
label: Discord
placeholder: "Discord channel (eg: general-text) or user (eg: @user)"
log:
log_file: stdout
log_level: info
Expand Down
7 changes: 7 additions & 0 deletions notifier.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ notifier:
# Basic authorization parameters (if required)
user: ...
password: ...
- type: pagerduty
- type: opsgenie
api_key: ...
- type: victorops
routing_url: ...
- type: discord
token: ...
# Self state monitor configuration section. Note: No inner subscriptions is required. Moira will use its notification mechanism to send messages.
moira_selfstate:
enabled: true
Expand Down
3 changes: 2 additions & 1 deletion source/release_notes/2_5_1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ New features
------------

- Added ability to subscribe for all triggers without specifying tags `#236 <https://github.com/moira-alert/moira/issues/236>`_.
- Added ability to send markdown for discord, email, pushover, slack and telegram senders `#353 <https://github.com/moira-alert/moira/issues/353>`_.
- Added ability to send markdown for email, fix markdown formatting in slack senders `#353 <https://github.com/moira-alert/moira/issues/353>`_.
- Added new senders: Discord, VictorOps, PagerDuty, OpsGenie.
- ⚡️✨💫🔥🔥🔥 Graphs now support emojis `#333 <https://github.com/moira-alert/moira/issues/333>`_.
- Y-axis graph now uses algorithm to define "beautiful" ticks `#217 <https://github.com/moira-alert/moira/issues/217>`_.

Expand Down

0 comments on commit 0a2df9b

Please sign in to comment.