mongoop
mongoop copied to clipboard
Monitor and locate long running operations on MongoDB and automatically trigger specific actions for alerting and performance analysis.
.. image:: https://travis-ci.org/Lujeni/mongoop.svg?branch=master :target: https://travis-ci.org/Lujeni/mongoop .. image:: https://img.shields.io/pypi/dm/mongoop.svg
What is Mongoop ?
Monitor and locate long running operations on MongoDB and automatically trigger specific actions for alerting and performance analysis. Some fancy checks are available also.
Is it ready ?
It's still not 1.0 but enougth mature to test on your infrastructure.
Documentation
Up to date documentation:
-
See the wiki <https://github.com/lujeni/mongoop/wiki>
_
Configure your Mongoop settings:
-
Settings file <https://github.com/lujeni/mongoop/wiki/Settings-File>
_
List of available triggers:
-
List of available triggers <https://github.com/lujeni/mongoop/wiki/Available-Triggers>
_
Learn how to write your own triggers:
-
Write your own triggers <https://github.com/lujeni/mongoop/wiki/Write-your-own-triggers>
_
Balancer check:
-
Balancer check <https://github.com/lujeni/mongoop/wiki/Balancer-Check>
_
Usage
Currently, mongoop is a simple cli tool: ::
$ mongoop
Using your own settings as well: ::
$ mongoop --config /path/to/settings.[yaml:py]
# or
$ export MONGOP_CONFIG_FILE="/path/to/settings.[yaml:py]"
$ mongoop
Requirements
This code has been tested under Python 2.7, 3.4. ::
install by the setup
Jinja2==2.8 PyYAML==3.11 pymongo==3.0.2
Installation
Pypi
Using pip: ::
$ pip install mongoop
# Some trigger need extra requires to be used
$ pip install mongoop[sentry] # raven will be install
Gentoo Linux
Using emerge (very soon): ::
$ sudo emerge -a mongoop