Xymon Mailing List Archive search

change default port number

8 messages in this thread

list Marco Avvisano · Thu, 17 Feb 2005 16:55:54 +0100 ·
I have tried to change the default port number,
changing the BBPORT in hobbitserver.cfg, but the daemon
always started on port 1984.
So i have added,  in hobbitlaunch.cfg, the hobbitd option --listen,
and the daemon start on another port.

One question
If i use the general option, BBDISPLAYS, in hobbitserver.cfg, i can have
more
bbdisplay?

Marco
list Henrik Størner · Thu, 17 Feb 2005 23:03:45 +0100 ·
quoted from Marco Avvisano
On Thu, Feb 17, 2005 at 04:55:54PM +0100, Marco Avvisano wrote:
I have tried to change the default port number,
changing the BBPORT in hobbitserver.cfg, but the daemon
always started on port 1984.
So i have added,  in hobbitlaunch.cfg, the hobbitd option --listen,
and the daemon start on another port.
OK, fixed in hobbitd so it looks up the BBPORT setting instead of
defaulting to 1984.
quoted from Marco Avvisano
One question
If i use the general option, BBDISPLAYS, in hobbitserver.cfg, i can have
more bbdisplay?
If you set BBDISPLAYS, then the tools that generate status-messages -
i.e. bbtest-net, bbcombotest, bb-infocolumn, bb-larrdcolumn - will
send those messages to all of the BB- or Hobbit-servers running on
those adresses you put in BBDISPLAYS.

If you do use it, then you must also set BBDISP to "0.0.0.0"

That is the way BB behaves, and Hobbit follows that.


Regards,
Henrik
list Marco Avvisano · Fri, 18 Feb 2005 17:19:15 +0100 ·
quoted from Henrik Størner
----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Thursday, February 17, 2005 11:03 PM
Subject: Re: [hobbit] change default port number

On Thu, Feb 17, 2005 at 04:55:54PM +0100, Marco Avvisano wrote:
I have tried to change the default port number,
changing the BBPORT in hobbitserver.cfg, but the daemon
always started on port 1984.
So i have added,  in hobbitlaunch.cfg, the hobbitd option --listen,
and the daemon start on another port.
OK, fixed in hobbitd so it looks up the BBPORT setting instead of
defaulting to 1984.
After i change the port, no more status client arrived to hobbit server.
quoted from Henrik Størner

One question
If i use the general option, BBDISPLAYS, in hobbitserver.cfg, i can have
more bbdisplay?
If you set BBDISPLAYS, then the tools that generate status-messages -
i.e. bbtest-net, bbcombotest, bb-infocolumn, bb-larrdcolumn - will
send those messages to all of the BB- or Hobbit-servers running on
those adresses you put in BBDISPLAYS.

If you do use it, then you must also set BBDISP to "0.0.0.0"

That is the way BB behaves, and Hobbit follows that.
It's possible to also specify  the port of the other servers?

thank for helps

congratulations for your work!!!

Marco
list Paul Williamson · Fri, 18 Feb 2005 11:32:15 -0500 ·
user-716ccebaa550@xymon.invalid 2/18/2005 11:19:15 AM >>>
quoted from Marco Avvisano
On Thu, Feb 17, 2005 at 04:55:54PM +0100, Marco Avvisano wrote:
After i change the port, no more status client arrived to hobbit
server.
Did you change it on all the clients as well?  They're probably still 
sending to the old port.

Paul
list Marco Avvisano · Fri, 18 Feb 2005 17:55:46 +0100 ·
quoted from Paul Williamson
----- Original Message ----- 
From: "PAUL WILLIAMSON" <user-b9fa55f5c833@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>; <user-716ccebaa550@xymon.invalid>
Sent: Friday, February 18, 2005 5:32 PM
Subject: Re: [hobbit] change default port number

user-716ccebaa550@xymon.invalid 2/18/2005 11:19:15 AM >>>
On Thu, Feb 17, 2005 at 04:55:54PM +0100, Marco Avvisano wrote:
After i change the port, no more status client arrived to hobbit
server.
Did you change it on all the clients as well?  They're probably still
sending to the old port.

Paul
It's true....

I  have changed BBPORT in bbinc.sh and BBPORT in bbsend.c on client
installation, recompiled and restarted bbclient, but nothing it'arrived on
the server
i have forget something ?

thanks

Marco


Marco
list Marco Avvisano · Wed, 23 Feb 2005 14:58:01 +0100 ·
quoted from Marco Avvisano
One question
If i use the general option, BBDISPLAYS, in hobbitserver.cfg, i can
have
more bbdisplay?
If you set BBDISPLAYS, then the tools that generate status-messages -
i.e. bbtest-net, bbcombotest, bb-infocolumn, bb-larrdcolumn - will
send those messages to all of the BB- or Hobbit-servers running on
those adresses you put in BBDISPLAYS.

If you do use it, then you must also set BBDISP to "0.0.0.0"
It s possible to specify also the port number for the servers in BBDISPLAYS?
thanks

Marco
list Henrik Størner · Wed, 23 Feb 2005 23:52:23 +0100 ·
On Wed, Feb 23, 2005 at 02:58:01PM +0100, Marco Avvisano wrote:
If you set BBDISPLAYS, then the tools that generate status-messages -
i.e. bbtest-net, bbcombotest, bb-infocolumn, bb-larrdcolumn - will
send those messages to all of the BB- or Hobbit-servers running on
those adresses you put in BBDISPLAYS.

If you do use it, then you must also set BBDISP to "0.0.0.0"
It s possible to specify also the port number for the servers in
BBDISPLAYS?
No.


Henrik
list Marco Avvisano · Thu, 24 Feb 2005 18:11:50 +0100 ·
quoted from Henrik Størner
----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, February 23, 2005 11:52 PM
Subject: Re: [hobbit] change default port number

On Wed, Feb 23, 2005 at 02:58:01PM +0100, Marco Avvisano wrote:
If you set BBDISPLAYS, then the tools that generate
status-messages -
i.e. bbtest-net, bbcombotest, bb-infocolumn, bb-larrdcolumn - will
send those messages to all of the BB- or Hobbit-servers running on
those adresses you put in BBDISPLAYS.

If you do use it, then you must also set BBDISP to "0.0.0.0"
It s possible to specify also the port number for the servers in
BBDISPLAYS?
No.
You think to add this in the future release?

I'm tryng to configure two hobbit server on the same machine, on different
ports.
I would like that one send to the other (port 1984) the test results, so i
have used the BBDISPLAY option
but nothing is arrived on the other server.
I try to enable the satus channel on the reiciver server but nothing...
What i miss?

thanks for helps

Marco