Munin plugins for MongoDB ReplicaSet
Python
Switch branches/tags
Nothing to show
Latest commit f3dcad2 Apr 29, 2013 @alaz alaz doc update in Readme
Permalink
Failed to load latest commit information.
README.md
mongo_repl_lag

README.md

mongo_repl_lag

mongo_repl_lag is a Munin plugin to show graphs how large the replication lag is (in seconds) per MongoDB secondary node. It requires pymongo 2.4.

Configuration settings (through Munin plugin config):

  • uri MongoDB host-port pair (optional, defaults to localhost:27017)
  • replicaSet MongoDB Replica Set name
  • repl_lag.warning warning lag (in ms)
  • repl_lag.critical critical lag (in ms)

You are free to specify any node in a ReplicaSet, the plugin will do the rest itself.

Credits for the core algorithm are to Nagios Munin plugin