[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Hobbitd and bbproxy at the same host
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Hobbitd and bbproxy at the same host
- From: Mario Andre Panza <rower.master (at) gmail.com>
- Date: Tue, 18 Jan 2011 14:17:04 -0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=umwZk9zcjNGQFx6UB6w5pdobXFVUNOYoCA4dNkTRmyc=; b=D/R5nOwSGVztZTk6TrGdn3BtHFBnYp8sFyLt2SqEy8SXrpeqP6mHAexy7EbI3/4f9C RekmnD7NNcy+0Gnitf3jLxEchutQluv/mlO25V/fgs0JyAPE/C9IGurQ3TZysVA4at45 DL3SUrF4JV2ptaXKdumJ0y6MGWAUzMS0ogiKs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hDLiibJtknRRnfh357YSPAjY7EInKAuYzSqCnj7tNMP7LgXaVik8vaYI4QlJMOAF4s 0unrIrBEh1ZC8hZrXuj31Ls+zUTugKjnVs8Zbvt/JzNAkZvWE6RVVuIbKCGOncLQe0ZB HFjuROWfCDZRlESqB1lGp98+ZUN/PY1rKWCw4=
- References: <AANLkTinUShKeMGuax6+yvX8zQGwhGEpnhj=mmNrDyai_ (at) mail.gmail.com> <4D35B6D5.9000907 (at) mentor.com>
Hello Craig,
Thanks, Work like a charm!
Best regards,
Mario.
On Tue, Jan 18, 2011 at 1:50 PM, Craig Whilding
<craig_whilding (at) mentor.com>wrote:
> On 18/01/11 15:45, Mario Andre Panza wrote:
>
>
> Hi All,
>
> 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?
> I´ve tried some configurations already described on the list but without
> success.
>
> Thanks in advance,
>
> Mario.
>
>
>
>
>
> Try this -
>
> To forward using bbproxy you need to:
> Add --listen=0.0.0.0:1985 to [hobbitd] in your forwarding server's
> hobbitlaunch.cfg (port 1984 is now used by the proxy instead)
> CMD hobbitd --listen=0.0.0.0:1985 --pidfile=$BBSERVERLOGS/hobbitd.pid
> --restart=$BBTMP/hobbitd.chk \
> --checkpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600
> --log=$BBSERVERLOGS/hobbitd.log \
> --admin-senders=127.0.0.1,$BBSERVERIP --store-clientlogs=!msgs
>
> Enable [bbproxy] in your forwarding server's hobbitlaunch.cfg (remove
> DISABLED) and add the following to the CMD line
> --bbdisplay=[mainServerIP]:1984,127.0.0.1:1985 (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
> Add --listen=0.0.0.0:1984 to make sure it listens for incoming messages on
> port 1984
>
> 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
> 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.
> #Example
> CMD BBPORT=1984 bbtest-net --report --ping --checkresponse
>
> Restart Xymon
>
> Regards,
> Craig
>