[smokeping-users] Re: curl false positive...

Lars Thegler lars at thegler.dk
Tue Nov 22 13:12:03 MET 2005


Tobias Geiger wrote:
> 	urlformat = http://%host%/shop_content.php
> 
> it works perfect. (shop_content.php i a valid url)
> 
> but when i change the "urlformat" to an invalid url, eg.: 
> 
> http://%host%/shop_content.ph (note the missing p at the end)
> smokeping draws the graph as if this were a valid url.
> 
> What am i doing wrong?

You are not doing anything wrong. You are just still timing the response 
from the server, now probably a '404 File not found' reposnse instead of 
a '200 OK' response. You might want to investigate the curl '--fail' 
option if this is not to your liking.

/Lars

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list