[checkmk-commits] 6648 VictorOPS: Notification plugin for VictorOPS

Óscar Nájera on at mathias-kettner.de
Tue Nov 6 10:20:28 CET 2018


Module: check_mk
Branch: master
Commit: 4cc14c2c077a6e2030f5c3b52ce48f73302b60db
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4cc14c2c077a6e2030f5c3b52ce48f73302b60db

Author: Óscar Nájera <on at mathias-kettner.de>
Date:   Wed Oct 31 17:10:40 2018 +0100

6648 VictorOPS: Notification plugin for VictorOPS

It is now possible to configure Check_MK notifications to be sent to
VictorOPS by using their REST API integration.

In VictorOPS the REST integration for alerts needs to be enabled and the
routing keys defined. Then in Check_MK for every routing key a notification
can be set up under WATO->Notifications. Copy your VictorOPS REST API URL
with the corresponding routing key in the URL. Optionaly to include the URL
of Check_MK's enable the URL prefix field. (VictorOPS does not support
links in their timeline at the time of this writing, thus the full URL is
displayed in the message)

CMK-1187

Change-Id: If002982cde6fe4ecab6235fcde6468e53b7eb8af

---

 .werks/6648                                    | 19 +++++++
 cmk/gui/plugins/wato/notifications.py          | 55 +++++++++++++++++++
 cmk/notification_plugins/slack.py              | 32 ++---------
 cmk/notification_plugins/utils.py              | 30 +++++++++--
 cmk/notification_plugins/victorops.py          | 73 ++++++++++++++++++++++++++
 notifications/slack                            |  5 +-
 notifications/victorops                        |  7 +++
 tests/unit/cmk/notifications/test_slack.py     |  9 ++--
 tests/unit/cmk/notifications/test_utils.py     |  6 +--
 tests/unit/cmk/notifications/test_victorops.py | 70 ++++++++++++++++++++++++
 10 files changed, 268 insertions(+), 38 deletions(-)

Diff:   http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=4cc14c2c077a6e2030f5c3b52ce48f73302b60db


More information about the checkmk-commits mailing list