Xymon Mailing List Archive search

Question about Server Status Forwarding

11 messages in this thread

list David Morgan · Mon, 10 May 2010 09:39:22 -0400 ·
We are starting to deploy multiple "collector" servers.  What we want
is to have Hobbit Server A collect from it's local group, Server B to
collect from its local group, and Server C to collect for its local
group.  (By local group, I mean IP address and physical location
space).

Then we want to have Server A and Server C send the status messages
that they have collected to Server B.

I THOUGHT all that needed to be done was to put in the following:

[snip from hobbitserver.cfg on Server A]

BBDISP="0.0.0.0"                # IP of a single hobbit/bbd server
BBDISPLAYS="<Server A IP>,<Server B IP>"          # IP of multiple
hobbit/bbd servers. If used, BBDISP must be 0.0.0.0

However, it appears that all the entries that are being forwarded are
coming in as ghosts.  Is there something else I need to do on ServerB?
 Or on the client side?  Should I be using BB-proxy?  There isn't any
firewall or proxying between the groups.

Dave

-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"
list Bruce White · Mon, 10 May 2010 17:23:39 -0500 ·
If they are coming up as ghosts, then you need to make sure there is an
entry in your bb-hosts file with the same hostname as being reported in
the ghost report or a CLIENT tag on the bb-hosts line you have for this
server.

    .....Bruce
 

 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
quoted from David Morgan
 
-----Original Message-----
From: David Morgan [mailto:user-4691629dd582@xymon.invalid] 
Sent: Monday, May 10, 2010 8:39 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Question about Server Status Forwarding

We are starting to deploy multiple "collector" servers.  What we want
is to have Hobbit Server A collect from it's local group, Server B to
collect from its local group, and Server C to collect for its local
group.  (By local group, I mean IP address and physical location
space).

Then we want to have Server A and Server C send the status messages
that they have collected to Server B.

I THOUGHT all that needed to be done was to put in the following:

[snip from hobbitserver.cfg on Server A]

BBDISP="0.0.0.0"                # IP of a single hobbit/bbd server
BBDISPLAYS="<Server A IP>,<Server B IP>"          # IP of multiple
hobbit/bbd servers. If used, BBDISP must be 0.0.0.0

However, it appears that all the entries that are being forwarded are
coming in as ghosts.  Is there something else I need to do on ServerB?
 Or on the client side?  Should I be using BB-proxy?  There isn't any
firewall or proxying between the groups.

Dave

-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"
list David Morgan · Mon, 10 May 2010 18:34:34 -0400 ·
Yep entries in the bb-host file.  Going to try restarting server process
quoted from Bruce White

On May 10, 2010 6:26 PM, "White, Bruce" <user-58f975e8bf9d@xymon.invalid> wrote:

If they are coming up as ghosts, then you need to make sure there is an
entry in your bb-hosts file with the same hostname as being reported in
the ghost report or a CLIENT tag on the bb-hosts line you have for this
server.

   .....Bruce


 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax:
XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/


Disclaimer: The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is
not the intended recipient or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it from
your computer. Thank you. Fellowes, Inc.


-----Original Message-----
From: David Morgan [mailto:user-4691629dd582@xymon.invalid]
Sent: Monday, May 10, 2...
list David Morgan · Mon, 10 May 2010 20:56:24 -0400 ·
I just confirmed that on the server that has the ghost entries, they are in the bb-host file.

Not sure what else to check.  I tried restarting the hobbit/xymon service, but still have the ghost entries.

Dave
quoted from David Morgan

David Morgan wrote:
Yep entries in the bb-host file.  Going to try restarting server process
On May 10, 2010 6:26 PM, "White, Bruce" <user-58f975e8bf9d@xymon.invalid <mailto:user-58f975e8bf9d@xymon.invalid>> wrote:

If they are coming up as ghosts, then you need to make sure there is an
entry in your bb-hosts file with the same hostname as being reported in
the ghost report or a CLIENT tag on the bb-hosts line you have for this
server.

   .....Bruce


  Bruce White

 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid <mailto:user-58f975e8bf9d@xymon.invalid> | http://www.fellowes.com/
quoted from David Morgan
   Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.

 -----Original Message-----
From: David Morgan [mailto:user-4691629dd582@xymon.invalid <mailto:user-4691629dd582@xymon.invalid>]
Sent: Monday, May 10, 2...

list David Morgan · Tue, 11 May 2010 10:02:13 -0400 ·
It LOOKS like it is the local systems that are reporting into Server B
are most of the ghost clients.  Not sure if there is something on that
system that I should also set.

