Xymon Mailing List Archive search

RSS option with critical view

2 messages in this thread

list Andy Farrior · Fri, 29 Jan 2016 15:38:31 -0600 ·
Thought I'd experiment with the XYMONGENOPTS "-rss" option today.

It's creating the RSS files for each page and the main, nongreen, and red status pages just fine; however, the critical.rss file doesn't match the critical view display.


The critical.rss file does match the critical.html file that's created.

So, in my case, critical.rss and critical.html both display "No Critical Alerts"

However, my /xymon-cgi/criticalview.sh lists the systems with issues.

What did I miss in the configuration?


Thx,
Andy


Andy Farrior
Director of Technology Services
Victoria College
2200 E Red River
Victoria, TX XXXXX
user-ca324d8ab782@xymon.invalid
Office: XXX.XXX.XXXX
Fax: XXX.XXX.XXXX
list Japheth Cleaver · Wed, 3 Feb 2016 14:20:33 -0800 ·
quoted from Andy Farrior

On Fri, January 29, 2016 1:38 pm, FARRIOR, Andy wrote:
Thought I'd experiment with the XYMONGENOPTS "-rss" option today.

It's creating the RSS files for each page and the main, nongreen, and red
status pages just fine; however, the critical.rss file doesn't match the
critical view display.


The critical.rss file does match the critical.html file that's created.

So, in my case, critical.rss and critical.html both display "No Critical
Alerts"

However, my /xymon-cgi/criticalview.sh lists the systems with issues.

What did I miss in the configuration?


Thx,
Andy

Hi Andy,

The criticalview.sh script was intended as a replacement for xymongen
hard-coded "critical" version, if I recall correctly. They're two
different functions, so rss will match the static .html file, alas.

I believe the "critical" from xymongen's perspective refers to alerting
only, with criticalview.sh as its own thing.

An .rss response to the criticalview.sh or a merging of the logic together
would probably be a good idea for the future, though.


HTH,
-jc