Giter VIP home page Giter VIP logo

mattermost-checkmk-plugin's Introduction

mattermost-checkmk-plugin

Mattermost Chat Plugin that integrates with Check_MK

Thanks to https://github.com/rmblake/check_mk-slack for the base of the check_mk notification script

HOW TO USE:

Check_MK Integration

  1. Create an incoming webhook integration in your mattermost instance and note down the URL.

  2. Put into /usr/(local/)share/check_mk/notifications (or ~/share/check_mk/notifications on OMD/newer check_mk installs) directory and edit configuration variables (slack_domain and slack_path) in the 'slack' script, and make sure that the script is executable (chmod +x slack)

  3. Restart OMD/Check MK with 'omd restart' or 'cmk -R'

  4. Create a user for slack in WATO, use flexible custom notifications and select 'CMK-Slack Websocket integration' as the notifier.

Select option "Call with the following parameters" and set your channel without "#". If you leave the parameter box in blank the channel takes "#monitoring" value.

  1. Wait for something to send an alert or generate a test alert.

Mattermost Integration

  1. Build this project and place the resulting plugin and plugin.json in the plugins directory within mattermost under au.com.slicedtech.chat.checkmk

  2. Login to mattermost, enabling the plugin, then configure the plugin under Check_MK plugin options

  3. Be sure to set the URL, Username, and Secret

  4. Wait for something to send an alert and then select the Acknowledge button

Future

Hopefully adding more responses from Mattermost back to Check_MK, e.g downtime service/hosts, etc.

mattermost-checkmk-plugin's People

Contributors

headcr4sh avatar slicedtech avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.