Xymon Mailing List Archive search

Viewing bb2.rss with Firefox livebook mark

5 messages in this thread

list John Glowacki · Tue, 23 May 2006 17:57:14 -0400 ·
Using Firefox 1.0.7 to view bb2.rss seems to have stopped working when I upgraded to 4.2. I am running a snapshot from 04-25-06. I tried Firefox 1.5 and that didn't work either. AKregator is able to read in the alerts OK for bb2.rss. I just added --rss to my 4.1.2 production server and it works. I don't see anything obviously wrong with the format of the .rss files. Can anyone confirm this behavior with Firefox and 4.2?

hobbitlaunch.cfg:
CMD bbgen $BBGENOPTS --report --rss --max-eventtime=1440

I tried --rssversion={0.91|0.92|1.0|2.0} but none of the versions seems to work.

Thanks,
John
list John Glowacki · Fri, 02 Jun 2006 10:05:47 -0400 ·
I found why this is failing. It is missing "http://hobbitserver/";. It works if I change the <link> lines from this:
<link>/hobbit-cgi/bb-hostsvc.sh?HOST=servername&amp;SERVICE=msgs</link>

to this:
<link>http://hobbitservername/hobbit-cgi/bb-hostsvc.sh?HOST=servername&amp;SERVICE=msgs</link>;

I created a patch. I hope I did this right. Anyway it seems to work for me.

John
quoted from John Glowacki

John Glowacki wrote:
Using Firefox 1.0.7 to view bb2.rss seems to have stopped working when I upgraded to 4.2. I am running a snapshot from 04-25-06. I tried Firefox 1.5 and that didn't work either. AKregator is able to read in the alerts OK for bb2.rss. I just added --rss to my 4.1.2 production server and it works. I don't see anything obviously wrong with the format of the .rss files. Can anyone confirm this behavior with Firefox and 4.2?

hobbitlaunch.cfg:
CMD bbgen $BBGENOPTS --report --rss --max-eventtime=1440

I tried --rssversion={0.91|0.92|1.0|2.0} but none of the versions seems to work.
list Henrik Størner · Fri, 2 Jun 2006 17:18:00 +0200 ·
quoted from John Glowacki
On Fri, Jun 02, 2006 at 10:05:47AM -0400, John Glowacki wrote:
I found why this is failing. It is missing "http://hobbitserver/";. It 
works if I change the <link> lines from this:
<link>/hobbit-cgi/bb-hostsvc.sh?HOST=servername&amp;SERVICE=msgs</link>

to this:
<link>http://hobbitservername/hobbit-cgi/bb-hostsvc.sh?HOST=servername&amp;SERVICE=msgs</link>;

I created a patch. I hope I did this right. Anyway it seems to work for me.
Looks fine. I'll put this in.


Regards,
Henrik
list John Glowacki · Tue, 06 Jun 2006 13:33:08 -0400 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Fri, Jun 02, 2006 at 10:05:47AM -0400, John Glowacki wrote:
I found why this is failing. It is missing "http://hobbitserver/";. It works if I change the <link> lines from this:
<link>/hobbit-cgi/bb-hostsvc.sh?HOST=servername&amp;SERVICE=msgs</link>

to this:
<link>http://hobbitservername/hobbit-cgi/bb-hostsvc.sh?HOST=servername&amp;SERVICE=msgs</link>;

I created a patch. I hope I did this right. Anyway it seems to work for me.

Looks fine. I'll put this in.


Regards,
Henrik
Henrik,

In hobbit-4.2-beta-20060605 the <link> is set to use BBWEB. That is not working right. BBWEBHOST works.

sh-3.00# diff rssgen.c.old rssgen.c
145c145
<               fprintf(fd, "%s%s", xgetenv("BBWEB"), hostsvcurl(h->hostname, e->column->name, 1));
---
              fprintf(fd, "%s%s", xgetenv("BBWEBHOST"), hostsvcurl(h->hostname, e->column->name, 1));
Thanks,
John
list Henrik Størner · Wed, 7 Jun 2006 09:29:23 +0200 ·
quoted from John Glowacki
On Tue, Jun 06, 2006 at 01:33:08PM -0400, John Glowacki wrote:
In hobbit-4.2-beta-20060605 the <link> is set to use BBWEB. That is not working right. BBWEBHOST works.
Sorry 'bout that - fixed now.


Thanks,
Henrik