Munin plugins for MongoDB ReplicaSet
Switch branches/tags
Nothing to show
Pull request Compare This branch is 7 commits behind osinka:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



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.

Configuration settings (through Munin plugin config):

  • host MongoDB node host
  • port MongoDB node port
  • repl_lag.warning warning lag (in ms)
  • repl_lag.critical critical lag (in ms)

By default the plugin will connect to localhost:27017.

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