Couple of things to note.. I am using pagesets and this setup is to be
able to extract via rss only certain tests per hosts.
As someone had posted a couple of years ago, I modified bbgen.c so that
if pagesets were enabled, it would still create rss. This seems to work
good except that I also need to be able to display disabled status.
changed if (pageset || embedded || snapshot) enable_wmlgen = 0;
to if (pageset || embedded || snapshot) enable_wmlgen = wantrss = 0;
I made the above mentioned change and created a new bbgen binary and use
this to create the pages like this:
BBWEB="/hobbit/HelpDesk" $BBHOME/ext/hd_bbgen \
--rss --rsslimit=blue --pageset=hd --template=hd\
$BBHOME/www/HelpDesk/
Now for a sub group that has a disabled test, it shows green in it's
rss. I have a network sub group in a 'net' directory, so the following
is created:
$BBHOME/www/HelpDesk/net/net.rss
Not a programmer, but played a bit with the rssgen.c code and disabled
this:
// if (h->color < rsscolorlimit) return;
The disabled test was then displayed on the 'net.rss' file, however it
showed the actual result of the test, and not the blue (disabled)
status, ie, a red condition.
Hope someone understands this and is able to help. I can clarify more
if needed... TIA...
Bill Richardson wrote: I was just trying to get useful data out of rss and it seems like this
feature is only working on the bb2.rss and the last page in a tree. I
don't know if --rsslimit=blue is supported? See my emails below. I
wonder if your rss setup works normally. IE if you look at your bb.rss
and you have something red under a subpage will it propagate up to the
bb.rss ? Mine always stays Green.
From: Bill Richardson
Sent: Monday, August 24, 2009 10:02 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] RSS not working in Xymon 4.3.0-0.beta2
I just tried this on a new test install of Xymon 4.3.0 beta2 and see the
same thing. Bug?
Here is my BBGENOPTS in the hobbitconfig.sh
BBGENOPTS="--recentgifs --pagetext-headings --rss --subpagecolumns=3"
From: Bill Richardson [mailto:user-47ee0335f310@xymon.invalid]
Sent: Monday, August 24, 2009 9:33 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] RSS not working in Xymon 4.3.0-0.beta2
I upgraded to 4.3 beta2 a few months about and have turned on the --rss
feed option. I see the bb and bb2.rss files are created as well as all
subpage/subparent rss files. What I'm seeing is the bb.rss file and all
subpages show "No Critical Alerts" even when I have RED alerts.
The only rss files that are working are the bb2.rss and and
supbage/subparent that is at the bottom of the page tree.
Is anyone else having the same issue?
-----Original Message-----
From: Ricardo Stella [mailto:user-a9f2fdfdbc44@xymon.invalid]
Sent: Monday, August 31, 2009 12:49 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] RSS display disabled hosts
Hello,
Trying to create some rss pages that I wish to display offline status.
I added --rsslimit=blue however the status displayed on the rss file is
the actual status of the test.
For example if I have a test that would display red, but I disabled the
host completely, the rss status shows the red condition. Also, If the
host is green, but I disabled the host, the rss status shows green (no
critical alerts).
Any ideas on how to go around this? TIA.