Xymon Mailing List Archive search

&JSHOSTLIST in maint_header

4 messages in this thread

list Carl Melgaard · Tue, 2 Aug 2011 11:53:21 +0200 ·
Hi,

I noticed this line in the 4.3.4 maint_header file, which gives a javascript error when I use the "bb-hosts-1.3cgi"-script from cnaude.mdns.org. Is it used for anything?

/melgaard
list Henrik Størner · Tue, 02 Aug 2011 12:19:44 +0200 ·
quoted from Carl Melgaard
I noticed this line in the 4.3.4 maint_header file, which gives a
javascript error when I use the ”bb-hosts-1.3cgi”-script from
cnaude.mdns.org. Is it used for anything?
&JSHOSTLIST and lots of other tags like that are replaced with various HTML code by the Xymon CGI scripts. This particular tag is replaced with a javascript-compatible list of hosts.

What are you trying to do by mixing Xymon web template files with non-Xymon utilities ?


Regards,
Henrik
list Carl Melgaard · Tue, 2 Aug 2011 12:26:31 +0200 ·
Hi,
quoted from Henrik Størner
&JSHOSTLIST and lots of other tags like that are replaced with various HTML code by the Xymon CGI scripts. This particular tag is replaced with a javascript-compatible list of hosts.
What are you trying to do by mixing Xymon web template files with non-Xymon utilities ?
Was trying to setup "bb-hosts-1.3.cgi" (used for editing hosts.cfg via a browser, from https://cnaude.mdns.org/xymon-scripts/) - guess I have to look within the script then. Thanks.

/melgaard
list Carl Melgaard · Tue, 2 Aug 2011 12:46:57 +0200 ·
Hi,

Found the culprit in bb-hosts-1.3.cgi:

my $xymon_header = "$xymon_home/web/editcfg_header"; # Change this if needed.
my $xymon_footer = "$xymon_home/web/editcfg_footer"; # Change this if needed.

- needed to change this to some custom header/footers.

/melgaard
quoted from Carl Melgaard

-----Oprindelig meddelelse-----
Fra: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] På vegne af Carl Melgaard
Sendt: 2. august 2011 12:27
Til: 'xymon at xymon.com'
Emne: Re: [Xymon] &JSHOSTLIST in maint_header

Hi,
&JSHOSTLIST and lots of other tags like that are replaced with various HTML code by the Xymon CGI scripts. This particular tag is replaced with a javascript-compatible list of hosts.
What are you trying to do by mixing Xymon web template files with non-Xymon utilities ?
Was trying to setup "bb-hosts-1.3.cgi" (used for editing hosts.cfg via a browser, from https://cnaude.mdns.org/xymon-scripts/) - guess I have to look within the script then. Thanks.

/melgaard