1
0
Fork 0
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:
Lars Kruse 2020-04-21 19:38:52 +02:00
parent 71f9280576
commit edb4e1e81b

View file

@ -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