From af4a386b9864b285bcc28b0652cd0b014c4d283d Mon Sep 17 00:00:00 2001 From: Jo Hartmann Date: Thu, 28 Apr 2011 10:11:42 +0200 Subject: [PATCH] error correcting --- plugins/other/multi_http_responsetime | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/other/multi_http_responsetime b/plugins/other/multi_http_responsetime index c670db34..c5b0664a 100755 --- a/plugins/other/multi_http_responsetime +++ b/plugins/other/multi_http_responsetime @@ -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"; }