multiple hobbit server
list Ayish Alomari
hi, i have 2 hobbit servers , both on diffrent network. would like hobbit A monitored stuff to show up on hobbit B with out having the client of the stuff being monitored send data to both servers. ..can someone please help in explaning how if there is a way for it to be done. any hints will be greatly apreciated.
list Jason Altrincham Jones
bbproxy is your friend, ok lets call the main server hobbitA and the
soon-to-be proxy hobbitB.
Alter hobbitlaunch.cfg on hobbitB:
[hobbitd]
DISABLED
...
[bbproxy]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
CMD $BBHOME/bin/bbproxy --hobbitd
--bbdisplay=<hobbitAIP>,127.0.0.1 --listen=hobbitBIP --no-daemon
--pidfile=$BBSERVERLOGS/bbproxy.pid --report
LOGFILE $BBSERVERLOGS/bbproxy.log
Hobbit*IP - external IP address
Restart hobbit
Also you need to copy the bb-hosts file from hobbit to hobbitA (if you
have devmon remove these tags). Best thing to do, imo, is just copy it
across as bb-hosts(SITENAME) and put an include line in the bb-hosts
file on hobbitA, I don't suggest mounting hobbitB and sharing it that
way since if hobbitB goes down I don't know how hobbit reacts to a
non-extistent include statement.
On hobbitA alter hobbitserver.cfg:
BBLOCATION="String"
Restart hobbit
This way in the bb-hosts file if you put NET:String hobbit will know to
run ping tests from hobbitA. So if you leave the NET tag out of the
bb-hosts(SITENAME) hobbit will not ping them from hobbitA (though you do
have to add the NET tag to any existing bb-hosts on hobbitA).
However it is worth putting the NET tag in bb-hosts(SITENAME) for the
proxy server and all network hardware between your main server and proxy
(so if the proxy goes down you don't have to wait for everything to go
purple to find out).
There are probably other ways of doing this but this is our set-up and
it only uses about 10kbps max! It may require some trial and error to
get all the things you want running to work though.
You can also try re-enabling hobbitd and add the --listening=127.0.0.1
option if you want hobbit to have it's own web page.
See also: http://www.hswn.dk/hobbit/help/manpages/man8/bbproxy.8.html
Hope this helps,
Jason.
▸
-----Original Message-----
From: ayish alomari [mailto:user-accb295a8a62@xymon.invalid]
Sent: 01 February 2007 19:19
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] multiple hobbit server
hi, i have 2 hobbit servers , both on diffrent network. would like
hobbit A monitored stuff to show up on hobbit B with out having the
client of the stuff being monitored send data to both servers. ..can
someone please help in explaning how if there is a way for it to be
done. any hints will be greatly apreciated.
list Johann Eggers
▸
-----Original Message----- From: ayish alomari [mailto:user-accb295a8a62@xymon.invalid] Sent: Donnerstag, 1. Februar 2007 20:19 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] multiple hobbit server hi, i have 2 hobbit servers , both on diffrent network. would like hobbit A monitored stuff to show up on hobbit B with out having the client of the stuff being monitored send data to both servers. ..can someone please help in explaning how if there is a way for it to be done. any hints will be greatly apreciated.
I use the summary tag in the bb-hosts file to display the remote status of the other hobbit servers in every location... Don't know if this will really catch your problem... Johann
list Ayish Alomari
hey.. is it possible to post a sample from you bbhost.. if so that will be great.
▸
---- Johann Eggers <user-769b09132207@xymon.invalid> wrote: -----Original Message----- From: ayish alomari [mailto:user-accb295a8a62@xymon.invalid] Sent: Donnerstag, 1. Februar 2007 20:19 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] multiple hobbit serverhi, i have 2 hobbit servers , both on diffrent network. would like hobbitA monitored stuff to show up on hobbit B with out having the client of the stuff being monitored send data to both servers. ..can someone please help in explaning how if there is a way for it to be done. any hints will be greatly apreciated.I use the summary tag in the bb-hosts file to display the remote status of the other hobbit servers in every location...Don't know if this will really catch your problem... Johann
list Ayish Alomari
hey.. is it possible to post a sample from you bbhost.. if so that will be great. ---- Johann Eggers <user-769b09132207@xymon.invalid> wrote:
-----Original Message----- From: ayish alomari [mailto:user-accb295a8a62@xymon.invalid] Sent: Donnerstag, 1. Februar 2007 20:19 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] multiple hobbit serverhi, i have 2 hobbit servers , both on diffrent network. would like hobbitA monitored stuff to show up on hobbit B with out having the client of the stuff being monitored send data to both servers. ..can someone please help in explaning how if there is a way for it to be done. any hints will be greatly apreciated.I use the summary tag in the bb-hosts file to display the remote status of the other hobbit servers in every location...Don't know if this will really catch your problem... Johann
list Ryan Jay B. Lapuz
What is the right syntax for multiple hobbit server? (1) BBDISP="0.0.0.0" BBDISPLAYS="IP address1,IPaddress2" (2) BBDISP="0.0.0.0" BBDISPLAYS="IP address1" BBDISPLAYS="IP address2" Thanks in advance. Ryan
list Henrik Størner
On Thu, Jul 19, 2007 at 09:41:49PM +0800, Ryan Jay B. Lapuz wrote:
What is the right syntax for multiple hobbit server?
BBDISP="0.0.0.0" BBDISPLAYS="IP address1 IPaddress2" with a space to separate the two. Henrik
list Ryan Jay B. Lapuz
Thanks again sir.. ----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Thursday, July 19, 2007 9:55 PM Subject: Re: [hobbit] Multiple hobbit server
▸
On Thu, Jul 19, 2007 at 09:41:49PM +0800, Ryan Jay B. Lapuz wrote:What is the right syntax for multiple hobbit server?BBDISP="0.0.0.0" BBDISPLAYS="IP address1 IPaddress2" with a space to separate the two. Henrik