Skip to main content

Alignak checks pack for Elasticsearch

Project description

Checks pack for monitoring MongoDB with the check_mongodb python script

Most recent PyPi version Join the chat #alignak on freenode.net License AGPL v3

Note: this check pack is only an example for checking MongoDB using the Nagios check_tcp command. Please feel free to comment or suggest improvements :)

This package uses the check_mongodb.py 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-mongodb

From source files

To install the package from the source files:

git clone https://github.com/Alignak-monitoring-contrib/alignak-checks-mongodb
cd alignak-checks-mongodb
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 MongoDB.:

# An host with a MongoDB instance running
define host{
    use                     mongodb
    host_name               my_es
    address                 127.0.0.1
}

When using the alignak backend, use the setup.sh script provided in the json/MongoDB directory to include all the package information into your backend:

# Backend configuration
$ json/mongodb/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

alignak_checks_mongodb-1.1.3.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

alignak_checks_mongodb-1.1.3-py2-none-any.whl (40.1 kB view details)

Uploaded Python 2

File details

Details for the file alignak_checks_mongodb-1.1.3.tar.gz.

File metadata

  • Download URL: alignak_checks_mongodb-1.1.3.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for alignak_checks_mongodb-1.1.3.tar.gz
Algorithm Hash digest
SHA256 ffdcde36cf8fdee4ada73f5528a0321f5421d47b43e2ca9fda023990469ce48c
MD5 a5f292ba359fe097027720092d6a8b2b
BLAKE2b-256 c5ce1e8ded44fdfb89ab18f6ada04b6bf7faafbaf1183b43b8f6c2aefdeb87a2

See more details on using hashes here.

File details

Details for the file alignak_checks_mongodb-1.1.3-py2-none-any.whl.

File metadata

  • Download URL: alignak_checks_mongodb-1.1.3-py2-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for alignak_checks_mongodb-1.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 280b34b0ab144583fa6f634a3bccca2a05bd71505031145013ca35ec95e0e7db
MD5 e4bdf2798f27006555c6d783d2518fcb
BLAKE2b-256 3253532770dc0c3ff424dc4577bdf536a353b7c277a24ad75bf0a3531647715c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page