mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41: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
|
@ -157,15 +157,15 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||
print "graph_vlabel Executors\n";
|
||||
print "graph_info The Graph shows the Jenkins Executors\n";
|
||||
print "executors_offline.label offline\n";
|
||||
print "executors_offline.type GAUGE\n";
|
||||
print "executors_offline.type GAUGE\n";
|
||||
print "executors_offline.draw AREA\n";
|
||||
print "executors_offline.colour 8A8A8A\n";
|
||||
print "executors_offline.colour 8A8A8A\n";
|
||||
print "executors_busy.label busy\n";
|
||||
print "executors_busy.type GAUGE\n";
|
||||
print "executors_busy.type GAUGE\n";
|
||||
print "executors_busy.draw STACK\n";
|
||||
print "executors_idle.label idle\n";
|
||||
print "executors_idle.type GAUGE\n";
|
||||
print "executors_idle.draw STACK\n";
|
||||
print "executors_idle.type GAUGE\n";
|
||||
print "executors_idle.draw STACK\n";
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@ -249,8 +249,8 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||
}
|
||||
|
||||
if( $type eq "executors" ) {
|
||||
my $busyExecutors = $parsed->{'busyExecutors'};
|
||||
my $totalExecutors = 0;
|
||||
my $busyExecutors = $parsed->{'busyExecutors'};
|
||||
my $totalExecutors = 0;
|
||||
my $offlineExecutors = 0;
|
||||
foreach my $cur(@{$parsed->{'computer'}}) {
|
||||
$totalExecutors += $cur->{'numExecutors'};
|
||||
|
@ -258,9 +258,9 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||
$offlineExecutors += $cur->{'numExecutors'};
|
||||
}
|
||||
}
|
||||
print "executors_idle.value ", ($totalExecutors - $busyExecutors - $offlineExecutors), "\n";
|
||||
print "executors_busy.value $busyExecutors\n";
|
||||
print "executors_offline.value $offlineExecutors\n";
|
||||
print "executors_idle.value ", ($totalExecutors - $busyExecutors - $offlineExecutors), "\n";
|
||||
print "executors_busy.value $busyExecutors\n";
|
||||
print "executors_offline.value $offlineExecutors\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue