[Xymon] Footer/header and menu issue on html generated by CGI

Andrea Zampieri andreazampie at yahoo.it
Thu Apr 21 16:14:06 CEST 2011


Hi all,


I found in the archive the problem described below, but I can't found the 
solution.

Did someone found an work around to differentiated the CGI generation template 
by the xymon alternate pageset?

The final objective is to have some indipendent alternate pages for a different 
users. And keep the Xymon server security disabling/modifing the menu generated 
from the CGI.

N.B. I'm using Xymon version 4.2.3.

Thanks in advance
Andrea

-------------------------------------------------------------------------------------------------------------------------

Footer/header issue on html generated by CGINicolas LIENARD (For Hobbit) nico at 
crysto.org 
Thu Nov 27 17:58:20 CET 2008
	* Previous message: [hobbit] services just marked with "-" on some monitored 
hosts
	* Next message: Programs for monitoring JBOSS
	* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
________________________________
Hi,  To sum up, i want to change header/footer for a special view in hobbit.  
But I got an issue on the html pages generated by cgi *only*.  It works well for 
static html page.  For this, i created a new view which is using other 
footer/header:   [bbdisplay-newstyle]         ENVFILE 
/opt/hobbit/server/etc/hobbitserver-newstyle.cfg         ENVAREA COLTONLINE         
NEEDS hobbitd         GROUP generators         CMD bbgen $BBGENOPTS \                 
--pageset=newstyle \                 $BBHOME/www/newstyle-set/ \                 
--template=newstyle \                 --report  \                 
--report=NEWSTYLE \                 
--ignorecolumns=mem,fw,fwcons,netstat,insight,ssh,ftp,timediff,vmstat,msgs,update
 \                 --subpagecolumns=1          LOGFILE 
$BBSERVERLOGS/bb-newstyle.log          INTERVAL 1m   So, i modified 
~hobbit/server/web/newstyle_header and newstyle_footer.   -> that works fine.  
For the BODY, I modified hobbitserver-newstyle.cfg (MKBBACKFONT / MKBBCOLFONT / 
MKBBROWFONT / MKBBTITLE ).   --> that works fine.   My problem is when i m 
clicking on the ping check for instance:  
/hobbit-cgi/bb-hostsvc.sh?HOST=test-device&SERVICE=ping  The footer/header used 
are differents, hobbit is using :  ~hobbit/server/web/hostsvc_footer and header.  
So, i tried to see if in the shell script which call the cgi, there is some 
variables for footer/header  /cgi-bin/bb-hostsvc.sh  ------- . 
/opt/hobbit/server/etc/hobbitcgi-newstyle.cfg exec 
/opt/hobbit/server/bin/hobbitsvc.cgi $CGI_SVC_OPTS -------  I checked 
/opt/hobbit/server/etc/hobbitcgi.cfg default file, but there is nothing about 
footer/header.   So, my question is :  is there some hidden variables that i 
could add anywhere for linking differenty the footer/header of each CGI.  Any 
trick is welcome.  thanks !!!  Regards, nicolas liƩnard 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110421/64086a48/attachment.html>


More information about the Xymon mailing list