Révision a9313615
mongo_ops configurable graph_category
| plugins/mongodb/mongo_ops | ||
|---|---|---|
| 68 | 68 |
graph_title MongoDB ops |
| 69 | 69 |
graph_args --base 1000 -l 0 |
| 70 | 70 |
graph_vlabel ops / ${graph_period}
|
| 71 |
graph_category db
|
|
| 71 |
graph_category %s
|
|
| 72 | 72 |
graph_total total |
| 73 |
""") |
|
| 73 |
""" % os.getenv('graph_category', 'db'))
|
|
| 74 | 74 |
|
| 75 | 75 |
for k in getServerStatus()["opcounters"]: |
| 76 | 76 |
print(k + ".label " + k) |
Formats disponibles : Unified diff