Xymon custom colour (wallboard) page
list Sebastian Auriol
Hi, Is there an easier way to create a xymon page with a custom colour listing (while keeping the existing nongreen and red.html pages untouched) than adding the following to xymongen.c line 658 and recompiling? nongreencolors = (red,purple); nongreen_color = do_nongreen_page(nssidebarfilename, PAGE_NONGREEN, "wallboard"); * I'm not sure if this is the correct syntax for nongreencolors. I would also like to remove the info and trends column from this page to make a wallboard page, but if I used --nongreen-ignorecolumns=info,trends it would also affect the existing nongreen page that I don't want to be changed. Or is there a better alternative for creating an html wallboard type page? Kind regards, SebA
list Jeremy Laidman
▸
On Thu, Jun 2, 2016 at 10:51 PM SebA <user-4631430d620a@xymon.invalid> wrote:
Hi, Is there an easier way to create a xymon page with a custom colour listing (while keeping the existing nongreen and red.html pages untouched) than adding the following to xymongen.c line 658 and recompiling? nongreencolors = (red,purple); nongreen_color = do_nongreen_page(nssidebarfilename, PAGE_NONGREEN, "wallboard"); * I'm not sure if this is the correct syntax for nongreencolors. I would also like to remove the info and trends column from this page to make a wallboard page, but if I used --nongreen-ignorecolumns=info,trends it would also affect the existing nongreen page that I don't want to be changed. Or is there a better alternative for creating an html wallboard type page? Kind regards, SebA
Perhaps you could run a separate instance of xymongen (with whatever --nongreen parameters you want), and use the --templates and/or --pagesets options. J
list Sebastian Auriol
Yes, that did occur to me, although it seemed like a sledgehammer to crack a nut and I wasn't sure if that would increase the load on the server significantly. Kind regards, Sebastian
▸
From: Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid]
Sent: 07 July 2016 22:48
To: SebA; xymon at xymon.com
Subject: Re: [Xymon] Xymon custom colour (wallboard) page
On Thu, Jun 2, 2016 at 10:51 PM SebA <user-4631430d620a@xymon.invalid> wrote:
Hi,
Is there an easier way to create a xymon page with a custom colour listing
(while keeping the existing nongreen and red.html pages untouched) than
adding the following to xymongen.c line 658 and recompiling?
nongreencolors = (red,purple);
nongreen_color = do_nongreen_page(nssidebarfilename, PAGE_NONGREEN,
"wallboard");
* I'm not sure if this is the correct syntax for nongreencolors.
I would also like to remove the info and trends column from this page to
make a wallboard page, but if I used --nongreen-ignorecolumns=info,trends it
would also affect the existing nongreen page that I don't want to be
changed.
Or is there a better alternative for creating an html wallboard type page?
Kind regards,
SebA
Perhaps you could run a separate instance of xymongen (with whatever
--nongreen parameters you want), and use the --templates and/or --pagesets
options.
J