mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
mongo_ops configurable graph_category
This commit is contained in:
parent
4168c1647b
commit
a9313615c8
1 changed files with 2 additions and 2 deletions
|
@ -68,9 +68,9 @@ def doConfig():
|
||||||
graph_title MongoDB ops
|
graph_title MongoDB ops
|
||||||
graph_args --base 1000 -l 0
|
graph_args --base 1000 -l 0
|
||||||
graph_vlabel ops / ${graph_period}
|
graph_vlabel ops / ${graph_period}
|
||||||
graph_category db
|
graph_category %s
|
||||||
graph_total total
|
graph_total total
|
||||||
""")
|
""" % os.getenv('graph_category', 'db'))
|
||||||
|
|
||||||
for k in getServerStatus()["opcounters"]:
|
for k in getServerStatus()["opcounters"]:
|
||||||
print(k + ".label " + k)
|
print(k + ".label " + k)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue