[xymon] lib/url.c patch for '/http' malformed url?

Henrik Størner henrik at hswn.dk
Sat Oct 9 08:17:34 CEST 2010


In <201010081646.33845.viorel at athabascau.ca> Viorel Tabara <viorel at athabascau.ca> writes:

>Obviously it's not the ":" and I wish I would've searched the mailing list
>earlier ;)

>    # /usr/libexec/hobbit/server/bin/bbtest-net
>    2010-10-08 14:31:38 Malformed URL - no 'scheme:' in 'http-proxy-tcp'
>    2010-10-08 14:31:38 Invalid URL for http test - ignored:
>    cont=postgresql;http://my.athabascau.ca/http-proxy-tcp;0
>   
>Changed that to:
>    cont=postgresql;http://my.athabascau.ca/tohack;0
>and it works well.

Sorry, I need a bit more context with this. The test-spec you've
posted:
    cont=postgresql;http://my.athabascau.ca/http-proxy-tcp;0
works fine, and would not hit the problem discussed in the mail
you referenced. I just ran it on my test box:

$ bbcmd bbhostgrep "cont=pos*"
172.16.10.193 testhost # cont=postgresql;http://my.athabascau.ca/http-proxy-tcp
$ bbcmd bbtest-net --noping winxptest --no-update
combo
status+30 winxptest.http clear Sat Oct  9 08:10:42 2010: OK

&clear http://my.athabascau.ca/http-proxy-tcp - failed

HTTP/1.1 404 /http-proxy-tcp
Date: Sat, 09 Oct 2010 06:10:42 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 983
Connection: close

Seconds:     0.39


>Do you have any plans to release an update?

Not until I know what the problem is you're having.


Regards,
Henrik




More information about the Xymon mailing list