[smokeping-users] Downloading with Curl

Mostro Mostro mostro713 at gmail.com
Sat Oct 13 05:30:07 CEST 2007


Hello all,

I had my first introduction to Smokeping today. Very nice.. I still have a
lot to read though.

My main objective is to monitor the bandwidth (out-of-band) of three high
priority download servers.

Two of the servers require authentication and the third is open if you have
the direct path.

Anyway, I am able to download an 8MB test file from the two authenticated
servers but not the third server.

Curl is just downloading the header. From the command line Curl defaults to
downloading the entire file. From Smokeping it does not.

Here is my config:

** PROBES **

+Curl
binary = /usr/bin/curl
forks = 5
offset = 50%
step = 120
pings = 3
timeout = 60
urlformat = http://%host%/ # mandatory


** TARGETS **


## Authentication Required
+ SERVER1
menu = SERVER1
title = SERVER1
probe = Curl
host = xxx.xxx.xxx.xxx
urlformat = http://%host%/file.zip
extraargs = --user user:password


## NO Authentication Required
+ SERVER2
menu = SERVER2
title = SERVER2
probe = Curl
host = xxx.xxx.xxx.xxx
urlformat = http://%host%/file.zip





[ --nodaemon output]

Here you will notice the first round first site just grabs the header info.
The next site works as anticipated.

 % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0 8975k    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
0  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0 8975k    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
0  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0 8975k    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
0

  2 8975k    2  200k    0     0   277k      0  0:00:32 --:--:--  0:00:32
324k  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0 8975k    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
0
100 8975k  100 8975k    0     0   399k      0  0:00:22  0:00:22 --:--:--
454k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 8975k  100 8975k    0     0   346k      0  0:00:25  0:00:25 --:--:--
333k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 8975k  100 8975k    0     0   459k      0  0:00:19  0:00:19 --:--:--
456k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 8975k  100 8975k    0     0   297k      0  0:00:30  0:00:30 --:--:--
378k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 8975k  100 8975k    0     0   396k      0  0:00:22  0:00:22 --:--:--
350k
100 8975k  100 8975k    0     0   549k      0  0:00:16  0:00:16 --:--:--
753k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20071012/6e7108cb/attachment-0001.html 


More information about the smokeping-users mailing list