Révision af4a386b
error correcting
| plugins/other/multi_http_responsetime | ||
|---|---|---|
| 11 | 11 |
# [multi_http_responsetime] |
| 12 | 12 |
# user root |
| 13 | 13 |
# Jo Hartmann (Version 08-0912) |
| 14 |
# |
|
| 15 |
# Now working under munin 1.4.5 |
|
| 16 |
# Jo Hartmann (Version 11-0426) |
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 14 | 20 |
|
| 15 | 21 |
use Sys::Hostname; |
| 16 | 22 |
use Time::HiRes qw( time ); |
| ... | ... | |
| 21 | 27 |
push(@url_array, "http://www.t-online.de"); |
| 22 | 28 |
push(@url_array, "http://www.telekom.de"); |
| 23 | 29 |
push(@url_array, "http://www.ebay.de"); |
| 24 |
push(@url_array, "http://www.tus-vahrenwald.de/verein/images");
|
|
| 30 |
push(@url_array, "http://www.tus-vahrenwald.de"); |
|
| 25 | 31 |
$host = "localhost"; |
| 26 | 32 |
$comment = "HTTP-Ladezeiten von Web-Seiten"; |
| 27 | 33 |
#$host = hostname; |
| ... | ... | |
| 80 | 86 |
print "yes\n"; |
| 81 | 87 |
} elsif ($ARGV[0] && $ARGV[0] eq "config") {
|
| 82 | 88 |
if ($comment) {
|
| 83 |
print "$comment\n"; |
|
| 89 |
print "graph_title $comment\n";
|
|
| 84 | 90 |
} else {
|
| 85 | 91 |
print "graph_title HTTP response time \n"; |
| 86 | 92 |
} |
Formats disponibles : Unified diff