Dave
quoted from David Morgan

On Mon, May 10, 2010 at 8:56 PM, David Morgan <user-4691629dd582@xymon.invalid> wrote:
I just confirmed that on the server that has the ghost entries, they are in
the bb-host file.

Not sure what else to check.  I tried restarting the hobbit/xymon service,
but still have the ghost entries.

Dave

David Morgan wrote:
Yep entries in the bb-host file.  Going to try restarting server process
On May 10, 2010 6:26 PM, "White, Bruce" <user-58f975e8bf9d@xymon.invalid
<mailto:user-58f975e8bf9d@xymon.invalid>> wrote:

If they are coming up as ghosts, then you need to make sure there is an
entry in your bb-hosts file with the same hostname as being reported in
the ghost report or a CLIENT tag on the bb-hosts line you have for this
server.

  .....Bruce


 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax:
XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid <mailto:user-58f975e8bf9d@xymon.invalid> |
http://www.fellowes.com/
  Disclaimer: The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of this
message is not the intended recipient or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer. Thank you. Fellowes, Inc.

 -----Original Message-----
From: David Morgan [mailto:user-4691629dd582@xymon.invalid
<mailto:user-4691629dd582@xymon.invalid>]
Sent: Monday, May 10, 2...

-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"
list Patrick Nixon · Tue, 11 May 2010 12:51:25 -0400 ·
Does ServerB have a fully populated bb-hosts file?
quoted from David Morgan

On Tue, May 11, 2010 at 10:02 AM, David Morgan <user-4691629dd582@xymon.invalid> wrote:
It LOOKS like it is the local systems that are reporting into Server B
are most of the ghost clients.  Not sure if there is something on that
system that I should also set.

Dave

On Mon, May 10, 2010 at 8:56 PM, David Morgan <user-4691629dd582@xymon.invalid> wrote:
I just confirmed that on the server that has the ghost entries, they are in
the bb-host file.

Not sure what else to check.  I tried restarting the hobbit/xymon service,
but still have the ghost entries.

Dave

David Morgan wrote:
Yep entries in the bb-host file.  Going to try restarting server process
On May 10, 2010 6:26 PM, "White, Bruce" <user-58f975e8bf9d@xymon.invalid
<mailto:user-58f975e8bf9d@xymon.invalid>> wrote:

If they are coming up as ghosts, then you need to make sure there is an
entry in your bb-hosts file with the same hostname as being reported in
the ghost report or a CLIENT tag on the bb-hosts line you have for this
server.

  .....Bruce


 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax:
XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid <mailto:user-58f975e8bf9d@xymon.invalid> |
http://www.fellowes.com/
  Disclaimer: The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of this
message is not the intended recipient or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer. Thank you. Fellowes, Inc.

 -----Original Message-----
From: David Morgan [mailto:user-4691629dd582@xymon.invalid
<mailto:user-4691629dd582@xymon.invalid>]
Sent: Monday, May 10, 2...

--
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"

list David Morgan · Tue, 11 May 2010 13:04:58 -0400 ·
Yep.  That's what's driving me bugy
quoted from Patrick Nixon

On May 11, 2010 12:53 PM, "Patrick Nixon" <user-1f2406f832af@xymon.invalid> wrote:

Does ServerB have a fully populated bb-hosts file?


On Tue, May 11, 2010 at 10:02 AM, David Morgan <user-4691629dd582@xymon.invalid> wrote:
It LOOKS like it is th...
list Bruce White · Tue, 11 May 2010 12:28:33 -0500 ·
David,

The names in the bb-hosts file match exactly (capitalization counts!)
the names reported in the ghost client report?
signature

   .....Bruce


 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
 
-----Original Message-----

quoted from David Morgan
From: David Morgan [mailto:user-4691629dd582@xymon.invalid] Sent: Monday, May 10, 2010 7:56 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Question about Server Status Forwarding

I just confirmed that on the server that has the ghost entries, they are

in the bb-host file.

Not sure what else to check.  I tried restarting the hobbit/xymon service, but still have the ghost entries.

Dave

David Morgan wrote:
Yep entries in the bb-host file.  Going to try restarting server
process
On May 10, 2010 6:26 PM, "White, Bruce" <user-58f975e8bf9d@xymon.invalid <mailto:user-58f975e8bf9d@xymon.invalid>> wrote:

If they are coming up as ghosts, then you need to make sure there is
an
entry in your bb-hosts file with the same hostname as being reported
in
the ghost report or a CLIENT tag on the bb-hosts line you have for
this
server.

   .....Bruce


  Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid <mailto:user-58f975e8bf9d@xymon.invalid> | http://www.fellowes.com/
   Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.

 -----Original Message-----
