mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 22:25:23 +00:00
error correcting
This commit is contained in:
parent
364087556e
commit
af4a386b98
1 changed files with 8 additions and 2 deletions
|
@ -11,6 +11,12 @@
|
|||
# [multi_http_responsetime]
|
||||
# user root
|
||||
# Jo Hartmann (Version 08-0912)
|
||||
#
|
||||
# Now working under munin 1.4.5
|
||||
# Jo Hartmann (Version 11-0426)
|
||||
|
||||
|
||||
|
||||
|
||||
use Sys::Hostname;
|
||||
use Time::HiRes qw( time );
|
||||
|
@ -21,7 +27,7 @@ push(@url_array, "http://www.google.de");
|
|||
push(@url_array, "http://www.t-online.de");
|
||||
push(@url_array, "http://www.telekom.de");
|
||||
push(@url_array, "http://www.ebay.de");
|
||||
push(@url_array, "http://www.tus-vahrenwald.de/verein/images");
|
||||
push(@url_array, "http://www.tus-vahrenwald.de");
|
||||
$host = "localhost";
|
||||
$comment = "HTTP-Ladezeiten von Web-Seiten";
|
||||
#$host = hostname;
|
||||
|
@ -80,7 +86,7 @@ if ($ARGV[0] && $ARGV[0] eq "autoconf") {
|
|||
print "yes\n";
|
||||
} elsif ($ARGV[0] && $ARGV[0] eq "config") {
|
||||
if ($comment) {
|
||||
print "$comment\n";
|
||||
print "graph_title $comment\n";
|
||||
} else {
|
||||
print "graph_title HTTP response time \n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue