Alignak checks pack for Elasticsearch
Project description
Checks pack for monitoring Elasticsearch with the Nagios monitoring check_tcp
Note: this check pack is only an example for checking elasticsearch using the Nagios check_tcp command. Please feel free to comment or suggest improvements :)
This package uses the check_elasticsearch script from this project. A version of the script is included to make installation easier but you may refresh when installing…
Installation
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).
From PyPI
To install the package from PyPI:
sudo pip install alignak-checks-elasticsearch
From source files
To install the package from the source files:
git clone https://github.com/Alignak-monitoring-contrib/alignak-checks-elasticsearch cd alignak-checks-elasticsearch 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`;)
Documentation
Configuration
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).
Alignak configuration
For a Linux monitored host, you simply have to tag the concerned host with the template elasticsearch.
# An host with an elasticsearch instance running define host{ use elasticsearch host_name my_es address 127.0.0.1 }
When using the alignak backend, use the setup.sh script provided in the json/elasticsearch directory to include all the package information into your backend
# Backend configuration $ json/elasticsearch/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.
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file alignak_checks_elasticsearch-1.2.0.tar.gz
.
File metadata
- Download URL: alignak_checks_elasticsearch-1.2.0.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871bf06d5fd99a709e556afce6bfbef4cd777a96ed36e719d6c3998582c5d811 |
|
MD5 | 921ce6f3bf1393c1e6c63c964ce46fe7 |
|
BLAKE2b-256 | 18888a833f0f235e675b5ff2475f191b9a7e8ca0878629e89e4494a695848fea |
File details
Details for the file alignak_checks_elasticsearch-1.2.0-py2-none-any.whl
.
File metadata
- Download URL: alignak_checks_elasticsearch-1.2.0-py2-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 806957e54ffbeb2d730d8c383fd174c8bc264e3da37b42936777d0a20859ff49 |
|
MD5 | 1ecb6f12e396c39e7e7811aed05b38f8 |
|
BLAKE2b-256 | 6614e00b711fbb73742ab3686fb4d4b00ce69a2c62afbe8d72affd27757c27b4 |