Projet

Général

Profil

Révision dca09431

IDdca094317a8140ead7c09921f23999b574e12703
Parent 105ff59c
Enfant f5900290

Ajouté par Jeremías il y a plus de 4 ans

mongodb_conn configurable graph_category

Voir les différences:

plugins/mongodb/mongodb_conn
74 74
    print("""
75 75
graph_title MongoDB Connections Count
76 76
graph_vlabel Connections count
77
graph_category db
77
graph_category %s
78 78
graph_args --base 1000 -l 0
79 79
current.label current
80 80
current.draw AREASTACK
......
82 82
available.draw AREASTACK
83 83
active.label active
84 84
active.draw AREASTACK
85
""")
85
""" % os.getenv('graph_category', 'db'))
86 86

  
87 87

  
88 88
if __name__ == "__main__":

Formats disponibles : Unified diff