1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
awx/tools/munin_monitors/redis_alive

17 lines
260 B
Plaintext
Raw Normal View History

#!/bin/sh
case $1 in
config)
cat <<'EOM'
2014-11-11 23:21:13 +03:00
graph_title Redis Processes
graph_vlabel num processes
graph_category tower
2014-11-11 23:21:13 +03:00
redis.label Redis Processes
EOM
exit 0;;
esac
2014-11-11 23:21:13 +03:00
printf "redis.value "
ps ax | grep redis | grep -v grep | wc -l
printf "\n"