I just want to close the series of mail I've sent yesterday. The problem
is now clearly identify and is coming from the echoping binary.

Just take a look on that:
/usr/local/bin/echoping -h / -n 20 www.zdf.de   
getaddrinfo error for host: www.zdf.de Name or service not known

Yet if I lunch the following command:
/usr/local/bin/echoping -h / -n 20 www.zdf.de:80
it works very fine.

So, the smokeping config file, in my case, for the EchoPingHttp
probe has to contain the following informations:
+++++ HTTP

menu = HTTP
title = HTTP
probe = EchoPingHttp
host = www.zdf.de
++++++ PROBE_CONF
port = 80

without this:
++++++ PROBE_CONF
port = 80

it won't work because the command line build by smokeping is:
/usr/local/bin/echoping -h / -n 20 www.zdf.de

with it smokeping force the command line to:
/usr/local/bin/echoping -h / -n 20 www.zdf.de:80

All this has been seen with a ./somkeping --debug:
first case:
[EMAIL PROTECTED] bin]$ ./smokeping --debug
### fping seems to report in 1 miliseconds
Launched successfully
FPing: probing 4 targets
EchoPingSmtp: probing 0 targets
EchoPingHttp: probing 1 targets
EchoPingHttps: probing 0 targets
EchoPingHttp: forks 5, rounds 1, timeout 300
EchoPingHttp: executing cmd /usr/local/bin/echoping -h / -n 20 www.zdf.de
EchoPingHttp: www.zdf.de: got 

second case:
[EMAIL PROTECTED] bin]$ ./smokeping --debug
### fping seems to report in 1 miliseconds
Launched successfully
FPing: probing 4 targets
EchoPingSmtp: probing 0 targets
EchoPingHttp: probing 1 targets
EchoPingHttps: probing 0 targets
EchoPingHttp: forks 5, rounds 1, timeout 300
EchoPingHttp: executing cmd /usr/local/bin/echoping -h / -n 20 www.zdf.de:80
EchoPingHttp: www.zdf.de: got 0.038356 0.038370 0.038505 0.038543 0.038567 
0.038590 0.038678 0.038696 0.038731 0.038740 0.038799 0.038924 0.038936 
0.039048 0.039125 0.039860 0.040390 0.041240 0.057137 0.100337


Freddy.

-- 
Freddy Frouin
Responsable Supervision
British Telecom / Fluxus
30, rue du Château des Rentiers
75013 Paris

Tél: +33 (0)1 44 97 70 00
Fax: +33 (0)1 44 97 70 07

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to