mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
19 lines
496 B
Python
Executable file
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()
|