mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
18 lines
288 B
Bash
Executable File
18 lines
288 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case $1 in
|
|
config)
|
|
cat <<'EOM'
|
|
graph_title Celery Processes
|
|
graph_vlabel num processes
|
|
graph_category tower
|
|
celeryd.label Celery Processes
|
|
celeryd.type DERIVE
|
|
EOM
|
|
exit 0;;
|
|
esac
|
|
|
|
printf "celeryd.value "
|
|
ps ax | grep celeryd | grep -v grep | wc -l
|
|
printf "\n"
|