Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 651 Bytes

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