mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
20 lines
503 B
Text
20 lines
503 B
Text
![]() |
#!/usr/bin/env 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()
|