mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-09-19 00:53:19 +00:00
mongodb_docs configurable graph_category
This commit is contained in:
parent
dca094317a
commit
f5900290d6
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ def doConfig():
|
||||||
graph_title MongoDB documents
|
graph_title MongoDB documents
|
||||||
graph_args --base 1000 -l 0
|
graph_args --base 1000 -l 0
|
||||||
graph_vlabel documents
|
graph_vlabel documents
|
||||||
graph_category db
|
graph_category %s
|
||||||
""")
|
""" % os.getenv('graph_category', 'db'))
|
||||||
|
|
||||||
for k in getServerStatus()["metrics"]["document"]:
|
for k in getServerStatus()["metrics"]["document"]:
|
||||||
print(k + ".label " + k)
|
print(k + ".label " + k)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue