mongodb_conn configurable graph_category
This commit is contained in:
parent
105ff59c11
commit
dca094317a
|
@ -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__":
|
||||
|
|
Loading…
Reference in New Issue