1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -119,7 +119,7 @@ my $cpuIdle = "1.3.6.1.4.1.2021.11.11";
my $cpu = 0;
my %cpuCounters = (
my %cpuCounters = (
cpuUser => "1.3.6.1.4.1.2021.11.9.$cpu", # The percentage of CPU time spent processing user-level code, calculated over the last minute
cpuSystem => "1.3.6.1.4.1.2021.11.10.$cpu", # The percentage of CPU time spent processing system-level code, calculated over the last minute
cpuIdle => "1.3.6.1.4.1.2021.11.11.$cpu", # The percentage of processor time spent idle, calculated over the last minute
@ -147,7 +147,7 @@ if ($ARGV[0] and $ARGV[0] eq "config")
foreach my $c (keys %cpuCounters) {
print $c . ".label $c\n";
print $c . ".type GAUGE\n";
if ($firstCounter) {
if ($firstCounter) {
print $c . ".draw AREA\n";
$firstCounter = 0;
} else {
@ -156,7 +156,7 @@ if ($ARGV[0] and $ARGV[0] eq "config")
print $c . ".min 0\n";
}
exit 0;
exit 0;
}
foreach my $c (keys %cpuCounters) {