mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Creating and moving around new tower monitors for munin
This commit is contained in:
17
tools/munin_monitors/taskmanager_alive
Executable file
17
tools/munin_monitors/taskmanager_alive
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
case $1 in
|
||||
config)
|
||||
cat <<'EOM'
|
||||
graph_title Task Manager Processes
|
||||
graph_vlabel num processes
|
||||
graph_category tower
|
||||
taskm.label Task Manager Processes
|
||||
taskm.type DERIVE
|
||||
EOM
|
||||
exit 0;;
|
||||
esac
|
||||
|
||||
printf "taskm.value "
|
||||
ps ax | grep run_task_system | grep -v grep | wc -l
|
||||
printf "\n"
|
||||
Reference in New Issue
Block a user