<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>

<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV>Someone have resolved this problem ?</DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>thanks,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Marco</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial"> </DIV>
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=jokketan@hotmail.com href="mailto:jokketan@hotmail.com">Jonathan van 
  liefde</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=hobbit@hswn.dk 
  href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, August 01, 2007 10:39 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [hobbit] alternate page 
  graphs custom menu</DIV>
  <DIV><BR></DIV>I had already tried the same thing but i don't succeed in 
  getting hobbit to show the alternate templates for the current graphs. 
  <BR><BR>Even when i add the --templates=/wherever/you/want directive to this 
  line in hobbitcgi.cnf ( i know this would change the main site also, it's just 
  a test )<BR><BR><SPAN style="FONT-STYLE: italic"># hobbitsvc.cgi options for a 
  normal (current) status 
  display<BR>CGI_SVC_OPTS="--env=/usr/lib/hobbit/server/etc/hobbitserver.cfg 
  --no-svcid --history=top"<BR><BR></SPAN><BR>I also tried adding another 
  variable ($ALT_OPTS) that i created myself in the .sh script that generates 
  the page and then adding it to the <SPAN 
  style="FONT-STYLE: italic"></SPAN>bb-hostsvc.sh like this:<BR><BR> <SPAN 
  style="FONT-STYLE: italic"><BR></SPAN><PRE>. /usr/local/hobbit/server/etc/hobbitcgi.cfg<BR><BR> exec /usr/local/hobbit/server/bin/hobbitsvc.cgi $CGI_SVC_OPTS $ALT_OPTS<BR><BR><BR>Which basically also does nothing...<BR><BR>Can anyone shed some light on this??? Seems like i am missing something obvious...<BR><BR>Thanks,<BR><BR>Jonathan Van Liefde<BR></PRE><SPAN 
  style="FONT-STYLE: italic"><BR></SPAN><BR><!--X-Body-of-Message-End--><!--X-MsgBody-End--><!--X-Follow-Ups-->
  <HR>
<!--X-Follow-Ups-End--><!--X-References-->
  <UL>
    <LI><STRONG>References</STRONG>: 
    <UL>
      <LI><STRONG><A href="http://www.hswn.dk/hobbiton/2007/07/msg00525.html" 
      name=00525>alternate page graphs custom menu</A></STRONG> 
      <UL>
        <LI><EM>From:</EM> Jonathan van liefde</LI></UL></LI></UL></LI></UL><!--X-References-End--><!--X-BotPNI-->
  <UL>
    <LI>Prev by Date: <STRONG><A 
    href="http://www.hswn.dk/hobbiton/2007/07/msg00527.html">Testing Hobbit 
    Client Log "IGNORE" filters</A></STRONG> 
    <LI>Next by Date: <STRONG><A 
    href="http://www.hswn.dk/hobbiton/2007/07/msg00528.html">RE: [hobbit] 
    Question</A></STRONG> 
    <LI>Previous by thread: <STRONG><A 
    href="http://www.hswn.dk/hobbiton/2007/07/msg00525.html">alternate page 
    graphs custom menu</A></STRONG> 
    <LI>Next by thread: <STRONG><A 
    href="http://www.hswn.dk/hobbiton/2007/07/msg00523.html">Question about 
    hobbit alert acknowledgement, delay of next alert time</A></STRONG> 
    <LI>Index(es): 
    <UL>
      <LI><A 
      href="http://www.hswn.dk/hobbiton/2007/07/index.html#00526"><STRONG>Date</STRONG></A>
      <LI><A 
      href="http://www.hswn.dk/hobbiton/2007/07/threads.html#00526"><STRONG>Thread</STRONG></A></LI></UL></LI></UL><BR><BR><BR>
  <UL>
    <LI><EM>To</EM>: <hobbit (at) hswn.dk>
    <LI><EM>Subject</EM>: RE: [hobbit] alternate page graphs custom menu
    <LI><EM>From</EM>: "Tom Moore" <Tom.Moore (at) sas.com>
    <LI><EM>Date</EM>: Mon, 30 Jul 2007 16:42:04 -0400
    <LI><EM>References</EM>: <BAY139-W17B66F209315AF69B9FFAAD4EE0 (at) 
    phx.gbl>
    <LI><EM>Thread-index</EM>: AcfS6INBn1czzAgURTOpkFRYPh5mBAAAJ72Q
    <LI><EM>Thread-topic</EM>: [hobbit] alternate page graphs custom 
menu</LI></UL><!--X-Head-of-Message-End--><!--X-Head-Body-Sep-Begin-->
  <HR>
