Xymon Mailing List Archive search

Hobbit does not replace &color with image

4 messages in this thread

list Thomas Krieger · Tue, 05 Jul 2005 11:54:56 +0000 ·
Hello,

I've found a problem with hobbit 4.0.4 including all available patches.

The script I'm talking of is written for  an old bb server with bbgen
2.16. I send the following to the server:

&green   item
&yellow  item
&red       item

BB produces the expected output and places a green (or yellow or red)
image in the generated html page. It replaces &green with the path and
filename of the green image.

Hobbit now behaves a litte bit strange. The &green is not replaced. No
image is shown in the html page. Btw. bbgen 3.5 shows the same stra´nge
behaviour.

Can anyone explain to me what's wrong. Or has something changed in
hobbit and bbgen?

Thanks

Thomas
list Henrik Størner · Tue, 5 Jul 2005 12:31:45 +0000 (UTC) ·
quoted from Thomas Krieger
In <user-421fa1615aca@xymon.invalid> "Thomas Krieger" <user-c0f684cc576f@xymon.invalid> writes:
I've found a problem with hobbit 4.0.4 including all available patches.
The script I'm talking of is written for  an old bb server with bbgen
2.16. I send the following to the server:
&green   item
&yellow  item
&red       item
BB produces the expected output and places a green (or yellow or red)
image in the generated html page. It replaces &green with the path and
filename of the green image.
Hobbit now behaves a litte bit strange. The &green is not replaced. No
image is shown in the html page. Btw. bbgen 3.5 shows the same stra�nge
behaviour.
Could you send me a dump of the status log showing this ? You'd get that
by doing
   ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.COLUMNNAME" >log.txt
Then mail me the log.txt file.

There's a known bug in Hobbit where it doesn't replace the "&color" text
when it's on the first line of the status report, which could be the case
as you describe it.


Regards,
Henrik
list Thomas Krieger · Tue, 05 Jul 2005 13:55:40 +0000 ·
Hello,

here's the requested output.

Bye

Thomas

Am 5.7.2005 schrieb "Henrik Storner" <user-ce4a2c883f75@xymon.invalid>:
quoted from Thomas Krieger
In <user-421fa1615aca@xymon.invalid> "Thomas Krieger" <user-c0f684cc576f@xymon.invalid> writes:
I've found a problem with hobbit 4.0.4 including all available patches.
The script I'm talking of is written for  an old bb server with bbgen
2.16. I send the following to the server:
&green   item
&yellow  item
&red       item
BB produces the expected output and places a green (or yellow or red)
image in the generated html page. It replaces &green with the path and
filename of the green image.
Hobbit now behaves a litte bit strange. The &green is not replaced. No
image is shown in the html page. Btw. bbgen 3.5 shows the same stra´nge
behaviour.
Could you send me a dump of the status log showing this ? You'd get that
by doing
  ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.COLUMNNAME" >log.txt
Then mail me the log.txt file.

There's a known bug in Hobbit where it doesn't replace the "&color" text
when it's on the first line of the status report, which could be the case
as you describe it.


Regards,
Henrik

Attachments (1)
list Henrik Størner · Tue, 5 Jul 2005 17:01:46 +0200 ·
quoted from Thomas Krieger
On Tue, Jul 05, 2005 at 01:55:40PM +0000, Thomas Krieger wrote:
Am 5.7.2005 schrieb "Henrik Storner" <user-ce4a2c883f75@xymon.invalid>:
Could you send me a dump of the status log showing this ? You'd get that
by doing
  ~hobbit/server/bin/bb 127.0.0.1 "hobbitdlog HOSTNAME.COLUMNNAME" >log.txt
Then mail me the log.txt file.

There's a known bug in Hobbit where it doesn't replace the "&color" text
when it's on the first line of the status report, which could be the case
as you describe it.
here's the requested output.
[snip]

OK, this does trigger the bug I mentioned - the entire status report is
one single line. This has been fixed for the 4.0.5 release, which will
be available shortly.


Regards,
Henrik