NewsBlur/config/munin/redis_active_connections
2011-12-02 16:22:38 -08:00

19 lines
487 B
Python
Executable file

#!/usr/bin/env python
from 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()