GithubHelp home page GithubHelp logo

emorency / monitoring-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from savoirfairelinux/monitoring-tools

0.0 1.0 0.0 2.87 MB

Collection of monitoring tools for Shinken, Nagios, etc.

Home Page: http://sfl-monitoring-tools.readthedocs.org/

monitoring-tools's Introduction

Monitoring Tools

Build Status

This repository contains plugins we use with Shinken, to check various services, and which are not implemented in the usual plugins packages.

Use

Installation

The best way to install these plugins is through your package manager. You can browse all the package repositories on Open Build Service project.

Debian

$ wget http://download.opensuse.org/repositories/home:/ReAzem:/sfl-shinken-plugins/Debian_7.0/Release.gpg
$ sudo apt-key add - < Release.gpg
$ sudo apt-get update
$ sudo apt-get install plugin-<the plugin you want>

Documentation

You can browse the online documentation at http://sfl-monitoring-tools.readthedocs.org/

Contribute

Create a plugin

To generate a plugin, you need to install jinja2, either by pip or via your package manager:

$ sudo pip install jinja2

or

$ sudo (apt-get|yum) install python-jinja2

Then

$ make new-plugin

To execute a plugin, you need to install the library shinkenplugins:

$ sudo pip install shinkenplugins

or for Debian and Ubuntu:

$ sudo apt-get install lib-shinkenplugins

Update the Debian packaging of a plugin

After modifying files under debian/, you can add an entry in the changelog by doing:

$ author=$(git log -n 1 --format=%aN)
$ export DEBFULLNAME=$author
$ email=$(git log -n 1 --format=%ae)
$ export DEBEMAIL=$email
$ msg=$(git log -n 1 --format=%s)
$ version=$(date +%Y.%m.%e.%H.%M)
$ dch $msg --no-auto-nmu --newversion $version

Update submodules

make update-submodules 

This will checkout all the submodules to master, update the documentation and create a new commit.

Build the Debian source packages

make deb

This will build the .orig.tar.gz, .debian.tar.gz, .dsc, and .changes files.

Push the debian source packages to Open Build Service

make obs

This will checkout the OBS project and commit the new debian source package files. You must be a maintainer on the OBS project to successfully run this command. Travis has the permissions to do it.

monitoring-tools's People

Contributors

matthieucan avatar aviau avatar ppepos avatar

Watchers

James Cloos 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.