Checks pack for monitoring Glpi with the some specific scripts
Note: this check pack is only an example for checking glpi using the Nagios check_tcp command. Please feel free to comment or suggest improvements :)
The installation of this checks pack 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 packs (eg. arbiter/packs).
To install the package from PyPI:
sudo pip install alignak-checks-glpi
To install the package from the source files:
git clone https://github.com/Alignak-monitoring-contrib/alignak-checks-glpi cd alignak-checks-glpi sudo pip install .
Note: using `sudo python setup.py install` will not correctly manage the package configuration files! The recommended way is really to use `pip`;)
This checks pack is using the check_tcp Nagios (or Monitoring) plugin that must be installed on the Alignak server running your poller daemon. You may install the alignak-checks-monitoring package (see the corresponding repo).
For a Linux monitored host, you simply have to tag the concerned host with the template glpi
.
# An host with an glpi instance running define host{ use glpi host_name my_glpi address 127.0.0.1 }
When using the alignak backend, use the setup.sh script provided in the json/glpi directory to include all the package information into your backend
# Backend configuration $ json/glpi/setup.sh -b http://127.0.0.1:5000 -u admin -p admin
Note that this command line is executed when installing the package from pip. If your backend is not set locally, you can specify its address thanks to the -b command line parameter.
Contributions to this project are welcome and encouraged ... issues in the project repository are the common way to raise an information.