[smokeping-users] Re: curl false positive...
Tobias Geiger
tobias.geiger at vido.info
Tue Nov 22 13:33:13 MET 2005
Thanks Lars!
extraargs = --fail
did the trick :)
Greetings
Tobias
Am Dienstag, 22. November 2005 13:12 schrieb Lars Thegler:
> 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
--
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