1f548f4534
Add alert value to pushover notification
2023-07-28 12:01:51 +02:00
Nick Satterly
4ba3682468
Skip failing integration tests
2023-03-21 00:33:15 +01:00
Nick Satterly
cc0e3e561c
Fix integration tests workflow
2023-03-21 00:29:38 +01:00
Nick Satterly
2a6632b78f
Fix multiple linting errors
2023-03-21 00:15:34 +01:00
Nick Satterly
faff3787c5
Standardize workflow triggers
2023-03-20 23:18:02 +01:00
Neil Orley
64e013029d
Update alerta_prometheus.py ( #380 )
...
Resolves issue 'USE_AM_EXTERNALURL_FOR_SILENCES' is not defined : https://github.com/alerta/alerta-contrib/issues/379
2022-06-22 14:59:25 +02:00
Cody Stevens
69d271ef9f
feat: Add ability to get alertmanager to expire alerts ( #364 )
...
* Add functionality to resend an aged alert to alertmanager when a user clicks close
* Add the code to allow OpsGenie to update Alerta
* Fix config example in README.md
* No need for backticks
* Update the OpsGenie screenshot
* Fix some links in README.md
* Fix up some of the links to OpsGenie docs
* Add a known configurable source: value to the payload from the OpsGenie plugin
* Add some troubleshooting around alert source usage
Co-authored-by: Cody Stevens <costevens@datto.com>
2021-10-23 18:17:16 +02:00
Fedello
22109acbf3
[Docs] Update Telegram plugin Readme ( #365 )
...
Specify required fields and api key on telegram webhook url
2021-10-18 23:40:49 +02:00
Fedello
21a80d1f1f
[Feat] Query Generic Webhook ( #366 )
...
Co-authored-by: pvillaverde <pvillaverde@qualigy.com>
2021-10-18 23:39:37 +02:00
Aleksandr Demshin
a9799587af
feat: Add logic to telegram plugin to check previous severity ( #360 )
...
* fix syntax errors
* add routing plugin
* change alert duplicate count in routing plugin to 1
* fix routing
* reinit plugin
* update routing pluging
* disable telegram notification for custom severity
* remove routing plugin
* disable telegram notification for custom severity
* Revert "remove routing plugin"
This reverts commit 0deefe05bc
.
* Revert "update routing pluging"
This reverts commit 7d5fc43dd7
.
* Revert "add routing plugin"
This reverts commit b14f434a88
.
* Revert "fix syntax errors"
This reverts commit cc0d62c68a
.
* disable TELEGRAM_DISABLE_NOTIFICATION_SEVERITY
* revert
* add checking previous severity for telegram forwarding
* remove closed frome severity
* remove 'closed' from severities
2021-10-18 23:36:32 +02:00
Jérôme Revillard
106e3e2890
fix: Mailer: more debug messages ( #368 )
...
This will help to detect issues
2021-10-18 22:21:10 +02:00
Alexandre Azedo
e743cdd24a
feat: Jira plugin ( #355 )
...
* New plugin - jira
alerta_jira is used to create tasks in Jira whenever a new critical entry is made in the alerta. The attribute with the task key in Jira is also placed in the entry that occurred in the alerta.
* Update alerta_jira.py
2021-10-18 22:20:25 +02:00
John Seekins
f23bf5f9a0
fix: None type cannot be used in a join() function ( #357 )
2021-10-18 22:18:56 +02:00
skob
72fff0a366
feat: goalert plugin ( #363 )
...
* goalert: [impr] init commit
* goalert: [impr] expired added
2021-10-18 22:16:11 +02:00
moix
40acf3b7d4
Prometheus Ack timeout from alert not action ( #352 )
...
Co-authored-by: Moises Cruz <mocruz@theworkshop.com>
2021-04-24 20:54:52 +02:00
Aleksandr Demshin
b5252a0929
feat(plugin): add TELEGRAM_DISABLE_NOTIFICATION_SEVERITY ( #351 )
...
* disable telegram notification for custom severity
2021-04-19 21:27:18 +02:00
matmoscicki
aacc02db91
fix(mailer): Fix checking multiple fields. ( #347 )
...
According to the documentation, if multiple fields are defined, they
must all match in order to send an email.
2021-04-18 21:19:36 +02:00
hjorth
8194bd28b4
Update to work with later version of pubsub ( #346 )
2021-04-18 21:19:04 +02:00
Felipe Villalobos
32022302b2
fix: update README.md ( #345 )
...
Normalize Monitoring Trap url changed. Old url is not working anymore
2021-04-18 21:17:04 +02:00
Xorso
5e1bf571d7
Adding acking to OpsGenie ( #343 )
...
* Adding acking to OpsGenie
* Fixing invalid variable
Co-authored-by: Daren Lord <{ID}+{username}@users.noreply.github.com>
2021-04-18 21:15:56 +02:00
蔡泽人
a7516711c2
fix: update mailer.py ( #342 )
2021-04-18 21:15:07 +02:00
33912823e6
feat: add plugin for Matrix notifications ( #341 )
2021-04-18 21:14:21 +02:00
Nick Satterly
1d7e272051
fix(tests): github workflow is broken ( #350 )
2021-04-18 21:13:17 +02:00
Nick Satterly
5d79ea4bbd
build(deps): fix PyJWT dev requirements file
2021-02-28 10:40:03 +01:00
Nick Satterly
660c31e1be
build(deps): use twilio pkg that does not pin PyJWT version ( #344 )
2021-02-28 10:24:07 +01:00
flottes
856a900528
feat(telegram): add ability to specify multiple chat_ids ( #335 )
...
Co-authored-by: Florian Lottes <florian.lottes@etailer.de>
2021-01-06 23:20:56 +01:00
Matthew Jenkins
2a8f448a65
feat: mailer pickable sevs ( #336 )
...
* add default option & use it
* update readme
2021-01-06 23:18:29 +01:00
Nick Satterly
614aa32efe
build: use github actions for CI/CD ( #339 )
2021-01-06 01:23:41 +01:00
Matthew Jenkins
2efa8e1e47
style(mailer): add new line to warning message ( #334 )
...
line ending
2020-12-18 10:26:41 +01:00
Nick Satterly
60fb52cba0
build(slack): bump version 5.5.1 -> 5.5.2
2020-12-15 23:14:24 +01:00
Jarno Huuskonen
a714b9de08
fix(webhook): set alert status from action, not directly ( #333 )
...
Fixes #332
2020-12-05 11:07:45 +01:00
Nick Satterly
d18494b812
[zabbix] User should be able to close if not yet ack'ed
2020-11-23 21:03:01 +01:00
Nick Satterly
59a976d5ae
Update README
2020-11-21 12:15:08 +01:00
Nick Satterly
bc0de15765
Update READMEs
2020-11-20 22:39:32 +01:00
Matthieu Serrepuy
63f8827c8b
slack: Don't send recovery message if the previous_severity is in SLACK_SEVERITY_FILTER ( #330 )
2020-11-19 22:50:05 +01:00
Nick Satterly
a08fd9be3a
HipChat has been discontinued ( #321 )
2020-06-26 22:02:45 +02:00
eli
862c47064a
add SLACK_CHANNEL_MAP for environment and severity mapping ( #314 )
...
* making ICON_EMOJI optional
* adding SLACK_CHANNEL_MAP
* fix payload dictionary access
* update default ICON_EMOJI in readme
* require pytest>=5.4.3
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
2020-06-18 16:58:35 +02:00
mdfischer
2d0bf01c98
SLACK_SEVERITY_FILTER allows pre-filtering of alerts sent to Slack solely by severity ( #319 )
...
* Adds configuration setting SLACK_SEVERITY_FILTER (list) to allow filtering of alerts to be forwarded to Slack based upon their severity.
* Fixes incorrect parsing of list from alertad.conf for SLACK_SEVERITY_FILTER
* Updates comment in README
* Fixes incorrect string formatting.
* Reverses the logic of SLACK_SEVERITY_FILTER to be more permissive, such that alerts with severity matching one listed will NOT be forwarded to Slack (i.e. Alerts with severity not listed in SLACK_SEVERITY_FILTER will pass through the filter).
Co-authored-by: Michael Fischer <michael@marinelabs.io>
2020-06-14 22:26:40 +02:00
Jarno Huuskonen
45134a1033
telegram(plugin): For blackout action send alert.id (issue #309 ). ( #318 )
2020-06-11 00:38:35 +02:00
Nick Satterly
4387599071
Add comment about required auth scope
2020-06-07 21:43:29 +02:00
Nick Satterly
c4a253e644
Update README and AUTHORS
2020-04-27 13:02:05 +02:00
Nick Satterly
b66f140b46
Update travis CI config and add tests ( #316 )
2020-04-18 21:14:40 +02:00
Matthieu Serrepuy
81608d8e6f
Add a statuscake webhook ( #313 )
2020-04-11 15:55:16 +02:00
Yann Cézard
edf6326f60
Fix boolean env variable ( #290 )
...
* Correct handling of boolean env var.
* Use PluginBase get_config to do thye job.
2020-02-25 23:04:15 +01:00
Jarno Huuskonen
728e39e5cd
Msteams webhook ( #299 )
...
* msteams: MS_TEAMS_INBOUNDWEBHOOK_URL MS_TEAMS_APIKEY for msteams webhook
* msteams(webhook)
* msteams: escape backslashes (SCOM) in example-payload.json.j2
* msteams webhook: use list not a tuple.
* msteams webhook: comment tests that need mocking
* msteams webhook: tests: only send Content-Type header.
2020-02-25 22:59:30 +01:00
Ky-Anh Huynh
58023cc05d
plugin/alerta-prometheus: fix 500 error when response is not as expected ( #311 )
...
* plugin/alerta-prometheus: fix 500 error when response is not as expected
Alertmanager Api may respond with empty set of silenceIds, which may cause exception
"alerta.exceptions.ApiError: Alertmanager: ERROR - list indices must
be integers or slices, not str"
This error is seen from the client, and the Alert can not be ACK-ed
* plugin/alerta-prometheus: minor code improvement
2020-02-20 12:42:10 +01:00
Nick Satterly
4d0961a003
Run pylint in build pipeline ( #312 )
...
* Run pylint in build pipeline
* Only report on pylint errors and fix them
2020-02-19 22:45:42 +01:00
Komal Gupta
e072f005e7
Alerta Ding Talk Plugin ( #308 )
2020-01-21 15:09:14 +01:00
FloSew
77724f7013
Add Sentry version 9 webhook support ( #306 )
...
* Add support for Sentry version 9 callbacks (#281 )
Add test for Sentry version 9 callback
* Rollback on some changes in the README.md file
* Add check on environment value for payload before Sentry version 9
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
2020-01-18 23:32:48 +01:00
FloSew
adba941103
Correct Sentry webhook test and check environment value ( #304 ) ( #305 )
...
Correct Sentry webhook payload parsing (#304 )
2020-01-18 23:25:50 +01:00