Git Product home page Git Product logo

icinga2-teams-notification's Introduction

icinga2-rocketchat-notification

![alt text]( "Rocket.chat screenshot")

Common

  1. Clone the repo into /etc/icinga2/scripts/ or only put the script teams-service-notification.sh in this folder
  2. Set up a new incoming webhook from the admin page on your rocket.chat instance

Director

  1. Create a new command :
  2. Command type : Notification Plugin Command
  3. Command : /etc/icinga2/scripts/teams-service-notification.sh
  4. Arguments : you need to make the correspondence between icinga2 and the arguments used in the script
  5. Create a Notification template with the previous created command
  6. Create a rule to apply this template on the type you want (Services or Host)
  7. You can create specific rules to assign this notification
  8. Deploy and enjoy ❤️
Argument Value
-d $icinga.long_date_time$
-e $service.name$
-l $host.name$
-n $host.display_name$
-o $service.output$
-r $user.email$
-s $service.state$
-t $notification.type$
-u $service.display_name$

CLI

TODO

Based on the Slack script from : jjethwa/icinga2-slack-notification

icinga2-teams-notification's People

Contributors

tete2soja avatar

Watchers

 avatar  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.