Package: alignak_checks_monitoring
Checks pack for checking a lot of services: Dns, Http, Dhcp, …This checks pack is based upon the check plugins of theMonitoring Plugins Project.This project is a bundle of around 50 standard plugins for monitoring applications. Some plugins allow to monitor local system metrics, others use various network protocols for remote checks.Our bundle was previously known as the “official” Nagios Plugins package.The new name reflects both the success of the straightforward plugin interface originally inventedby the Nagios folks, and the popularity of our package, as the plugins are now used with various other monitoring products as well.InstallationThe pack configuration files are to be copied to the monitoring objects configuration directory. The most suitable location is thearbiter/packs/directory in the main alignak configuration directory.Note: The main Alignak configuration directory is usually/usr/local/share/alignak/etcor/usr/local/etc/alignakor/etc/alignakbut it may depend upon your system and/or your installation.The pack plugins (if any …) are to be copied to the executable libraries directories.Note: The Alignak librairies directory is usually/usr/local/var/libexec/alignakbut it may depend upon your system and/or your installation.From PyPITo install the package from PyPI:sudo pip install alignak-checks-monitoringFrom source filesTo install the package from the source files:git clone https://github.com/Alignak-monitoring-contrib/alignak-checks-monitoring
cd alignak-checks-monitoring
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`;)DocumentationConfigurationTo use this checks package, you must first install some external plugins. We recommend that you download and install theMonitoring plugins.Check if it exists a binary package for your OS distribution rather than compiling and installing from source.
Else, the source installation procedure is explainedhere.An abstract:$ wget https://www.monitoring-plugins.org/download/monitoring-plugins-2.X.tar.gz
$ gzip -dc monitoring-plugins-2.X.tar.gz | tar -xf -
$ cd monitoring-plugins-2.X
$ ./configure --prefix /usr/local/libexec/monitoring-plugins
$ make

$ sudo make install

$ sudo make install-root
$ # This for plugins requiring setuid (check_icmp ...)After compilation and installation, the plugins are installed in the/usr/local/libexec/monitoring-plugins/libexecdirectory!The/usr/local/etc/alignak/arbiter/packs/resource.d/monitoring.cfgfile defines a global macro
that contains the monitoring plugins installation path. If you do not install as default, edit
this file to update the path:#-- Monitoring plugins installation directory
$MONITORING_PLUGINS_DIR$=/usr/local/libexec/monitoring-plugins/libexec
#--Many information is available on theproject github repository, espacially in the REQUIREMENTS file.Alignak configurationYou simply have to tag the concerned hosts with the template you are interested in.:define host{
    use                     dns, ftp, http
    host_name               my_host
    address                 127.0.0.1
}Each template declares the associated services on the concerned host.
You can easily adapt the configuration defined in thetemplates.cfg,services.cfgandcommands.cfgfiles.Bugs, issues and contributingContributions to this project are welcome and encouraged …issues in the project repositoryare the common way to raise an information.