Mongodb Real-time Monitoring Tool motop

Source: Internet
Author: User
Tags mongodb monitoring
The motopmongodb real-time monitoring tool can monitor multiple MongoDB servers at the same time. Displays the current operation. Project address: github. comtartmotop use 1. Install with easy_install # wgetbitbucket. orgpypasetuptoolsrawbootstrapez_setup.py-O

The motop mongodb real-time monitoring tool can monitor multiple MongoDB servers at the same time. Displays the current operation. Project address: https://github.com/tart/motop with 1. Install # wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py-O-| python # easy _

Motop

The real-time mongodb monitoring tool can monitor multiple MongoDB servers at the same time. Displays the current operation. Project address: https://github.com/tart/motop

Use

1. Install with easy_install

# wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python# easy_install motop

2. Source Code Installation

# wget https://github.com/tart/motop/archive/master.zip# unzip master.zip# ./setup.py install

3. Help

# motop -h

4. monitor multiple

# motop 192.168.124.50 192.158.124.51
Action

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 all servers

Dependency package
  • Python 2.6 or above
  • Pymongo 2.0 or above
Configuration (option)

The configuration file can be created in/etc/motop. conf. There can be multiple short configurations. Each section can contain the following parameters: address :? Server address (required) username: Login User Name password: Login User password status: Display status (enabled by default) replicationInfo: display copy status (enabled by default) replicaSet: show the status of the replica set (default value: enabled) operations: Show operation (default value: enabled) replicationOperations: continuously show master and slave copy operations (default value: enabled) "DEFAULT" is a special part. This section can be set as the default parameter. The configuration example is as follows:

[MongoDB01]address=10.42.2.121replicationOperations=off[MongoDB02]address=10.42.2.122[MongoDB03]address=10.42.2.123[MongoDB04]address=10.42.2.124username=foopassword=bar
Actual use

Original article address: mongodb Real-time Monitoring Tool motop, thanks to the original author for sharing.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.