[hobbit] find host problem

Guillermo Castellini gcastellini at gmail.com
Fri Feb 23 18:54:21 CET 2007


John thanks a lot, i found the problem...
My webserver is HTTP://HOBBITSRV:8080 <http://HOBBITSRV:8080> (listen in
8080 port) but $BBWEBHOST show me HTTP://HOBBITSRV
<http://HOBBITSRV>(whithout 8080), i move my webserver to 80 port and
the problem go out !
I put the BBWEBHOST variable correctly
BBWEBHOST="http://$BBSERVERWWWNAME<http://$bbserverwwwname/>:8080"
and works fine !!!!

Thanks a lot !!!! - I am happy now :)


On 2/23/07, John Glowacki <johng at idttechnology.com> wrote:
>
> I have seen minor issue that sounds like what you are trying to describe.
>
> Starting URL.
> http://10.10.10.12/hobbit-cgi/bb-findhost.sh
>
> URL after search with "jump to page" unckecked. (works)
> http://10.10.10.12/hobbit-cgi/bb-findhost.sh?host=pymon01&SUB=Search
>
> URL after search with "jump to page" checked. (http host changed from ip
> to hostname, I think this is where your problem is)
> http://pymon02/hobbit//#pymon01
>
> URL after search with "jump to page" checked but with more than one host
> returned. (works)
> http://10.10.10.12/hobbit-cgi/bb-findhost.sh?host=mon&jump=on&SUB=Search
>
> I believe it has to do with the use of calling BBWEBHOST in the jump
> code. What is BBWEBHOST set to? Run bbcmd and echo $BBWEBHOST. Does that
> hostname exist? Or a better question might be is it resolvable from the
> system you are running your browser from?
>
> web/bb-findhost.c
>        if (dojump) {
>                if (gotany == 1) {
>                        printf("Location: %s%s\n\n",
> xgetenv("BBWEBHOST"), oneurl);
>                        return 0;
>                }
>                else if ((gotany > 1) && (gotonepage == OP_YES)) {
>                        printf("Location: %s%s/%s/\n\n",
>                               xgetenv("BBWEBHOST"), xgetenv("BBWEB"),
> onepage);
>                        return 0;
>                }
>        }
>
>
> John
>
>
>
> Guillermo Castellini wrote:
> > Nobody have this problem?
> >
> > On 2/19/07, Guillermo Castellini <gcastellini at gmail.com> wrote:
> >>
> >> This page can't be founded in the browser (jump active)....
> >>
> http://149.194.61.199:8080/hobbit-cgi/bb-findhost.sh?host=hobbitsrv&jump=on
> >>
> >>
> >>
> >> Works Great !
> >>
> >>
> http://149.194.61.199:8080/hobbit-cgi/bb-findhost.sh?host=hobbitsrv&SUB=Search
> >>
> >> Thanks a Lot !
> >>
> >> On 2/16/07, Henrik Stoerner <henrik at hswn.dk> wrote:
> >> >
> >> > On Fri, Feb 16, 2007 at 10:49:14AM -0300, Guillermo Castellini wrote:
> >> > > When i check "jump to page" in Admnistration Menu/Find Host, the
> >> > server
> >> > > can4t find  the generated page.
> >> > > If i remove "Jump to page" works great ! I try in serverals ways
> but
> >> > nothing
> >> > > resolve the problem....
> >> >
> >> > Could you show me both of the URL's that you end up with ? The one
> that
> >> > fails and the one that works ?
> >> >
> >> >
> >> > Regards,
> >> > Henrik
> >> >
> >> >
> >> > To unsubscribe from the hobbit list, send an e-mail to
> >> > hobbit-unsubscribe at hswn.dk
> >> >
> >> >
> >> >
> >>
> >
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070223/26c3da67/attachment.html>


More information about the Xymon mailing list