NewsBlur/config/munin/memcached_curr_items

20 lines
527 B
Text
Raw Normal View History

2016-11-11 11:09:13 -08:00
#!/srv/newsblur/venv/newsblur/bin/python
2011-12-02 16:22:38 -08:00
2016-11-11 11:06:33 -08:00
from vendor.munin.memcached import MuninMemcachedPlugin
2011-12-02 16:22:38 -08:00
class MuninMemcachedCurrentItemsPlugin(MuninMemcachedPlugin):
title = "Memcached current items stats"
args = "--base 1000"
vlabel = "Current Items"
info = "current items stats"
fields = (
('curr_items', dict(
label = "items",
info = "number current items",
type = "GAUGE",
)),
)
if __name__ == "__main__":
MuninMemcachedCurrentItemsPlugin().run()