mongodb 实时监控工具motop
- - 运维生存时间mongodb实时监控工具,可以同时对多个MongoDB服务器进行监控. 项目地址:https://github.com/tart/motop
使用. 使用easy_install安装
# wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
# easy_install motop.
# wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python # easy_install motop2. 源码安装
# wget https://github.com/tart/motop/archive/master.zip # unzip master.zip # ./setup.py install3. 帮助
# motop -h4. 监控多台
# motop 192.168.124.50 192.158.124.51
[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