mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Plugin apache_memory: unify whitespace
This commit is contained in:
parent
edb4e1e81b
commit
b087127c04
1 changed files with 12 additions and 14 deletions
|
@ -36,26 +36,24 @@ PROCS=${binname:-apache2}
|
||||||
|
|
||||||
|
|
||||||
if [ "$1" = "autoconf" ]; then
|
if [ "$1" = "autoconf" ]; then
|
||||||
echo yes
|
echo yes
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "config" ]; then
|
if [ "$1" = "config" ]; then
|
||||||
|
|
||||||
echo 'graph_title Medium size of apache child process.'
|
echo 'graph_title Medium size of apache child process.'
|
||||||
echo 'graph_args --base 1000 -l 0 '
|
echo 'graph_args --base 1000 -l 0 '
|
||||||
echo 'graph_vlabel Kb'
|
echo 'graph_vlabel Kb'
|
||||||
echo 'graph_scale no'
|
echo 'graph_scale no'
|
||||||
echo 'graph_category webserver'
|
echo 'graph_category webserver'
|
||||||
echo 'graph_info Indicate the memdium size of all the apache child process.'
|
echo 'graph_info Indicate the memdium size of all the apache child process.'
|
||||||
|
|
||||||
|
echo "servers.label servers"
|
||||||
|
echo "servers.type GAUGE"
|
||||||
|
echo "servers.min 0"
|
||||||
|
|
||||||
|
exit 0
|
||||||
echo "servers.label servers"
|
|
||||||
echo "servers.type GAUGE"
|
|
||||||
echo "servers.min 0"
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VAL1=`ps auxf | grep ${PROCS} | grep ^${USR} | grep -v grep | wc -l`
|
VAL1=`ps auxf | grep ${PROCS} | grep ^${USR} | grep -v grep | wc -l`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue