Xymon Mailing List Archive search

Xymon custom colour (wallboard) page

list Jeremy Laidman
Thu, 07 Jul 2016 21:47:33 +0000
Message-Id: <user-d1e34f0bc5c9@xymon.invalid>

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