Hello Craig,<br><br>Thanks, Work like a charm!<br><br>Best regards,<br><br>Mario.<br><br><br><div class="gmail_quote">On Tue, Jan 18, 2011 at 1:50 PM, Craig Whilding <span dir="ltr"><<a href="mailto:craig_whilding@mentor.com">craig_whilding@mentor.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  
    
  
  <div text="#000000" bgcolor="#ffffff"><div><div></div><div class="h5">
    On 18/01/11 15:45, Mario Andre Panza wrote:
    <blockquote type="cite"><br>
      <div class="gmail_quote">Hi All,<br>
        <br>
        Is there someone on the list that could share with me a working
        configuration of hobbitlaunch.cfg and hobbitserver.cfg for
        running hobbitd and bbproxy at the same host on different ports?<br>
        I´ve tried some configurations already described on the list but
        without success.<br>
        <br>
        Thanks in advance,<br>
        <font color="#888888"><br>
          Mario.<br>
           <br>
          <br>
          <br>
          <br>
        </font></div>
      <br>
    </blockquote></div></div>
    Try this -<br>
    <br>
    To forward using bbproxy you need to:<br>
    Add --listen=<a href="http://0.0.0.0:1985" target="_blank">0.0.0.0:1985</a> to [hobbitd] in your forwarding server's
    hobbitlaunch.cfg (port 1984 is now used by the proxy instead)<br>
    CMD hobbitd --listen=<a href="http://0.0.0.0:1985" target="_blank">0.0.0.0:1985</a>
    --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk \<br>
     --checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600
    --log=$BBSERVERLOGS/hobbitd.log \<br>
     --admin-senders=127.0.0.1,$BBSERVERIP --store-clientlogs=!msgs<br>
    <br>
    Enable [bbproxy] in your forwarding server's hobbitlaunch.cfg
    (remove DISABLED) and add the following to the CMD line<br>
    --bbdisplay=[mainServerIP]:1984,<a href="http://127.0.0.1:1985" target="_blank">127.0.0.1:1985</a> (NB:127.0.0.1 is last
    because the last variable points to the server that configures
    clients) to tell the proxy to forward requests to both servers<br>
    Add --listen=<a href="http://0.0.0.0:1984" target="_blank">0.0.0.0:1984</a> to make sure it listens for incoming
    messages on port 1984<br>
    <br>
    Change the BBPORT setting in hobbitserver.cfg to point at the 1985
    port. This setting is used e.g. by the web CGI's that talk to the
    hobbitd service, so it is required to point at that port and not the
    proxy. The display will not work locally if this is left at 1984<br>
    Add BBPORT=1984 to CMD sections of [bbnet] and [bbretest] sections
    in hobbitlaunch.cfg otherwise they will bypass the proxy using the
    new value of BBPORT inserted in hobbitserver.cfg.<br>
    #Example<br>
    CMD BBPORT=1984 bbtest-net --report --ping --checkresponse<br>
    <br>
    Restart Xymon<br>
    <br>
    Regards,<br>
    Craig<br>
  </div>

</blockquote></div><br>