mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 16:47:45 -02:30
Update munin to Redis
This commit is contained in:
16
tools/munin_monitors/redis_alive
Executable file
16
tools/munin_monitors/redis_alive
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
case $1 in
|
||||
config)
|
||||
cat <<'EOM'
|
||||
graph_title Redis Processes
|
||||
graph_vlabel num processes
|
||||
graph_category tower
|
||||
redis.label Redis Processes
|
||||
EOM
|
||||
exit 0;;
|
||||
esac
|
||||
|
||||
printf "redis.value "
|
||||
ps ax | grep redis | grep -v grep | wc -l
|
||||
printf "\n"
|
||||
Reference in New Issue
Block a user