mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-01 22:03:57 +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
|
@ -1,7 +1,7 @@
|
|||
#! /usr/bin/perl
|
||||
# This plugin based on http_responestime designed by Anders Nordby
|
||||
#
|
||||
# It is written to control the quality of an internet conneting by
|
||||
# It is written to control the quality of an internet conneting by
|
||||
# downloading a favicon.ico file from a lot - unlimited - count of
|
||||
# domains.
|
||||
#
|
||||
|
@ -100,11 +100,11 @@ if ($ARGV[0] && $ARGV[0] eq "autoconf") {
|
|||
$vhost =~ s@^\w+://(.+?)/.*@\1@;
|
||||
$proto =~ s@^(\w+)://.*@\1@;
|
||||
|
||||
# If url_array[] is a domain, vhost will be contain the the strinf "http://"
|
||||
# If url_array[] is a domain, vhost will be contain the the strinf "http://"
|
||||
if($vhost =~ /http/) {
|
||||
print "timespent$i.label $vhost\n";
|
||||
} else {
|
||||
print "timespent$i.label $proto://$vhost\n";
|
||||
print "timespent$i.label $proto://$vhost\n";
|
||||
}
|
||||
|
||||
print "timespent$i.info Ladezeit von $url_array[$i]/favicon.ico\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue