Xymon Mailing List Archive search

xymongen - add static text to a page?

2 messages in this thread

list John Thurston · Fri, 15 Sep 2017 08:30:56 -0800 ·
Is there a way to insert additional static text on a specific page generated by xymongen?

I've found the the --pagetext-headings option for xymongen. This puts the page/sub-page description at the top of the page. That's not waht I need.

What I'm after is kind of like the COMMENT option in hosts.cfg for hosts, but I want something for pages.
COMMENT:Host comment
    Adds a small text after the hostname on the web page.
The TITLE option in hosts.cfg also comes close, but agai, isn't right.


-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska
list John Thurston · Fri, 15 Sep 2017 09:38:47 -0800 ·
quoted from John Thurston
On 9/15/2017 8:30 AM, John Thurston wrote:
Is there a way to insert additional static text on a specific page
generated by xymongen?
. . .
What I'm after is kind of like the COMMENT option in hosts.cfg for
hosts, but I want something for pages.
COMMENT:Host comment
    Adds a small text after the hostname on the web page.
The TITLE option in hosts.cfg also comes close, but again, isn't right.
Hah! It _was_ the TITLE option I was after.

By specifying a TITLE for a GROUP, the text appears above the group. By defining a title for the first group on a page, I get static text at the top of my page. I knew there must be a way to twist xymon around to get what I wanted :)
quoted from John Thurston

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska