[xymon] TS - Is there a way to make the notes page go to a new window?

Henrik Størner henrik at hswn.dk
Tue Jan 11 15:44:29 CET 2011


In <CFA4B465FB062247B1CEF61B53D3C64704CE72 at SLXCG02.csw.l-3com.com> d.tom.schmitt at L-3com.com writes:

>I am running 4.3.0-0.beta2
>There is not xymonserver.cfg file
>There is a hobbitserver.cfg file

Oh, sorry - didn't notice that.

>There is not XYMONGENOPTS=3D option but there is a BBGENOPTS=3D option

BBGENOPTS is the right one in beta2
>When I add the --doc-window to that line, all of the links for the hosts
>are broken.

Well, I must admit I haven't tested that recently....

That is a bug. In the beta2 sources, edit the file bbdisplay/bbgen.c. 
Search for "--doc-window". There should be a few lines like these:

    else if (argnmatch(argv[i], "--doc-window")) {
        setdocurl("TARGET=\"_blank\"");
    }

Change the "setdocurl" to "setdoctarget", i.e.
        setdoctarget("TARGET=\"_blank\"");

Recompile and copy the new bbdisplay/bbgen binary into your Xymon
installation. The "--doc-window" option should now work as intended.

I'll commit an update to the Sourceforge repository for 4.3.0.


Regards,
Henrik




More information about the Xymon mailing list