Xymon Mailing List Archive search

4.3.0.0-Beta 2 (BUG)

3 messages in this thread

list Michael S. Fisher · Wed, 29 Apr 2009 15:13:51 -0700 ·

There seems to be a bug in the 4.3 Beta 2 release of xymon

When clicking on the trends column, the NEW features at the top allow for
showing trends during a time interval (2 days, 12 days, etc..)

When clicking on the link, In my case (2 Days), the result is a Blank White
page with (No Such Host)

Upon researching, the url is

http://XYMONSERVER/xymon-cgi/bb-hostsvc.sh?HOST=xymonserver&SERVICE=trends&backdays=2&backhours=&backmins=&backsecs=&FROMTIME=&TOTIME=

The url SHOULD be

http://XYMONSERVER/xymon-cgi/bb-hostsvc.sh?HOST=xymonserver.contoso.local&SERVICE=trends&backdays=2&backhours=&backmins=&backsecs=&FROMTIME=&TOTIME=

The difference is in the HOST= attribute....The BUG is that it does NOT use
the FQDN as stated in  bb-hosts but that of the NETBIOS name...

I dont have a host for XYMONSERVER but i DO have a host for
XYMONSERVER.CONTOSO.LOCAL

Henrick...is this truly a bug or is it just me....

THANKS!
list Dominique Frise · Thu, 30 Apr 2009 08:25:25 +0200 ·
quoted from Michael S. Fisher
user-ab09d151b26b@xymon.invalid wrote:
There seems to be a bug in the 4.3 Beta 2 release of xymon

When clicking on the trends column, the NEW features at the top allow for showing trends during a time interval (2 days, 12 days, etc..)

When clicking on the link, In my case (2 Days), the result is a Blank White page with (No Such Host)

Upon researching, the url is

http://XYMONSERVER/xymon-cgi/bb-hostsvc.sh?HOST=xymonserver&SERVICE=trends&backdays=2&backhours=&backmins=&backsecs=&FROMTIME=&TOTIME= <http://XYMONSERVER/xymon-cgi/bb-hostsvc.sh?HOST=xymonserver&SERVICE=trends&backdays=2&backhours=&backmins=&backsecs=&FROMTIME=&TOTIME=>;

The url SHOULD be

http://XYMONSERVER/xymon-cgi/bb-hostsvc.sh?HOST=xymonserver.contoso.local&SERVICE=trends&backdays=2&backhours=&backmins=&backsecs=&FROMTIME=&TOTIME= <http://XYMONSERVER/xymon-cgi/bb-hostsvc.sh?HOST=xymonserver.contoso.local&SERVICE=trends&backdays=2&backhours=&backmins=&backsecs=&FROMTIME=&TOTIME=>;

The difference is in the HOST= attribute....The BUG is that it does NOT use the FQDN as stated in bb-hosts but that of the NETBIOS name...

I dont have a host for XYMONSERVER but i DO have a host for XYMONSERVER.CONTOSO.LOCAL

Henrick...is this truly a bug or is it just me....

THANKS!
Edit ~xymon/server/web/trends_form and try replacing the variable "&BBHOST" by "&BBHKEY"

[bb at iris web]$ diff trends_form trends_form.dist
12c12
<           <INPUT TYPE="HIDDEN" NAME="HOST" VALUE="&BBHIKEY">
---
          <INPUT TYPE="HIDDEN" NAME="HOST" VALUE="&BBHOST">

Dominique
list Michael S. Fisher · Thu, 30 Apr 2009 08:35:03 -0700 ·
quoted from Dominique Frise
Edit ~xymon/server/web/trends_form and try replacing the variable
"&BBHOST" by "&BBHKEY"

[bb at iris web]$ diff trends_form trends_form.dist
12c12
<           <INPUT TYPE="HIDDEN" NAME="HOST" VALUE="&BBHIKEY">
---
          <INPUT TYPE="HIDDEN" NAME="HOST" VALUE="&BBHOST">

WORKED LIKE A CHARM!

I thought it was compiled into hobbitsvc.cgi

Thanks Dominique!