mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-03 14:48:22 +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
|
@ -4,7 +4,7 @@
|
|||
|
||||
This plugin does http requests to specified URLs and takes the response time.
|
||||
Use it to monitor remote sites.
|
||||
|
||||
|
||||
LWP::UserAgent and Time::HiRes are required
|
||||
|
||||
=head1 CONFIGURATION
|
||||
|
@ -70,7 +70,7 @@ for (my $i = 1; $ENV{"url$i"}; $i++)
|
|||
my $proxy = $ENV{"url${i}_proxy"};
|
||||
my $name = $ENV{"url${i}_name"} || clean($url);
|
||||
my $label = $ENV{"url${i}_label"} || $url;
|
||||
|
||||
|
||||
$URLS{$name}={
|
||||
url=>$url,
|
||||
proxy=>$proxy,
|
||||
|
@ -161,7 +161,7 @@ foreach my $name (keys %URLS) {
|
|||
|
||||
if ($response->is_success) {
|
||||
$$url{'time'}=sprintf("%d",tv_interval($t1,$t2)*1000);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
print("multigraph http_request_time\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue