Xymon Mailing List Archive search

building bbproxy

20 messages in this thread

list Chris Morris · Wed, 21 Jun 2006 12:26:20 +0100 ·
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 · Wed, 21 Jun 2006 14:17:32 +0200 ·
quoted from Chris Morris
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.
quoted from Chris Morris
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 · Wed, 21 Jun 2006 13:26:58 +0100 ·
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
quoted from Chris Morris
-----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 · Wed, 21 Jun 2006 15:22:48 +0200 ·
quoted from Chris Morris
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 · Wed, 21 Jun 2006 16:06:05 +0100 ·
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,
quoted from Chris Morris

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 · Wed, 21 Jun 2006 17:23:58 +0200 ·
quoted from Chris Morris
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 · Wed, 21 Jun 2006 17:37:32 +0200 ·
quoted from Henrik Størner
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 · Wed, 21 Jun 2006 16:40:17 +0100 ·
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.
quoted from Chris Morris

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 · Tue, 29 Aug 2006 12:25:28 -0300 ·
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 · Tue, 29 Aug 2006 15:21:47 -0300 ·
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.
quoted from Mario Andre


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
quoted from Mario Andre
=$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 · Tue, 29 Aug 2006 22:15:24 +0200 ·
quoted from Mario Andre
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.
quoted from Mario Andre
[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.
quoted from Mario Andre
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.
quoted from Mario Andre
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 · Tue, 29 Aug 2006 18:28:35 -0300 ·
Thanks,

Henrik. It's working fine and with  hobbit 4.2.0 :-)


Regards,

Mario.
quoted from Henrik Størner


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
quoted from Henrik Størner
--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

list Buchan Milne · Wed, 30 Aug 2006 09:59:55 +0200 ·
quoted from Mario Andre
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)
list Henrik Størner · Wed, 30 Aug 2006 10:04:44 +0200 ·
quoted from Buchan Milne
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".
quoted from Buchan Milne
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 · Wed, 30 Aug 2006 04:17:39 -0400 ·
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?
quoted from Henrik Størner

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 · Wed, 30 Aug 2006 10:49:09 +0200 ·
quoted from Asif Iqbal
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 · Wed, 30 Aug 2006 11:29:45 +0200 ·
Buchan - please don't cc me on mails that you send to the list. I hate
seeing double when scanning my inbox.
quoted from Buchan Milne

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 · Wed, 30 Aug 2006 11:52:49 +0200 ·
quoted from Asif Iqbal
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 · Wed, 30 Aug 2006 12:44:43 +0200 ·
quoted from Henrik Størner
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 · Wed, 30 Aug 2006 18:23:01 -0300 ·
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.