Révision dca09431
mongodb_conn configurable graph_category
| 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