mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 10:39:53 +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_args --base 1000 -l 0
|
||||
graph_vlabel documents
|
||||
graph_category db
|
||||
""")
|
||||
graph_category %s
|
||||
""" % os.getenv('graph_category', 'db'))
|
||||
|
||||
for k in getServerStatus()["metrics"]["document"]:
|
||||
print(k + ".label " + k)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue