GithubHelp home page GithubHelp logo

mongomon's Introduction

Munin Plugins for MongoDB

Plugins

  • mongo_collcount : Count of documents in multible collections per db
  • mongo_collsize : Index, storage and data size per collection
  • mongo_indexsize : Index sizes of all collections in a db

Requirements

  • pymongo 2.0+
  • MongoDB 1.4+

Installation

Follow the following steps to install these plugins on your munin-node

  • Copy mongo_collcount and mongo_indexsize into /etc/munin/plugins

  • Copy the wildcard plugin mongo_collsize to /etc/munin/plugins/mongo_collsize_<your collection>, where <your collection> means the name of the collection you want to monitor, this is case sensetive!

  • Edit /etc/munin/plugin-conf.d/plugins, and add the following:

      [mongo_*]
      user nobody
      env.HOST <mongodbs ip>
      env.PORT 27017
      env.DB <the database you want to monitor>
    
  • At last restart munin-node:

      sudo /etc/init.d/munin-node restart
    

mongomon's People

Contributors

alaz avatar bdarfler avatar erh avatar japerk avatar jochumdev avatar lukaf avatar meersjo avatar mirceapasoi avatar samuelclay avatar schmichael avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mongomon's Issues

There are bugs in README.md

Copy mongo_collcount and mongo_indexsize into /etc/mongo/plugins
Copy the wildcard plugin mongo_collsize to /etc/mongo/plugins/mongo_collsize_,
I think there should be /etc/munin/plugins not /etc/mongo/plugins

DB authentication

Hey,

It appears that the plugins lack the ability to authenticate to the MongoDB. This would be a very welcome feature in security-aware environments, and it would consequently also be nice if the documentation states which roles each plugin requires to work.

/Johan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.