[Xymon] red.html generation

IO Support support at ionetworkadmin.com
Thu Oct 27 19:17:32 CEST 2022


Thank you all for the detailed info.  I won't be modifying source code 
at this time.

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!

Thank You,
Kris Springer
Systems Admin
I/O Network Administration
support at ionetworkadmin.com
https://www.ionetworkadmin.com


On 10/27/22 10:41, John Thurston wrote:
>
> 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.
>
> Reading in source, it looks to me like this is triggered in 
> /xymongen.c/, as a special type of PAGE_NONGREEN (there, in line 664):
>
>     659         /* The full summary page - nongreen.html */
>     660         if (do_nongreen) {
>     661                 nongreen_color = 
> do_nongreen_page(nssidebarfilename, PAGE_NONGREEN, "nongreen");
>     662                 nongreencolors = (nongreencolors & ~(1 << 
> COL_YELLOW));
>     663                 nongreencolors = (nongreencolors & ~(1 << 
> COL_PURPLE));
>     664                 nongreen_color = 
> do_nongreen_page(nssidebarfilename, PAGE_NONGREEN, "red");
>     665                 add_timestamp("Non-green page generation done");
>     666         }
>
> and do_nongreen_page is defined in /pagegen.c/
>
>    1128 int do_nongreen_page(char *nssidebarfilename, int summarytype, 
> char *filenamebase)
>
> 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
>
> --
> Do things because you should, not just because you can.
>
> John Thurston    907-465-8591
> John.Thurston at alaska.gov
> Department of Administration
> State of Alaska
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20221027/bcd6c016/attachment.htm>


More information about the Xymon mailing list