<!--X-Head-Body-Sep-End--><!--X-Body-of-Message--><PRE>That's exactly the problem I am having and posted to the list a few weeks ago.  It seems that the actual cgi scripts that run when you click on an item use the default header sets, rather than the ones specified by your --templates or --pageset settings with bbgen.  The first page on the pageset does use the custom_header and custom_footer files, but if you click on an item like "cpu", it runs a cgi script which generates a new page using the default templates instead of your custom ones.<BR><BR> <BR><BR>For example, most of the items call "bb-hostsvc.sh". which is just a wrapper that takes arguments and runs<BR><BR> <BR><BR>. /usr/local/hobbit/server/etc/hobbitcgi.cfg<BR><BR> exec /usr/local/hobbit/server/bin/hobbitsvc.cgi $CGI_SVC_OPTS<BR><BR> <BR><BR> <BR><BR>Now, optimally you should be able to put a custom $CGI_SVC_OPTS definition in whatever script generates your alternate pages, such that<BR><BR> <BR><BR>CGI_SVC_OPTS=--templates=/whatever/directory/with/your/new/templatefiles<BR><BR> <BR><BR>Unfortunately, even this doesn't seem to work.  The key is to get your custom sub-pages to use custom templates for the graph pages and such that are dynamically generated by the CGI files.<BR><BR> <BR><BR> <BR><BR> <BR><BR>From: Jonathan van liefde [<A href="mailto:jokketan" rel=nofollow>mailto:jokketan</A> (at) hotmail.com] <BR>Sent: Monday, July 30, 2007 1:40 PM<BR>To: hobbit (at) hswn.dk<BR>Subject: [hobbit] alternate page graphs custom menu<BR><BR> <BR><BR>Hi,<BR><BR>My problem is the following:<BR><BR>We are using the monitoring tool for a helpdesk, every member of the helpdesk has full access to every hobbit page.<BR>Local guys should have access to a limited area of the hobbit page.<BR>So i have build an alternate page set with all different sections and restricted access with a .htaccess file. This alternate page set uses a different set of headers and footers (without the menu) to prevent local guys from wandering off.<BR>But when they look at for example the conn graph for a given host, hobbit uses the bb_header and bb_footer which still has the menu in it.<BR>Is there any way to tell hobbit to use the alternate page set header and footer for the graphs of a host when they are accessed through the alternate page set?<BR><BR>Thanks for your help,<BR><BR>Jonathan Van Liefde.<BR><BR>________________________________<BR><BR>het ultieme online mailprogramma! Ontdek Windows Live Hotmail, <<A href="http://get.live.com/mail/overview" rel=nofollow>http://get.live.com/mail/overview</A>> <BR><BR></PRE><!--X-Body-of-Message-End--><!--X-MsgBody-End--><!--X-Follow-Ups-->
  <HR>
<!--X-Follow-Ups-End--><!--X-References-->
  <UL>
    <LI><STRONG>References</STRONG>: 
    <UL>
      <LI><STRONG><A href="http://www.hswn.dk/hobbiton/2007/07/msg00525.html" 
      name=00525>alternate page graphs custom menu</A></STRONG> 
      <UL>
        <LI><EM>From:</EM> Jonathan van liefde</LI></UL></LI></UL></LI></UL><!--X-References-End--><!--X-BotPNI-->
  <UL>
    <LI>Prev by Date: <STRONG><A 
    href="http://www.hswn.dk/hobbiton/2007/07/msg00527.html">Testing Hobbit 
    Client Log "IGNORE" filters</A></STRONG> 
    <LI>Next by Date: <STRONG><A 
    href="http://www.hswn.dk/hobbiton/2007/07/msg00528.html">RE: [hobbit] 
    Question</A></STRONG> 
    <LI>Previous by thread: <STRONG><A 
    href="http://www.hswn.dk/hobbiton/2007/07/msg00525.html">alternate page 
    graphs custom menu</A></STRONG> 
    <LI>Next by thread: <STRONG><A 
    href="http://www.hswn.dk/hobbiton/2007/07/msg00523.html">Question about 
    hobbit alert acknowledgement, delay of next alert time</A></STRONG> 
    <LI>Index(es): 
    <UL>
      <LI><A 
      href="http://www.hswn.dk/hobbiton/2007/07/index.html#00526"><STRONG>Date</STRONG></A>
      <LI><A 
      href="http://www.hswn.dk/hobbiton/2007/07/threads.html#00526"><STRONG>Thread</STRONG></A></LI></UL></LI></UL><BR>
  <HR>
  het ultieme online mailprogramma! <A href="http://get.live.com/mail/overview" 
  target=_new>Ontdek Windows Live Hotmail,</A> </BLOCKQUOTE></BODY></HTML>