Creating and moving around new tower monitors for munin

This commit is contained in:
Matthew Jones
2014-07-30 16:57:43 -04:00
parent 67ddbd6fd6
commit 56255777bc
8 changed files with 109 additions and 1 deletions

View File

@@ -1,30 +0,0 @@
#!/bin/sh
case $1 in
config)
cat <<'EOM'
multigraph tower_jobs
graph_title Running Jobs breakdown
graph_vlabel job count
graph_category tower
running.label Running jobs
running.type DERIVE
waiting.label Waiting jobs
waiting.type DERIVE
pending.label Pending jobs
pending.type DERIVE
EOM
exit 0;;
esac
printf "running.value "
awx-manage stats --stat jobs_running
printf "\n"
printf "waiting.value "
awx-manage stats --stat jobs_waiting
printf "\n"
printf "pending.value "
awx-manage stats --stat jobs_pending
printf "\n"