mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -79,7 +79,7 @@ for my $i (1 .. $#containers)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (defined $ARGV[0] and $ARGV[0] eq "config")
|
||||
{
|
||||
my $nanoSecondsInSecond=1000000000;
|
||||
|
@ -88,7 +88,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
|
|||
if ($$_{'ncpu'} > $graphlimit){
|
||||
$graphlimit = $$_{'ncpu'};
|
||||
}
|
||||
}
|
||||
}
|
||||
$graphlimit = $graphlimit * 100;
|
||||
print "graph_title Docker container CPU usage\n";
|
||||
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit $graphlimit\n";
|
||||
|
@ -97,7 +97,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
|
|||
print "graph_period second\n";
|
||||
print "graph_category virtualization\n";
|
||||
print "graph_info This graph shows docker container CPU usage.\n";
|
||||
|
||||
|
||||
foreach(@result)
|
||||
{
|
||||
print "$$_{'name'}.label $$_{'name'}\n";
|
||||
|
|
|
@ -81,7 +81,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
|
|||
print "graph_vlabel Bytes\n";
|
||||
print "graph_category virtualization\n";
|
||||
print "graph_info This graph shows docker container memory usage.\n";
|
||||
|
||||
|
||||
foreach(@result)
|
||||
{
|
||||
print "$$_{'name'}.label $$_{'name'}\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue