Thanks for each answer I use http_tppnp.monitor www.redhat.com/@192.168.2.250:8080
And It's OK Thanks/merci AC --- Jon Meek <[EMAIL PROTECTED]> a écrit : > Here is the lastest version of http_tppnp.monitor. > It uses proxies, does > parallel tests, forces a fresh down load through > caches, and more. > > http_tp.monitor is quite old... > > Jon > > > On Wed, 8 Feb 2006, pingouin osmolateur wrote: > > > Hi every body > > > > I want to monitor Http server but I have to access > > through a proxy. I saw the http_tp.monitor but > It's > > not possible to specify the proxy port for me > 8080. > > > > Can I use the variable $http_proxy from bash > > environement ? > > > > Do you have an idea > > > > Thanks for yours answers > > AC > > > > > > > > > > > > > > > > > ___________________________________________________________________________ > > > Nouveau : téléphonez moins cher avec Yahoo! > Messenger ! Découvez les tarifs exceptionnels pour > appeler la France et l'international. > > Téléchargez sur http://fr.messenger.yahoo.com > > > > _______________________________________________ > > mon mailing list > > mon@linux.kernel.org > > http://linux.kernel.org/mailman/listinfo/mon > > > #!/usr/bin/perl > #!/usr/local/bin/perl > # > # Parallel http monitor, with timing, using separate > process for each request > # results are gathered using > a named pipe > # an optional "SmartAlarm" > capability is provided > # to classify alarms and/or > limit alarms when there > # are sporadic outages > # > # http_tppnp.monitor : http _ timing - proxy - > parallel - named pipe > # http _ t p p > np > # > # > # Jon Meek > # Lawrenceville, NJ > # [EMAIL PROTECTED] > # > # $Id: http_tppnp.monitor,v 1.13 2005/06/04 18:11:00 > meekj Exp $ > # > # Copyright (C) 2004, Jon Meek > # > # This program is free software; you can > redistribute it and/or modify > # it under the terms of the GNU General Public > License as published by > # the Free Software Foundation; either version 2 > of the License, or > # (at your option) any later version. > # > # This program is distributed in the hope that it > will be useful, > # but WITHOUT ANY WARRANTY; without even the > implied warranty of > # MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. See the > # GNU General Public License for more details. > # > # You should have received a copy of the GNU > General Public License > # along with this program; if not, write to the > Free Software > # Foundation, Inc., 59 Temple Place, Suite 330, > Boston, MA 02111-1307 USA > # > > =head1 NAME > > B<http_tppnp.monitor> - http/https server parallel > monitor for mon > > =head1 DESCRIPTION > > http/https server monitor for mon. Logs timing and > size results, can use a > proxy server. Each measurements is made using a > separate measurement process, > a central server is used to collect, process, and > log the results. > > An optional "SmartAlarm" capability is provided to > classify alarms > and/or limit alarms when there are sporadic outages > > =head1 SYNOPSIS > > B<http_tppnp.monitor> -l log_file_YYYYMM.log > [--servertimeout nn] [--clienttimeout nn] > [--responsealarmtime nn] [--randskew nn] [--okcodes > nnn,mmm,kkk] [--nocache] [--pipe pipename] > [--stripprotocol] [--smartalarm smartalarm.module] > [--sacfg smartalarm.cfg] [--smartalarmdir > /smartalarm/path] [--forcesmartalarm] [--d --debug] > [--debuglog file] [--v] host [host:/path_to_doc ...] > > The host list can be in any combination of the > following: > > webmail.mysite.com/index.html > http://webmail.mysite.com/ > test.mysite.com/~meekj/[EMAIL PROTECTED] > http://webmail.mysite.com:81/ > https://webmail.mysite.com/ > > http is the default if the protocol is not specified > > =head1 OPTIONS > > =over 5 > > =item B<-l log_file_template> or B<--log > log_file_template> > > /path/to/logs/internet_web_YYYYMM.log Current year & > month are substituted > for YYYYMM, that is the only possible template at > this time. The format of the > log file is: > > unix_time proxy protocol://host path bytes > response_time response_code > > If B<--stripprotocol> is specified then protocol:// > is not included. > The response_time is in seconds. If the response was > determined to be > a failure the time is reported as a negative number. > > =item B<-c> or B<--okcodes> > > Comma seperated list of acceptable http response > codes, 200 is the default > but must be explicitly included in the list if -c or > --okcodes is used. > > =item B<--nocache> > > Add 'Pragma: no-cache' and 'Cache-Control: > max-stale=0' headers to all > requests. In addition, check for Warning headers > which indicate that > the content was delivered from the cache anyway. > This seems to be > required when monitoring certain Web sites through > certain cache servers. > > =item B<--servertimeout N s> > > Wait this long before giving up the wait for > measurement results. If > you change this, be sure that it is at least > (clienttimeout + randskew + 5) seconds. Defaults to > 45 seconds. > > =item B<--clienttimeout N s> N s > > The maximum time each measurement process waits for > a response after > its request is made (timeout starts after randskew > time). Defaults to > 30 seconds. > > =item B<--responsealarmtime N s> or B<-T N s> > > Trigger an alarm if any response is greater than N > seconds. Defaults to a very large number, > effectively disabling > response time checks beyond the regular timeout. > > =item B<--randskew N s> > > Each measurement process will wait a random number > of seconds, up > to this maximum number before starting. Defaults to > 10 seconds. > > =item B<--stripprotocol> > > Strip {http, https, ftp}:// from the URL stored in > the logfile, for > backwards compatibility of log format. > > =item B<--smartalarm Full/path/or/NameOfSmartAlarm> > > For selecting the httpSmartAlarm module to filter > alarms and trigger > an alarm only if certain conditions are met. If the > full path is not > specified, then the smart alarm is expected to exist > in the ./mon.d > directory (or more precisely, in the same directory > as this > monitor). Note that .pm should not be included in > the module name, > however the monitor will strip it out if it is > included. > > The httpSmartAlarm module has the following > structure: > > package httpSmartAlarm; > # > # Module to provide "Smart Alarms" for > http_tppnp.monitor > # > > use Exporter(); > $VERSION = 0.02; > > @ISA = qw(Exporter); > @EXPORT = qw(CheckAlarm); > > sub CheckAlarm { > > my ($ConfigFile, %TestResult) = @_; > === message truncated === ___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com ___________________________________________________________________________ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon