Alignak GLPI module for the Alignak broker
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).
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:
To install the module from PyPI:
sudo pip install alignak-module-glpi
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`;)
This module for Alignak broker allows to store information into the Glpi database when host/service checks results are received.
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 ...
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
Contributions to this project are welcome and encouraged ... issues in the project repository are the common way to raise an information.