building bbproxy
list Chris Morris
Hi, As bbproxy appears to be a message routing program to accept data from clients and pass them on to a hobbit server, I assume it doesn't require all the server components like rrdtool, SSL, LDAP etc. If the above is true, how can you build a bbproxy install without all the unneccessay clutter? TIA, Chris **************************************************************************** The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any). *****************************************************************************
list Henrik Størner
▸
On Wed, Jun 21, 2006 at 12:26:20PM +0100, Morris, Chris (Shared Services) wrote:
As bbproxy appears to be a message routing program to accept data from clients and pass them on to a hobbit server, I assume it doesn't require all the server components like rrdtool, SSL, LDAP etc.
Right.
▸
If the above is true, how can you build a bbproxy install without all the unneccessay clutter?
Hmm - good question. If it's for the same OS as your main Hobbit server, you could just copy the ~hobbit/server/bin/bbproxy binary across. It doesn't need any of the config-files or other "stuff" that the other Hobbit tools use; you can control all of it through commandline options. Regards, Henrik
list Chris Morris
Hi Henrik, Thanks for the reply. I'd already thought about "copying" the binary but unfortunately it is for a Solaris 5.10 system and my server is AIX 5.2. Does anyone have a bbproxy binary built on Solaris 5.10 that they could send me? Thanks, Chris
▸
-----Original Message----- From: user-ce4a2c883f75@xymon.invalid [SMTP:user-ce4a2c883f75@xymon.invalid] Sent: Wednesday, June 21, 2006 1:18 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] building bbproxy On Wed, Jun 21, 2006 at 12:26:20PM +0100, Morris, Chris (Shared Services) wrote:As bbproxy appears to be a message routing program to accept data from clients and pass them on to a hobbit server, I assume it doesn't require all the server components like rrdtool, SSL, LDAP etc.Right.If the above is true, how can you build a bbproxy install without all the unneccessay clutter?Hmm - good question. If it's for the same OS as your main Hobbit server, you could just copy the ~hobbit/server/bin/bbproxy binary across. It doesn't need any of the config-files or other "stuff" that the other Hobbit tools use; you can control all of it through commandline options. Regards, Henrik
**************************************************************************** The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any). *****************************************************************************
list Henrik Størner
▸
On Wed, Jun 21, 2006 at 01:26:58PM +0100, Morris, Chris (Shared Services) wrote:
Hi Henrik, Thanks for the reply. I'd already thought about "copying" the binary but unfortunately it is for a Solaris 5.10 system and my server is AIX 5.2. Does anyone have a bbproxy binary built on Solaris 5.10 that they could send me?
It's a bit of a hack, but it should be possible like this: * Build the client on your AIX box * cd bbproxy; gcc -I../include -o bbproxy bbproxy.c ../lib/hobbitclient.a Regards, Henrik
list Chris Morris
Hi Henrik, Tried that and got :- bbproxy.c: In function `main': bbproxy.c:1055: warning: passing arg 5 of `getsockopt' from incompatible pointer type bbproxy.c:1138: warning: passing arg 3 of `naccept' from incompatible pointer type However, the binary is not executable on Solaris 10 as needs to be ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped but is executable (RISC System/6000) or object module not stripped. Regards,
▸
Chris
-----Original Message----- From: user-ce4a2c883f75@xymon.invalid [SMTP:user-ce4a2c883f75@xymon.invalid] Sent: Wednesday, June 21, 2006 2:23 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] building bbproxy On Wed, Jun 21, 2006 at 01:26:58PM +0100, Morris, Chris (Shared Services) wrote:Hi Henrik, Thanks for the reply. I'd already thought about "copying" the binary but unfortunately it is for a Solaris 5.10 system and my server is AIX 5.2. Does anyone have a bbproxy binary built on Solaris 5.10 that they could send me?It's a bit of a hack, but it should be possible like this: * Build the client on your AIX box * cd bbproxy; gcc -I../include -o bbproxy bbproxy.c ../lib/hobbitclient.a Regards, Henrik
**************************************************************************** The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any). *****************************************************************************
list Henrik Størner
▸
On Wed, Jun 21, 2006 at 04:06:05PM +0100, Morris, Chris (Shared Services) wrote:
Hi Henrik, Tried that and got :- bbproxy.c: In function `main': bbproxy.c:1055: warning: passing arg 5 of `getsockopt' from incompatible pointer type bbproxy.c:1138: warning: passing arg 3 of `naccept' from incompatible pointer type However, the binary is not executable on Solaris 10 as needs to be ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped but is executable (RISC System/6000) or object module not stripped.
You should build both the client *and* bbproxy (using the command I wrote) on your AIX box. So you need an AIX 5.2 with a C compiler. But that should be enough. Regards, Henrik
list Nicolas Dorfsman
▸
Le 21 juin 06 à 17:23, Henrik Stoerner a écrit :
You should build both the client *and* bbproxy (using the command I wrote) on your AIX box. So you need an AIX 5.2 with a C compiler. But that should be enough.
An AIX/RISC executable can't run on Solaris/x86 .
list Chris Morris
That is exactly what I did. The C compiler is gcc version 3.3.2. When the bbproxy binary is ftp'd to the Solaris 10 machine is says "cannot execute" and the file command on bbproxy returns data.
▸
Regards,
Chris
-----Original Message----- From: user-ce4a2c883f75@xymon.invalid [SMTP:user-ce4a2c883f75@xymon.invalid] Sent: Wednesday, June 21, 2006 4:24 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] building bbproxy On Wed, Jun 21, 2006 at 04:06:05PM +0100, Morris, Chris (Shared Services) wrote:Hi Henrik, Tried that and got :- bbproxy.c: In function `main': bbproxy.c:1055: warning: passing arg 5 of `getsockopt' from incompatible pointer type bbproxy.c:1138: warning: passing arg 3 of `naccept' from incompatible pointer type However, the binary is not executable on Solaris 10 as needs to be ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped but is executable (RISC System/6000) or object module not stripped.You should build both the client *and* bbproxy (using the command I wrote) on your AIX box. So you need an AIX 5.2 with a C compiler. But that should be enough. Regards, Henrik
**************************************************************************** The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither RWE npower nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any). *****************************************************************************
list Mario Andre
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.
list Mario Andre
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 <user-82c7780661a4@xymon.invalid> 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.
list Henrik Størner
▸
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,$BBSERVERIPIf 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.logWHAT ? 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
list Mario Andre
Thanks, Henrik. It's working fine and with hobbit 4.2.0 :-) Regards, Mario.
▸
On 8/29/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> 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,$BBSERVERIPIf 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.logWHAT ? 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
list Buchan Milne
▸
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,$BBSERVERIPIf 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)
list Henrik Størner
▸
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
list Asif Iqbal
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 <user-ce4a2c883f75@xymon.invalid> 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
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Buchan Milne
▸
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)
list Henrik Størner
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
list Henrik Størner
▸
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
list Buchan Milne
▸
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 1. 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)
list Mario Andre
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.