Henrik,
I would like to set up a bbproxy. To do this I've copied the compiled hobbit running on Fedora to another machine running fedora too. I've changed hobbitlaunch.cfg only with
[hobbitd] HEARTBEAT ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD hobbitd --listen=127.0.0.1 --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
[bbproxy] ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=127.0.0.1,172.20.19.13--report=$MACHINE.bbproxy --no-daemon --pidfile =$BBSERVERLOGS/bbproxy.pid LOGFILE $BBSERVERLOGS/bbproxy.log
[bbnet] ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD bbtest-net --report --ping --checkresponse LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
[bbretest] ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD $BBHOME/ext/bbretest-net.sh LOGFILE $BBSERVERLOGS/bb-retest.log INTERVAL 1m
I've changed in hobbitserver.cfg --> BBSERVERIP="127.0.0.1"
Do I have to change more things in hobbitserver.cfg?
If i want to use the bbtest-net , I will need to define in a bb-hosts file as the same in the hobbit server?
when I start hobbit.sh , my server starts listening on 1984 but some core files appears.
Thanks in advance,
Mario.
hi,
I've commented the hobbitd on hobbitlaunch.cfg and the bbproxy starts to work, but I need some help with fine tunning in the size of packets the bbproxy sends to server, ??it's possible? When I started bbproxy the machine starts using a lot of bandwith sending info to the server? Is this right?
Thanks in advance,
Mario.
On 8/29/06, mario andre <rower.master at gmail.com> wrote:
Henrik,
I would like to set up a bbproxy. To do this I've copied the compiled hobbit running on Fedora to another machine running fedora too. I've changed hobbitlaunch.cfg only with
[hobbitd] HEARTBEAT ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD hobbitd --listen=127.0.0.1 --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
[bbproxy] ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=127.0.0.1, 172.20.19.13 --report=$MACHINE.bbproxy --no-daemon --pidfile =$BBSERVERLOGS/bbproxy.pid LOGFILE $BBSERVERLOGS/bbproxy.log
[bbnet] ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD bbtest-net --report --ping --checkresponse LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
[bbretest] ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD $BBHOME/ext/bbretest-net.sh LOGFILE $BBSERVERLOGS/bb-retest.log INTERVAL 1m
I've changed in hobbitserver.cfg --> BBSERVERIP="127.0.0.1"
Do I have to change more things in hobbitserver.cfg?
If i want to use the bbtest-net , I will need to define in a bb-hosts file as the same in the hobbit server?
when I start hobbit.sh , my server starts listening on 1984 but some core files appears.
Thanks in advance,
Mario.
On Tue, Aug 29, 2006 at 12:25:28PM -0300, mario andre wrote:
I would like to set up a bbproxy. To do this I've copied the compiled hobbit running on Fedora to another machine running fedora too. I've changed hobbitlaunch.cfg only with
[hobbitd] HEARTBEAT ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD hobbitd --listen=127.0.0.1 --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
If you're running bbproxy, you should not be running the hobbitd task. The [hobbitd] task runs ONLY on the real Hobbit server - not on proxy servers, network testers, clients or any other box.
[bbproxy] ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=127.0.0.1,172.20.19.13--report=$MACHINE.bbproxy --no-daemon --pidfile =$BBSERVERLOGS/bbproxy.pid LOGFILE $BBSERVERLOGS/bbproxy.log
WHAT ? You're telling bbproxy to feed messages to itself ?? Oh dear ... don't do that. Remove that 127.0.0.1 from the --bbdisplay option.
I've changed in hobbitserver.cfg --> BBSERVERIP="127.0.0.1"
That's ok.
If i want to use the bbtest-net , I will need to define in a bb-hosts file as the same in the hobbit server?
bbtest-net needs a bb-hosts file, yes - that's where it gets the network tests it should run.
when I start hobbit.sh , my server starts listening on 1984 but some core files appears.
Do get rid of that 127.0.0.1 address.
Henrik
Thanks,
Henrik. It's working fine and with hobbit 4.2.0 :-)
Regards,
Mario.
On 8/29/06, Henrik Stoerner <henrik at hswn.dk> wrote:
On Tue, Aug 29, 2006 at 12:25:28PM -0300, mario andre wrote:
I would like to set up a bbproxy. To do this I've copied the compiled hobbit running on Fedora to another machine running fedora too. I've changed hobbitlaunch.cfg only with
[hobbitd] HEARTBEAT ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD hobbitd --listen=127.0.0.1--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
If you're running bbproxy, you should not be running the hobbitd task. The [hobbitd] task runs ONLY on the real Hobbit server - not on proxy servers, network testers, clients or any other box.
[bbproxy] ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=127.0.0.1,172.20.19.13--report=$MACHINE.bbproxy --no-daemon --pidfile =$BBSERVERLOGS/bbproxy.pid LOGFILE $BBSERVERLOGS/bbproxy.log
WHAT ? You're telling bbproxy to feed messages to itself ?? Oh dear ... don't do that. Remove that 127.0.0.1 from the --bbdisplay option.
I've changed in hobbitserver.cfg --> BBSERVERIP="127.0.0.1"
That's ok.
If i want to use the bbtest-net , I will need to define in a bb-hosts file as the same in the hobbit server?
bbtest-net needs a bb-hosts file, yes - that's where it gets the network tests it should run.
when I start hobbit.sh , my server starts listening on 1984 but some core files appears.
Do get rid of that 127.0.0.1 address.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Tuesday 29 August 2006 22:15, Henrik Stoerner wrote:
On Tue, Aug 29, 2006 at 12:25:28PM -0300, mario andre wrote:
I would like to set up a bbproxy. To do this I've copied the compiled hobbit running on Fedora to another machine running fedora too. I've changed hobbitlaunch.cfg only with
[hobbitd] HEARTBEAT ENVFILE /home/bbmon/server/etc/hobbitserver.cfg CMD hobbitd --listen=127.0.0.1 --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
If you're running bbproxy, you should not be running the hobbitd task. The [hobbitd] task runs ONLY on the real Hobbit server - not on proxy servers, network testers, clients or any other box.
Hmm, if that's the case, why does hobbitlaunch.cfg have:
[bbnet] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD bbtest-net --report --ping --checkresponse LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
Should the "NEEDS hobbitd" be removed?
In my case, I want to use one "monitoring" server in a network as proxy and network tester, and I wouldn't mind having a display on it too (eg, in the DR site).
Regards, Buchan
-- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
On Wed, Aug 30, 2006 at 09:59:55AM +0200, Buchan Milne wrote:
On Tuesday 29 August 2006 22:15, Henrik Stoerner wrote:
If you're running bbproxy, you should not be running the hobbitd task. The [hobbitd] task runs ONLY on the real Hobbit server - not on proxy servers, network testers, clients or any other box.
Hmm, if that's the case, why does hobbitlaunch.cfg have:
[bbnet] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD bbtest-net --report --ping --checkresponse LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
Should the "NEEDS hobbitd" be removed?
Yes, or replaced with "NEEDS bbproxy".
In my case, I want to use one "monitoring" server in a network as proxy and network tester, and I wouldn't mind having a display on it too (eg, in the DR site).
Then you must setup the hobbitd process to listen on a separate IP (e.g. 127.0.0.1) so it doesn't conflict with bbproxy listening on the same port.
Regards, Henrik
If I delay or disable a host.service on one of the display server (thru gui or email) will bbproxy be able to tell the other display server about it?
On 8/30/06, Henrik Stoerner <henrik at hswn.dk> wrote:
On Wed, Aug 30, 2006 at 09:59:55AM +0200, Buchan Milne wrote:
On Tuesday 29 August 2006 22:15, Henrik Stoerner wrote:
If you're running bbproxy, you should not be running the hobbitd task. The [hobbitd] task runs ONLY on the real Hobbit server - not on proxy servers, network testers, clients or any other box.
Hmm, if that's the case, why does hobbitlaunch.cfg have:
[bbnet] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD bbtest-net --report --ping --checkresponse LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
Should the "NEEDS hobbitd" be removed?
Yes, or replaced with "NEEDS bbproxy".
In my case, I want to use one "monitoring" server in a network as proxy and network tester, and I wouldn't mind having a display on it too (eg, in the DR site).
Then you must setup the hobbitd process to listen on a separate IP (e.g. 127.0.0.1) so it doesn't conflict with bbproxy listening on the same port.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
On Wed, Aug 30, 2006 at 04:17:39AM -0400, Asif Iqbal wrote:
If I delay or disable a host.service on one of the display server (thru gui or email) will bbproxy be able to tell the other display server about it?
Yes, *if* the tool you use to generate the enable/disable message is configured to send the status via bbproxy (i.e. it has the correct BBDISP or BBDISPLAYS settings).
It might be a better idea to just have the enable/disable tools send directly to each of your hobbit servers, if possible.
Regards, Henrik
On Wednesday 30 August 2006 10:04, Henrik Stoerner wrote:
On Wed, Aug 30, 2006 at 09:59:55AM +0200, Buchan Milne wrote:
On Tuesday 29 August 2006 22:15, Henrik Stoerner wrote:
If you're running bbproxy, you should not be running the hobbitd task. The [hobbitd] task runs ONLY on the real Hobbit server - not on proxy servers, network testers, clients or any other box.
Hmm, if that's the case, why does hobbitlaunch.cfg have:
[bbnet] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD bbtest-net --report --ping --checkresponse LOGFILE $BBSERVERLOGS/bb-network.log INTERVAL 5m
Should the "NEEDS hobbitd" be removed?
Yes, or replaced with "NEEDS bbproxy".
In my case, I want to use one "monitoring" server in a network as proxy and network tester, and I wouldn't mind having a display on it too (eg, in the DR site).
Then you must setup the hobbitd process to listen on a separate IP (e.g. 127.0.0.1) so it doesn't conflict with bbproxy listening on the same port.
I was running hobbitd on a different port, with bbproxy sending to the local hobbitd as well as the one on the main display:
[hobbitd] HEARTBEAT ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk --chec kpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log -- admin-senders=127.0.0.1,$BBSERVERIP --listen=0.0.0.0:1985
[bbproxy] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=127.0.0.1:1985,10.10.9.32:1984 --report=$MACHINE.bbproxy --pidfile=$BBSERVERLOGS/bbproxy.pid
But then bbgen on the proxy complains: hobbitd status-board not available
And the display on the proxy has no hosts at all (just pages, all-green).
Regards, Buchan
-- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
Buchan - please don't cc me on mails that you send to the list. I hate seeing double when scanning my inbox.
On Wed, Aug 30, 2006 at 10:49:09AM +0200, Buchan Milne wrote:
I was running hobbitd on a different port, with bbproxy sending to the local hobbitd as well as the one on the main display:
[hobbitd] HEARTBEAT ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk --chec kpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log -- admin-senders=127.0.0.1,$BBSERVERIP --listen=0.0.0.0:1985
[bbproxy] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=127.0.0.1:1985,10.10.9.32:1984 --report=$MACHINE.bbproxy --pidfile=$BBSERVERLOGS/bbproxy.pid
But then bbgen on the proxy complains: hobbitd status-board not available
And the display on the proxy has no hosts at all (just pages, all-green).
You need to tell bbgen that hobbitd is on port 1985. In hobbitserver.cfg, change BBPORT to 1985 and BBDISP to 127.0.0.1.
Regards, Henrik
On Wednesday 30 August 2006 11:29, Henrik Stoerner wrote:
On Wed, Aug 30, 2006 at 10:49:09AM +0200, Buchan Milne wrote:
I was running hobbitd on a different port, with bbproxy sending to the local hobbitd as well as the one on the main display:
[hobbitd] HEARTBEAT ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg CMD hobbitd --pidfile=$BBSERVERLOGS/hobbitd.pid --restart=$BBTMP/hobbitd.chk --chec kpoint-file=$BBTMP/hobbitd.chk --checkpoint-interval=600 --log=$BBSERVERLOGS/hobbitd.log -- admin-senders=127.0.0.1,$BBSERVERIP --listen=0.0.0.0:1985
[bbproxy] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=127.0.0.1:1985,10.10.9.32:1984 --report=$MACHINE.bbproxy --pidfile=$BBSERVERLOGS/bbproxy.pid
But then bbgen on the proxy complains: hobbitd status-board not available
And the display on the proxy has no hosts at all (just pages, all-green).
You need to tell bbgen that hobbitd is on port 1985. In hobbitserver.cfg, change BBPORT to 1985 and BBDISP to 127.0.0.1.
Right, that fixes that issue, but then I end up with some data which goes via this server ending up only on it, and some only on the main display. So, running on different ports is probably not an option.
The reason I was doing it is that the server running bbproxy and network tests is multi-homed (5 VLANs), so it can test hosts on firewalled VLANs, and it seems that --listen does not allow multiple IPs. It's either all (0.0.0.0) or
- So, it seems there is currently no way to have bbroxy and hobbitd running on the same port, with hobbitd listening on more than one IP.
It would be nice if this could be enhanced (so --listen could take a list of IPs).
Regards, Buchan
-- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
Hi friends,
When I do network tests from a bbproxy , How do I configure the bb-hosts file on the server to show the conn test?
Thanks in advance,
Mario.
participants (4)
-
bgmilne@staff.telkomsa.net
-
henrik@hswn.dk
-
rower.master@gmail.com
-
vadud3@gmail.com