Giter Site home page Giter Site logo

marcbanyard / icingaweb2-module-generictts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from icinga/icingaweb2-module-generictts

0.0 0.0 0.0 28 KB

Generic ticket system integration into Icinga web 2

License: GNU General Public License v2.0

PHP 83.73% HTML 15.56% CSS 0.72%

icingaweb2-module-generictts's Introduction

Generic TTS - Icinga Web 2 module

Generic TTS implements Icinga Web 2's ticket hook for replacing ticket patterns with links to your trouble ticket system (TTS). Icinga Web 2's core module monitoring for example uses the ticket hook for acknowledgements, downtimes and comments. Other modules may use the ticket hook for all kinds of text too.

Installation

Like with any other Icinga Web 2 module just drop generictts into the modules directory and enable the module in your web frontend or via Web 2's CLI.

This module has no dependencies.

Configuration

After you've enabled generictts you reach its configuration in Icinga Web 2 via the module's configuration tab. But you may also change its configuration manually. generictts maintains a configuration file which is normally located at:

/etc/icingaweb2/modules/generictts/config.ini

The following sample should perfectly explain all the available settings:

[my-ticket-system]
pattern = "/#([0-9]{4,6})/"
url = "https://my.ticket.system/tickets/id=$1"

You have to understand regular expressions for this configuration. What happens here is that whenever we stumble over a text containing a # followed by four to six digits, that number will be replaced by a link pointing to that specific ticket in your TTS.

TODO

Configuration hints and examples would be great because not everybody speaks regex.

icingaweb2-module-generictts's People

Contributors

lippserd avatar thomas-gelf avatar mxhash 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.