NewsBlur/config/munin/memcached_curr_items
2016-11-11 11:09:13 -08:00

19 lines
527 B
Python
Executable file

#!/srv/newsblur/venv/newsblur/bin/python
from vendor.munin.memcached import MuninMemcachedPlugin
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()