Xymon Mailing List Archive search

Xymon -- Page Refresh

list Japheth Cleaver
Mon, 8 Apr 2013 22:43:15 -0000 (UTC)
Message-Id: <user-b03b81a88cb5@xymon.invalid>

I'm not sure if it's documented, but you can create special headers for
specific pages. xymongen checks in sequence, working its way back up a
page/subpage hierarchy even, before using the 'web/stdnormal_header'.

For a subpage of foo/bar/meh:

open("/usr/share/xymon/server/web/foo_bar_meh_header", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/xymon/server/web/foo_bar_header", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/xymon/server/web/foo_header", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/xymon/server/web/stdnormal_header", O_RDONLY) = 4

HTH,
-jc

Hi Larry

Yes, I was having a look at that, but that affects all the pages, as you
said it is a template so that is then something I should about as the
change will affect to every single setup...

many thanks


On 05/04/2013 15:40, Larry Barber wrote:
The refresh interval is set in the templates in the $XYMONHOME/web
directory:

 <META HTTP-EQUIV="REFRESH" CONTENT="60">

Since there are templates (often just symlinks) for just about every
page type you could change (or remove) the refresh interval base on
page type.

Thanks,
Larry Barber


On Fri, Apr 5, 2013 at 3:18 AM, Gonzalo Fernandez Ordas
<user-5e10259081b2@xymon.invalid <mailto:user-5e10259081b2@xymon.invalid>> wrote:

    Hi

    I am having a look at the possibility of changing the REFRESH for
    the webpages, or to disable it!!! as 60 seconds for some webpages
    it is too little when you got a big bunch of graphs, but changing
    and hard-coding the template will impact on all the other pages as
    well.
    I also could not find the actual variable and I did not know where
    to change it but hard-coding.. (Unless this has been compiled in
    the cgi files..)

    Any thoughts around this at all?

    Many thanks for all your help.

    Gonzalo.