From dca094317a8140ead7c09921f23999b574e12703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jerem=C3=ADas?= Date: Tue, 16 Mar 2021 14:32:27 -0300 Subject: [PATCH] mongodb_conn configurable graph_category --- plugins/mongodb/mongodb_conn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mongodb/mongodb_conn b/plugins/mongodb/mongodb_conn index 718e0b73..000c3765 100755 --- a/plugins/mongodb/mongodb_conn +++ b/plugins/mongodb/mongodb_conn @@ -74,7 +74,7 @@ def config(): print(""" graph_title MongoDB Connections Count graph_vlabel Connections count -graph_category db +graph_category %s graph_args --base 1000 -l 0 current.label current current.draw AREASTACK @@ -82,7 +82,7 @@ available.label available available.draw AREASTACK active.label active active.draw AREASTACK -""") +""" % os.getenv('graph_category', 'db')) if __name__ == "__main__":