Skip to content

Alignak-monitoring-contrib/alignak-module-glpi

Repository files navigation

Alignak GLPI broker Module

Alignak GLPI module for the Alignak broker

Development code static analysis Development code tests coverage Most recent PyPi version Join the chat #alignak on freenode.net License AGPL v3

Installation

The installation of this module will copy some configuration files in the Alignak default configuration directory (eg. /usr/local/share/alignak). The copied files are located in the default sub-directory used for the modules (eg. arbiter/modules).

From Alignak packages repositories

More information in the online Alignak documentation. Here is only an abstract...

Debian:

# Alignak DEB stable packages
sudo echo deb https://dl.bintray.com/alignak/alignak-deb-stable xenial main | sudo tee -a /etc/apt/sources.list.d/alignak.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv D401AB61

sudo apt-get update
sudo apt install python-alignak-module-glpi

CentOS:

From PyPI

To install the module from PyPI:

sudo pip install alignak-module-glpi

From source files

To install the module from the source files (for developing purpose):

git clone https://github.com/Alignak-monitoring-contrib/alignak-module-glpi
cd alignak-module-nsglpica
sudo pip install . -e

Note: using `sudo python setup.py install` will not correctly manage the package configuration files! The recommended way is really to use `pip`;)

Short description

This module for Alignak broker allows to store information into the Glpi database when host/service checks results are received.

Features / Known limitations

Configuration

On the MySQL server:

CREATE USER 'alignak'@'localhost' IDENTIFIED BY 'alignak';
GRANT ALL PRIVILEGES ON glpidb.* TO 'alignak'@'localhost';
FLUSH PRIVILEGES;

Note

you should be more restrictive on DB tables ...

Configuration

Once installed, this module has its own configuration file in the /usr/local/share/alignak/etc/alignak.d directory. The default configuration file is alignak-module-glpi.ini. This file is commented to help configure all the parameters.

To configure Alignak broker to use this module:

  • edit the borker daemon configuration file
  • add the modules parameter value (glpi) to the modules parameter of the daemon

Bugs, issues and contributing

Contributions to this project are welcome and encouraged ... issues in the project repository are the common way to raise an information.

About

Alignak module for Glpi DB connection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published