Skip to main content
Motop
=====

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


Usage
-----

Install with easy_install::

easy_install motop

Install with pip::

pip install git+https://github.com/tart/motop.git

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

r Try to reconnect to disconnected servers

R Try to reconnect to all servers


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

Changelog
---------

Motop 3.0

* Change coding style according to the PEP 8 for more contribution
* Improve human readable values
* Fix replica set monitoring (UdjinM6)

Motop 3.1

* Avoid crash for operations with missing fields
* Avoid crash for failed explain, kill actions
* Rename column State of the operation block
* Show locks with operations

Motop 4.0

* Avoid crash on missing data from server
* Aviod crash on connection failures
* Add reconnect buttons
* Try to reconnect to disconnected servers after every 20 refreshes
* Use username, password from the configuration instead of from the arguments

Motop 4.1

* Avoid crash on replica set view

Motop 4.2

* Support installation with `pip`

Release files for motop 4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for motop 4.2
File Size Uploaded
motop-4.2.tar.gz 10.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for motop 4.2
File
motop-4.2-py3.4.egg Legacy Egg format - - Details
motop-4.2-py3.3.egg Legacy Egg format - - Details
motop-4.2-py3.2.egg Legacy Egg format - - Details
motop-4.2-py3.1.egg Legacy Egg format - - Details
motop-4.2-py2.7.egg Legacy Egg format - - Details
motop-4.2-py2.6.egg Legacy Egg format - - Details

Total release size: 192.2 kB

Release files / motop-4.2.tar.gz

Download URL motop-4.2.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9a1790a6b60a2b563b7478ea2e3a861ac3e99937b25d573e6c32c9ac907cd030
BLAKE2b-256 checksum
How to use checksums
8b75536088432630057a64870f9e158d029c52190e2ac6cbc0b8e47dfb941f9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / motop-4.2-py3.4.egg

Download URL motop-4.2-py3.4.egg
Size 30.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
44e5fbee28faffe40a50a847fafa60b482b2e394a5c874b6cf25253e5dc6b74b
BLAKE2b-256 checksum
How to use checksums
a93755f1a67269c98ccdb668362b5833a54c0187fccc875f306b389e8ec1a0f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / motop-4.2-py3.3.egg

Download URL motop-4.2-py3.3.egg
Size 31.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
732a01567f0d436d3b1f0e868e0f705cb92e7dbf7fb86c7367766b62562589e4
BLAKE2b-256 checksum
How to use checksums
84764ddde0e7d3789df4c8b074eb74a83865611cf237b13c7a451be98917260a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / motop-4.2-py3.2.egg

Download URL motop-4.2-py3.2.egg
Size 30.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
5a58628c5ed837a6e6eb1ed6bf5c92a9048cedf3cce47b8a7e512f669307138b
BLAKE2b-256 checksum
How to use checksums
6feae7798757d32971ea9e446d3eaf3dac34deaec0592b8392fdbdcdb0c9db78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / motop-4.2-py3.1.egg

Download URL motop-4.2-py3.1.egg
Size 30.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
8f36d0395abaf8e4dc3722481ee184f92e1506921b0e3dac14939148b3d5e71f
BLAKE2b-256 checksum
How to use checksums
55d0651be39eb882672329bb38e5df4846e04247bec9afeb91526007060416f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / motop-4.2-py2.7.egg

Download URL motop-4.2-py2.7.egg
Size 29.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
6204c83ab097dbaf3bee4d8972bb12b352921858d353102a0f54e04ba014fbda
BLAKE2b-256 checksum
How to use checksums
ba6e459138929456a5435c531ada8b530c00d470d767fec53b50649126cd452c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / motop-4.2-py2.6.egg

Download URL motop-4.2-py2.6.egg
Size 30.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
753ef3931224e11971bf7034cd0e7387740e83864b0f1cfadb42798db245946e
BLAKE2b-256 checksum
How to use checksums
0d99294135dcffc916865197a9b88e9806c2c1dfa98f8fe68c459a83e11b51fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

4.2 This release

7 release files

4.1

6 release files

4.0

6 release files

3.1

6 release files

3.0

3 release files

2.6

6 release files

2.5

6 release files

2.4

6 release files

2.3

6 release files

2.2

6 release files

2.1

4 release files

2.0

4 release files

1.3

3 release files

1.2

3 release files

1.1

4 release files

1.0

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page