mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
19 lines
513 B
Python
Executable file
19 lines
513 B
Python
Executable file
#!/srv/newsblur/venv/newsblur/bin/python
|
|
|
|
from vendor.munin.redis import MuninRedisPlugin
|
|
|
|
class MuninRedisActiveConnectionsPlugin(MuninRedisPlugin):
|
|
title = "Redis active connections"
|
|
args = "--base 1000"
|
|
vlabel = "Connections"
|
|
info = "active connections"
|
|
fields = (
|
|
('connected_clients', dict(
|
|
label = "connections",
|
|
info = "connections",
|
|
type = "GAUGE",
|
|
)),
|
|
)
|
|
|
|
if __name__ == "__main__":
|
|
MuninRedisActiveConnectionsPlugin().run()
|