Module: check_mk
Branch: master
Commit: da2a25a9cc400f96547eb9409d5198090218d70a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=da2a25a9cc400f…
Author: Óscar Nájera <on(a)mathias-kettner.de>
Date: Mon Nov 12 15:49:08 2018 +0100
6649 PagerDuty: Notification plugin
Check_MK now support native integration with Pager Duty and can send
notifications about state changes of hosts and services into a configured
Pager Duty service.
In Pager Duty a new integration service has to be set up. Select as
"Integration Type" Check_MK and configure your service as better suited for
your use case. Save the returned "Integration Key".
In Check_MK, under "WATO - Notifications", create an new notification rule
and select PagerDuty. Copy the "Integration Key" from Pager Duty as
parameter. Optionally you can save the integration key in Check_MK's
password manager and retrieve it here. If you want incidents in Pager Duty
to include hyperlinks back to Check_MK, enable the field URL prefix for
links to Check_MK.
CMK-1236
Change-Id: If4db68111dc98e8c771d1703f8a6d14bf51428eb
---
.werks/6649 | 23 ++++++
cmk/gui/plugins/wato/notifications.py | 51 ++++++++++++
cmk/notification_plugins/pagerduty.py | 108 +++++++++++++++++++++++++
cmk/notification_plugins/utils.py | 53 ++++++++----
notifications/pagerduty | 9 +++
tests/unit/cmk/notifications/test_pagerduty.py | 81 +++++++++++++++++++
tests/unit/cmk/notifications/test_utils.py | 10 +++
7 files changed, 320 insertions(+), 15 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=da2a25a9cc…