NewsBlur-viq/archive/munin/memcached_curr_items
2022-02-01 14:59:05 -05:00

19 lines
528 B
Python
Executable file

#!/srv/newsblur/venv/newsblur3/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()