mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 18:38:30 +00:00
rename option to 'env.areastack'
This commit is contained in:
parent
1c917e64b0
commit
58e5b2f32c
1 changed files with 5 additions and 5 deletions
|
@ -13,16 +13,16 @@ lxc_ram - Plugin to monitor LXC memory usage.
|
||||||
user root
|
user root
|
||||||
|
|
||||||
[lxc_ram]
|
[lxc_ram]
|
||||||
env.stack_usage true
|
env.areastack true
|
||||||
|
|
||||||
=head1 INTERPRETATION
|
=head1 INTERPRETATION
|
||||||
|
|
||||||
This plugin needs root privilege.
|
This plugin needs root privilege.
|
||||||
|
|
||||||
If env.stack_usage is set to true, all memory usages of containers will be
|
If env.areastack is set to true, all memory usages of containers will be
|
||||||
drawn as stacked area charts.
|
drawn as stacked area charts.
|
||||||
This option changes graph order, all of 'Mem usage' comes first and then others.
|
This option changes graph order, all of 'Mem usage' comes first and then others.
|
||||||
(default: empty)
|
(default: false)
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ if [ "$1" = "config" ]; then
|
||||||
echo 'graph_vlabel byte'
|
echo 'graph_vlabel byte'
|
||||||
echo 'graph_category memory'
|
echo 'graph_category memory'
|
||||||
|
|
||||||
if [ "$stack_usage" = "true" ]; then
|
if [ "$areastack" = "true" ]; then
|
||||||
for guest_name in $guest_names; do
|
for guest_name in $guest_names; do
|
||||||
guest="$(clean_fieldname $guest_name)"
|
guest="$(clean_fieldname $guest_name)"
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ if [ "$1" = "config" ]; then
|
||||||
do
|
do
|
||||||
guest="$(clean_fieldname $guest_name)"
|
guest="$(clean_fieldname $guest_name)"
|
||||||
|
|
||||||
if [ "$stack_usage" != "true" ]; then
|
if [ "$areastack" != "true" ]; then
|
||||||
echo 'mem_usage_'$guest'.label '$guest_name': Mem usage'
|
echo 'mem_usage_'$guest'.label '$guest_name': Mem usage'
|
||||||
echo 'mem_usage_'$guest'.type GAUGE'
|
echo 'mem_usage_'$guest'.type GAUGE'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue