Xymon Mailing List Archive search

find host problem

8 messages in this thread

list Guillermo Castellini · Fri, 16 Feb 2007 10:49:14 -0300 ·
When i check "jump to page" in Admnistration Menu/Find Host, the server
can´t find  the generated page.
If i remove "Jump to page" works great ! I try in serverals ways but nothing
resolve the problem....
I have solaris 10 sparc and hobbit 4.2.0. Can somebody help me? THANKS A LOT
!!!!
list Henrik Størner · Fri, 16 Feb 2007 17:49:40 +0100 ·
quoted from Guillermo Castellini
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
can´t 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
list Guillermo Castellini · Mon, 19 Feb 2007 10:58:40 -0300 ·
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 !!
quoted from Henrik Størner

On 2/16/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> 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
can´t 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

list Guillermo Castellini · Mon, 19 Feb 2007 11:00:02 -0300 ·
This page can't be founded in the browser (jump active)....
quoted from Guillermo Castellini
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 <user-ce4a2c883f75@xymon.invalid> 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
can´t 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

list Guillermo Castellini · Fri, 23 Feb 2007 11:15:31 -0300 ·
Nobody have this problem?
quoted from Guillermo Castellini

On 2/19/07, Guillermo Castellini <user-00680cb9d11a@xymon.invalid> 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 <user-ce4a2c883f75@xymon.invalid> 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
can´t 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

list Steve Holmes · Fri, 23 Feb 2007 10:36:15 -0500 ·
Guillermo,
I am running Solaris 10 and Hobbit 4.2 and do not have that problem. Have
you looked in the logs to see if there are errors? Can you try running the
bb-findhost.sh in the command line to see what the output is?

Steve.
quoted from Guillermo Castellini


On 2/23/07, Guillermo Castellini <user-00680cb9d11a@xymon.invalid> wrote:
Nobody have this problem?

On 2/19/07, Guillermo Castellini <user-00680cb9d11a@xymon.invalid> 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 <user-ce4a2c883f75@xymon.invalid> 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
can´t 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

-- 

I believe I found the missing link between animal and civilized man. It is
us. -Konrad Lorenz, ethologist, Nobel laureate (1903-1989)

We in America do not have government by the majority. We have government by
the majority who participate. -Thomas Jefferson, third US president,
architect and author (1743-1826)
list John Glowacki · Fri, 23 Feb 2007 12:18:17 -0500 ·
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
quoted from Guillermo Castellini


Guillermo Castellini wrote:
Nobody have this problem?

On 2/19/07, Guillermo Castellini <user-00680cb9d11a@xymon.invalid> 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 <user-ce4a2c883f75@xymon.invalid> 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.
quoted from Steve Holmes
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

list Guillermo Castellini · Fri, 23 Feb 2007 14:54:21 -0300 ·
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 :)
quoted from John Glowacki


On 2/23/07, John Glowacki <user-a1361bcdf988@xymon.invalid> 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 <user-00680cb9d11a@xymon.invalid> 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 <user-ce4a2c883f75@xymon.invalid> 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