mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Plugin apache_memory: specify common default values
Previously the plugin did not work without configuration. Now it should work on many systems out of the box.
This commit is contained in:
parent
71f9280576
commit
edb4e1e81b
1 changed files with 4 additions and 4 deletions
|
@ -10,8 +10,8 @@ apache_memmory -Indicate the medium size of all the apache child process
|
|||
=head1 CONFIGURATION
|
||||
|
||||
[apache_*]
|
||||
env.apuser user_running_apache
|
||||
env.binname apache_binary_name
|
||||
env.apuser user_running_apache (default: "www-data")
|
||||
env.binname apache_binary_name (default: "apache2")
|
||||
|
||||
|
||||
=head1 AUTHOR
|
||||
|
@ -31,8 +31,8 @@ GPLv2
|
|||
|
||||
. $MUNIN_LIBDIR/plugins/plugin.sh
|
||||
|
||||
USR=$apuser
|
||||
PROCS=$binname
|
||||
USR=${apuser:-www-data}
|
||||
PROCS=${binname:-apache2}
|
||||
|
||||
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue