Xymon Mailing List Archive search

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

list Henrik Størner
Tue, 11 Jan 2011 14:44:29 +0000 (UTC)
Message-Id: <ighqcd$iok$user-e356fad9864f@xymon.invalid>

In <user-01749132f795@xymon.invalid> user-9c1ae820b621@xymon.invalid 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