1
0
Fork 0
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:
Jeremías 2021-03-16 14:35:00 -03:00 committed by Lars Kruse
parent f5900290d6
commit 6dba67187e

View file

@ -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))