/mongoop

Monitor and locate long running operations on MongoDB and automatically trigger specific actions for alerting and performance analysis.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

https://travis-ci.org/Lujeni/mongoop.svg?branch=master

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:

Configure your Mongoop settings:

List of available triggers:

Learn how to write your own triggers:

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