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

19 lines
523 B
Python
Executable file

#!/srv/newsblur/venv/newsblur3/bin/python
from vendor.munin.memcached import MuninMemcachedPlugin
class MuninMemcachedConnectionsPlugin(MuninMemcachedPlugin):
title = "Memcached connections stats"
args = "--base 1000"
vlabel = "Connections"
info = "connections stats"
fields = (
('curr_connections', dict(
label = "connections",
info = "connections",
type = "GAUGE",
)),
)
if __name__ == "__main__":
MuninMemcachedConnectionsPlugin().run()