NewsBlur/archive/munin/memcached_items
2022-02-16 21:16:24 -08:00

19 lines
496 B
Python
Executable file

#!/srv/newsblur/venv/newsblur3/bin/python
from vendor.munin.memcached import MuninMemcachedPlugin
class MuninMemcachedItemsPlugin(MuninMemcachedPlugin):
title = "Memcached new items stats"
args = "--base 1000"
vlabel = "Items"
info = "items stats"
fields = (
('total_items', dict(
label = "items",
info = "number of new items",
type = "COUNTER",
)),
)
if __name__ == "__main__":
MuninMemcachedItemsPlugin().run()