mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
mongodb_conn configurable graph_category
This commit is contained in:
parent
105ff59c11
commit
dca094317a
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ def config():
|
||||||
print("""
|
print("""
|
||||||
graph_title MongoDB Connections Count
|
graph_title MongoDB Connections Count
|
||||||
graph_vlabel Connections count
|
graph_vlabel Connections count
|
||||||
graph_category db
|
graph_category %s
|
||||||
graph_args --base 1000 -l 0
|
graph_args --base 1000 -l 0
|
||||||
current.label current
|
current.label current
|
||||||
current.draw AREASTACK
|
current.draw AREASTACK
|
||||||
|
@ -82,7 +82,7 @@ available.label available
|
||||||
available.draw AREASTACK
|
available.draw AREASTACK
|
||||||
active.label active
|
active.label active
|
||||||
active.draw AREASTACK
|
active.draw AREASTACK
|
||||||
""")
|
""" % os.getenv('graph_category', 'db'))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue