Skip to main content

No project description provided

Project description

Motop
=====

Realtime monitoring tool for several MongoDB servers. Shows current
operations ordered by durations every second.


Usage
-----

Install with easy_install::

easy_install motop

Download and install::

./setup.py install

Help::

motop -h

Monitor several servers::

motop 192.168.124.50 192.158.124.51


Actions
-------

q Quit

p Pause

e Explain the query

k Kill operation using "mongo" executable

K Kill operations older than given seconds using "mongo" executable


Dependencies
------------

* python 2.6 or greater
* pymongo 2.0 or greater [1]

[1] http://pypi.python.org/pypi/pymongo/


Configuration (Optional)
------------------------

Configuration file can be created to /etc/motop.conf.

There can be multiple sections on the configuration. Each section
can include these parameters::

address
Address of the server (required)

username
Username to authenticate to the server

password
Password to authenticate to the server

status
Show status (default: on)

replicationInfo
Show replication status (default: on)

replicaSet
Show replica set status (default: on)

operations
Show operations (default: on)

replicationOperations
Show constantly appeared replication operations on the masters
and the slaves (default: on)

"DEFAULT" is the special section. Parameters can be set as default
in this section.

The names of the sections will be used as server names. These names
can alse be used on arguments of the executable.

Example configuration::

[MongoDB01]
address=10.42.2.121
replicationOperations=off

[MongoDB02]
address=10.42.2.122

[MongoDB03]
address=10.42.2.123

[MongoDB04]
address=10.42.2.124
username=foo
password=bar


License
-------

This tool is released under the ISC License, whose text is included to the
source files. The ISC License is registered with and approved by the
Open Source Initiative [1].

[1] http://opensource.org/licenses/isc-license.txt

Project details


Release history Release notifications

History Node

4.2

History Node

4.1

History Node

4.0

This version
History Node

3.1

History Node

3.0

History Node

2.6

History Node

2.5

History Node

2.4

History Node

2.3

History Node

2.2

History Node

2.1

History Node

2.0

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
motop-3.1-py2.6.egg (29.6 kB) Copy SHA256 hash SHA256 Egg 2.6 Oct 21, 2013
motop-3.1-py2.7.egg (29.4 kB) Copy SHA256 hash SHA256 Egg 2.7 Oct 21, 2013
motop-3.1-py3.1.egg (29.7 kB) Copy SHA256 hash SHA256 Egg 3.1 Oct 21, 2013
motop-3.1-py3.2.egg (29.9 kB) Copy SHA256 hash SHA256 Egg 3.2 Oct 21, 2013
motop-3.1-py3.3.egg (30.5 kB) Copy SHA256 hash SHA256 Egg 3.3 Oct 21, 2013
motop-3.1.tar.gz (9.8 kB) Copy SHA256 hash SHA256 Source None Oct 21, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page