mongodb_conn configurable graph_category

This commit is contained in:
Jeremías 2021-03-16 14:32:27 -03:00 committed by Lars Kruse
parent 105ff59c11
commit dca094317a
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ def config():
print("""
graph_title MongoDB Connections Count
graph_vlabel Connections count
graph_category db
graph_category %s
graph_args --base 1000 -l 0
current.label current
current.draw AREASTACK
@ -82,7 +82,7 @@ available.label available
available.draw AREASTACK
active.label active
active.draw AREASTACK
""")
""" % os.getenv('graph_category', 'db'))
if __name__ == "__main__":