Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (10 sloc) 0.651 kb

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.

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

Jump to Line
Something went wrong with that request. Please try again.