Xymon Mailing List Archive search

&JSHOSTLIST in maint_header

list Carl Melgaard
Tue, 2 Aug 2011 12:46:57 +0200
Message-Id: <user-7289ef193f8e@xymon.invalid>

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

-----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