mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
mongo_lag configurable graph_category
This commit is contained in:
parent
f5900290d6
commit
6dba67187e
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ def config():
|
||||||
print("""graph_title MongoDB replication lag
|
print("""graph_title MongoDB replication lag
|
||||||
graph_args --base 1000
|
graph_args --base 1000
|
||||||
graph_vlabel Replication lag (seconds)
|
graph_vlabel Replication lag (seconds)
|
||||||
graph_category db
|
graph_category %s
|
||||||
""")
|
""" % os.getenv('graph_category', 'db'))
|
||||||
|
|
||||||
for member in _get_members():
|
for member in _get_members():
|
||||||
print("{0}.label {0}".format(member))
|
print("{0}.label {0}".format(member))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue