1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 10:39:53 +00:00

mongo_mem configurable graph_category

This commit is contained in:
Jeremías 2021-03-16 14:36:17 -03:00 committed by Lars Kruse
parent 6dba67187e
commit 4168c1647b

View file

@ -69,8 +69,8 @@ def doConfig():
print("""
graph_title MongoDB memory usage
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"]:
if ok( k ):