<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
To those interested in my end result, I created a cron file that
runs 'sed' commands to strip out what I don't want from the red.html
file. Not the cleanest way to accomplish my desired result, but it
beats recompiling. :-)<br>
<br>
<pre class="moz-signature" cols="72">Thank You,
Kris Springer
Systems Admin
I/O Network Administration
<a class="moz-txt-link-abbreviated" href="mailto:support@ionetworkadmin.com">support@ionetworkadmin.com</a>
<a class="moz-txt-link-freetext" href="https://www.ionetworkadmin.com">https://www.ionetworkadmin.com</a>
</pre>
<div class="moz-cite-prefix">On 10/27/22 11:17, IO Support wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f75f5194-c500-14e6-fb30-19ed2c2df7e8@ionetworkadmin.com">
Thank you all for the detailed info. I won't be modifying source
code at this time. <br>
<br>
I've got a distributed environment with Xymon Servers running in
small offices and VM networks. The built-in pages that get
generated are functional, but I'm monitoring all those remote
Xymon systems with a master system that essentially rolls
everything up to one clean screen. It works but I was trying to
strip the red.html page down even further. I have an alternate
idea I'll pursue that should give the result I'm after. Thanks
guys!<br>
<br>
<pre class="moz-signature" cols="72">Thank You,
Kris Springer
Systems Admin
I/O Network Administration
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:support@ionetworkadmin.com" moz-do-not-send="true">support@ionetworkadmin.com</a>
<a class="moz-txt-link-freetext" href="https://www.ionetworkadmin.com" moz-do-not-send="true">https://www.ionetworkadmin.com</a>
</pre>
<div class="moz-cite-prefix">On 10/27/22 10:41, John Thurston
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ca8e0553-2a43-5bda-9d5b-8ca78c49d869@alaska.gov">
<p>Crikey, I didn't even know there was a specifically-named
red.html page . . and I've been poking at xymon/bb for a
couple of decades. I guess that shows how often I look in that
directory.<br>
</p>
<p>Reading in source, it looks to me like this is triggered in <i>xymongen.c</i>,
as a special type of PAGE_NONGREEN (there, in line 664):<br>
</p>
<p> 659 /* The full summary page - nongreen.html */<br>
660 if (do_nongreen) {<br>
661 nongreen_color =
do_nongreen_page(nssidebarfilename, PAGE_NONGREEN,
"nongreen");<br>
662 nongreencolors = (nongreencolors &
~(1 << COL_YELLOW));<br>
663 nongreencolors = (nongreencolors &
~(1 << COL_PURPLE));<br>
664 nongreen_color =
do_nongreen_page(nssidebarfilename, PAGE_NONGREEN, "red");<br>
665 add_timestamp("Non-green page
generation done");<br>
666 }</p>
<p>and do_nongreen_page is defined in <i>pagegen.c</i><br>
</p>
<p> 1128 int do_nongreen_page(char *nssidebarfilename, int
summarytype, char *filenamebase)<br>
</p>
<p>So if you don't want this page to be generated, you're going
to have to modify xymongen. And it appears that red.html is
going to be controlled by exactly the same things which
control nongreen.html<br>
</p>
<pre class="moz-signature" cols="72">--
Do things because you should, not just because you can.
John Thurston 907-465-8591
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:John.Thurston@alaska.gov" moz-do-not-send="true">John.Thurston@alaska.gov</a>
Department of Administration
State of Alaska</pre>
<br>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:Xymon@xymon.com" moz-do-not-send="true">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon" moz-do-not-send="true">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
</body>
</html>