/alignak-module-import-glpi

Alignak module to get configuration from Glpi

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Alignak NSCA receiver Module

Alignak NSCA module for the Alignak Receiver

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/etc/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-import-glpi

CentOS:

sudo vi /etc/yum.repos.d/alignak-stable.repo:
   [Alignak-rpm-stable]
   name=Alignak RPM stable packages
   baseurl=https://dl.bintray.com/alignak/alignak-rpm-stable
   gpgcheck=0
   repo_gpgcheck=0
   enabled=1

sudo yum repolist
sudo yum install python-alignak-module-import-glpi

From PyPI

To install the module from PyPI:

sudo pip install alignak-module-import-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-import-glpi
cd alignak-module-import-glpi
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 arbiter tries to get configuration data from a Glpi instance using the Glpi Monitoring plugin..

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-import-glpi.ini. This file is commented to help configure all the parameters.

To configure the Alignak arbiter to use this module:

  • edit your arbiter daemon configuration file
  • add the module_alias parameter value (import-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.