Xymon Mailing List Archive search

Xymon custom colour (wallboard) page

3 messages in this thread

list Sebastian Auriol · Thu, 2 Jun 2016 13:51:09 +0100 ·
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 · Thu, 07 Jul 2016 21:47:33 +0000 ·
quoted from Sebastian Auriol
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 · Thu, 7 Jul 2016 23:56:10 +0100 ·
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  
quoted from Jeremy Laidman


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