From: David Morgan [mailto:user-4691629dd582@xymon.invalid <mailto:user-4691629dd582@xymon.invalid>]
Sent: Monday, May 10, 2...

list David Morgan · Tue, 11 May 2010 13:32:41 -0400 ·
That's what I am thinking.  We had a couple of people working on the file
and have a feeling something is screwey
quoted from Bruce White

On May 11, 2010 1:30 PM, "White, Bruce" <user-58f975e8bf9d@xymon.invalid> wrote:

David,

The names in the bb-hosts file match exactly (capitalization counts!)
the names reported in the ghost client report?

  .....Bruce


 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax:
XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/


Disclaimer: The information contained in this message may be privileged and

confidential and p...
quoted from David Morgan

From: David Morgan [mailto:user-4691629dd582@xymon.invalid]

Sent: Monday, May 10, 2010 7:56 PM
To: user-ae9b8668bcde@xymon.invalid

Subject: Re: [hobbit] Question about Server Status Forwarding

I just confirmed that on the server t...
list Buchan Milne · Wed, 12 May 2010 09:43:44 +0100 ·
quoted from David Morgan
On Monday, 10 May 2010 14:39:22 David Morgan wrote:
We are starting to deploy multiple "collector" servers.  What we want
is to have Hobbit Server A collect from it's local group, Server B to
collect from its local group, and Server C to collect for its local
group.  (By local group, I mean IP address and physical location
space).

Then we want to have Server A and Server C send the status messages
that they have collected to Server B.

I THOUGHT all that needed to be done was to put in the following:

[snip from hobbitserver.cfg on Server A]

BBDISP="0.0.0.0"                # IP of a single hobbit/bbd server
BBDISPLAYS="<Server A IP>,<Server B IP>"          # IP of multiple
hobbit/bbd servers. If used, BBDISP must be 0.0.0.0
These settings are of interest to client parts of xymon, in other words, components which run tests from this server (such as the bbnet task, the local client etc.), and send data to hobbitd. This does not result in hobbitd on ServerA sending any data it receives (e.g. from clients) to any of these IP addresses (ServerB).

Please see the coverage of this variable in 'man hobbitserver.cfg'.
quoted from Bruce White
However, it appears that all the entries that are being forwarded are
coming in as ghosts.  Is there something else I need to do on ServerB?
ServerB needs to have entries in its bb-hosts file for all the hosts being monitored by ServerA and ServerC. You probably want to make use of the NET tag, and set BBLOCATION accordingly on each of the Xymon servers, so that the correct servers test the correct hosts, while only needing to maintain a single bb-hosts file (which should be kept in sync across all 3 servers).
 Or on the client side?  Should I be using BB-proxy?
Between these two options, I would use bb-proxy, so that client data sent by monitored hosts is relayed to your central server. However, if you want to have the extra maintenance overhead in return for still receiving client data in case of a failure of the monitoring server, you could set BBDISPLAYS on all the clients.

To assist in resolving this further, you may want to include some more relevant information. For example, follow a host monitored by ServerA, provide:

The entry in ServerA's bb-hosts for this host
The entry in ServerB's bb-hosts for this host
The BBDISP/BBDISPLAYS value from this host's client config
The bbproxy task from ServerA if relevant


Regards,
Buchan
list David Morgan · Wed, 12 May 2010 13:19:40 -0400 ·
I think I have it fixed.  We had a number of mis-configured clients,
so that is what was causing the screwey behavior.  I rebuilt the
servers and the bb-host files from scratch and have verified that the
servers are checking into the right xymon server.

Will update the thread once I have gotten the forwarding done.
quoted from David Morgan

On Tue, May 11, 2010 at 1:32 PM, David Morgan <user-4691629dd582@xymon.invalid> wrote:
That's what I am thinking.  We had a couple of people working on the file
and have a feeling something is screwey

On May 11, 2010 1:30 PM, "White, Bruce" <user-58f975e8bf9d@xymon.invalid> wrote:

David,

The names in the bb-hosts file match exactly (capitalization counts!)
the names reported in the ghost client report?

  .....Bruce


 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax:
XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/


Disclaimer: The information contained in this message may be privileged and
confidential and p...

From: David Morgan [mailto:user-4691629dd582@xymon.invalid]

Sent: Monday, May 10, 2010 7:56 PM
To: user-ae9b8668bcde@xymon.invalid

Subject: Re: [hobbit] Question about Server Status Forwarding

I just confirmed that on the server t...

-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"