Munin Monitoring MongoDB Database Configuration method

Source: Internet
Author: User
Tags mongodb

First enable the MongoDB Httpinterface
Modify Mongodb.conf
Comment this row

The code is as follows Copy Code
#nohttpinterface = True

Httpinterface Port is MongoDB Port +1000
If the default port for MongoDB is 27018, Httpinterface is 28018.
Need to reboot MongoDB

Download Plugin

The code is as follows Copy Code

#wget Http://github.com/erh/mongo-munin/tarball/master

Download the filename is master rename and then unzip

The code is as follows Copy Code

#tar XVF erh-mongo-munin-*tar.gz
#cp erh-mongo-munin-*/mongo_*/etc/munin/plugins/
#munin-node Restart

On the Munin service node

/tr>
  code is as follows copy code

#sudo-U Munin/usr/share/munin/munin-update
$ cd/etc/munin/plugins/
$ munin-run mongo_ops
Getmore.value 0
Insert.value 46235
Update.value 44290
command.value 13918
query.value 444044
Delete.value 0

Related Article

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.