Xymon Mailing List Archive search

4.3.20 "description" tag in rss is now empty

3 messages in this thread

list John Thurston · Wed, 20 May 2015 13:24:26 -0800 ·
Under 4.3.17, my rss files contained things like:
  <item>
    <title>xymonj.state.ak.us (xymond)</title>
    <link>http://xymon.state.ak.us/xymon-cgi/svcstatus.sh?HOST=xymonj.state.ak.us&amp;SERVICE=xymond</link>;
<description>yellow</description>
Under 4.3.20, my rss files contain similar lines _except_ the last:
<description></description>
I'm trying to figure out why. Had I customized my rss feed somehow on 
4.3.17 and the customization was lost?
-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska
list John Thurston · Wed, 20 May 2015 13:55:15 -0800 ·
quoted from John Thurston
On 5/20/2015 1:24 PM, John Thurston wrote:
Under 4.3.17, my rss files contained things like:
  <item>
    <title>xymonj.state.ak.us (xymond)</title>

<link>http://xymon.state.ak.us/xymon-cgi/svcstatus.sh?HOST=xymonj.state.ak.us&amp;SERVICE=xymond</link>;

<description>yellow</description>
Under 4.3.20, my rss files contain similar lines _except_ the last:
<description></description>
I'm trying to figure out why. Had I customized my rss feed somehow on
4.3.17 and the customization was lost?
I think this may be related to a change in loaddata.c where a 
xymondboard command used to request the field "line1" and now does not. 
I base this on the footprints that one of the "description" tags used to be:
<description>yellow SSL Certificate Expiration:</description>
and the first line reported by my ext script on that client was:
"yellow SSL Certificate Expiration:"

I see a reference to this in http://sourceforge.net/p/xymon/code/7647/ 
"don't pull line1 in xymondboard, as it's not currently used"
how was it determined that it wasn't used?
quoted from John Thurston

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska
list Japheth Cleaver · Wed, 20 May 2015 15:31:40 -0700 ·
quoted from John Thurston
On Wed, May 20, 2015 2:55 pm, John Thurston wrote:
On 5/20/2015 1:24 PM, John Thurston wrote:
Under 4.3.17, my rss files contained things like:
  <item>
    <title>xymonj.state.ak.us (xymond)</title>

<link>http://xymon.state.ak.us/xymon-cgi/svcstatus.sh?HOST=xymonj.state.ak.us&amp;SERVICE=xymond</link>;

<description>yellow</description>
Under 4.3.20, my rss files contain similar lines _except_ the last:
<description></description>
I'm trying to figure out why. Had I customized my rss feed somehow on
4.3.17 and the customization was lost?
I think this may be related to a change in loaddata.c where a
xymondboard command used to request the field "line1" and now does not.
I base this on the footprints that one of the "description" tags used to
be:
<description>yellow SSL Certificate Expiration:</description>
and the first line reported by my ext script on that client was:
"yellow SSL Certificate Expiration:"

I see a reference to this in http://sourceforge.net/p/xymon/code/7647/
"don't pull line1 in xymondboard, as it's not currently used"
how was it determined that it wasn't used?
Sadly, it looks like I overlooked this.

I'd done a textual analysis within xymongen, but missed the read from
'shorttext' in the RSS generator. It is indeed used here (though not on
the main pages).

I'll be pushing a 4.3.21 shortly which includes this as a reversion.


Regards,

-jc