[smokeping-users] Smokeping / Curl

Thorben Hemmler thorben at hemmler.net
Thu Mar 8 15:00:10 CET 2007


Dear Sirs!

I´ve a little problem with smokeping in combination with curl. 

Here is my configuration:

	System: FreeBSD
	Curl: curl-7.16.0
	Smokeping: smokeping-2.0.9
	Perl: perl-5.8.8

Thats my problem:

	The HTTP latency doesn´t work.


That may be the cause:

output smokeping--debug
--------------------------------------------------------------------------------
	Curl: forks 5, timeout for each target 101
	Curl: executing command list '/usr/local/bin/curl','-m','10','-o','/dev/null','-w','Time: %{time_total} DNS time:
%{time_namelookup} Redirect time: 	%{time_redirect}\n','http://www.mydomain.de'
	% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 39558    0 39558    0     0  2582k      0 --:--:-- --:--:-- --:--:-- 8995k
--------------------------------------------------------------------------------


when I start the script on the console I got this:

--------------------------------------------------------------------------------
[server:/]# /usr/local/bin/curl -m 10 -o /dev/null -w "Time: %{time_total} DNS time: %{time_namelookup} Redirect time:
%{time_redirect}\n" http://www.mydomain.de
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 22600    0 22600    0     0   239k      0 --:--:-- --:--:-- --:--:-- 4865k
Time: 0,092 DNS time: 0,001 Redirect time: 0,000

--------------------------------------------------------------------------------

In the smokeping debug following line is missing:

Time: 0,092 DNS time: 0,001 Redirect time: 0,000 

Is there anybody who could help me?
Have a nice day.

Best regards,
Thorben





More information about the smokeping-users mailing list