mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
mongo_mem configurable graph_category
This commit is contained in:
parent
6dba67187e
commit
4168c1647b
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ def doConfig():
|
||||||
print("""
|
print("""
|
||||||
graph_title MongoDB memory usage
|
graph_title MongoDB memory usage
|
||||||
graph_args --base 1024 -l 0 --vertical-label Bytes
|
graph_args --base 1024 -l 0 --vertical-label Bytes
|
||||||
graph_category mongodb
|
graph_category %s
|
||||||
""")
|
""" % os.getenv('graph_category', 'mongodb'))
|
||||||
|
|
||||||
for k in getServerStatus()["mem"]:
|
for k in getServerStatus()["mem"]:
|
||||||
if ok( k ):
|
if ok( k ):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue