mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 10:39:53 +00:00
Category Tree: Reduce number of categories
rackspace -> cloud (rackspace) openvpn -> network (openvpn) rethinkdb -> db (rethinkdb) glance -> cloud (glance)
This commit is contained in:
parent
eaf6c2d7ce
commit
6aa977b250
14 changed files with 17 additions and 17 deletions
|
@ -22,7 +22,7 @@ if [ "$mode" = "memory" ]; then
|
|||
if [ "$1" = "config" ]; then
|
||||
echo "graph_title Total Puma Memory"
|
||||
echo "graph_vlabel Total RAM"
|
||||
echo "graph_category puma"
|
||||
echo "graph_category webserver"
|
||||
echo "graph_args --base 1024"
|
||||
echo "ram.label Total RAM"
|
||||
exit 0
|
||||
|
@ -37,7 +37,7 @@ elif [ "$mode" = "processes" ]; then
|
|||
if [ "$1" = "config" ]; then
|
||||
echo "graph_title puma Processes"
|
||||
echo "graph_vlabel Processes"
|
||||
echo "graph_category puma"
|
||||
echo "graph_category webserver"
|
||||
echo "processes.label active processes"
|
||||
else
|
||||
printf "processes.value %s\n" "$(ps awwwux | egrep "puma.* worker" | grep -v grep | wc -l)"
|
||||
|
@ -48,7 +48,7 @@ elif [ "$mode" = "average" ]; then
|
|||
echo 'graph_title Puma Average Process Size'
|
||||
echo 'graph_args --base 1024 -l 0 '
|
||||
echo 'graph_vlabel Average Process Size'
|
||||
echo 'graph_category puma'
|
||||
echo 'graph_category webserver'
|
||||
echo 'puma_average.label Average Process Size'
|
||||
echo 'puma_average.draw LINE2'
|
||||
echo 'puma_average.info The average process size for puma'
|
||||
|
@ -57,4 +57,4 @@ elif [ "$mode" = "average" ]; then
|
|||
exit 0
|
||||
fi
|
||||
fi
|
||||
exit 0
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue