mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
19 lines
528 B
Python
Executable file
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()
|