Xymon Mailing List Archive search

Ping question

6 messages in this thread

list Jeff Newman · Wed, 16 May 2007 11:51:37 -0500 ·
Hi,

I have 1 hobbit server that successfully monitors all of my servers.
(with all of the problems everyone mails about, just had to say that
up front heh)

But yes, I do have a question :-)

Hobbit server A monitors client B. Client B has a a private connection
to a network that nobody else can be on except for it. Client B talks
to some production server over that network. Today, that production
server went down. Now I have been asked to do the following:

I need to be able to ping monitor the production server. I can ping
the production server from Client B. Hobbit server A can ping client
B, but not the prod. server (as only client B has that ability)

So in other words "Hobbit - I want you to ping prod server through
client B" - the other way would be "Client B - I want you to ping
prod. server and report the status to Hobbit"

Help! :-)

Thanks,
Jeff
list Thomas Kern · Wed, 16 May 2007 13:04:22 -0400 ·
I don't know if the hobbit client itself can do that, but I think it
would be easy enough to write a custom test script to be run at Client-B
and report the status of Client-B/ProdServer connectivity to the real
hobbit server via the old STATUS message functionality.

/Thomas Kern
/XXX-XXX-XXXX  
quoted from Jeff Newman
-----Original Message-----
From: Jeff Newman [mailto:user-e96740e73ca8@xymon.invalid] Sent: Wednesday, May 16, 2007 12:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Ping question

Hi,

I have 1 hobbit server that successfully monitors all of my servers.
(with all of the problems everyone mails about, just had to say that
up front heh)

But yes, I do have a question :-)

Hobbit server A monitors client B. Client B has a a private connection
to a network that nobody else can be on except for it. Client B talks
to some production server over that network. Today, that production
server went down. Now I have been asked to do the following:

I need to be able to ping monitor the production server. I can ping
the production server from Client B. Hobbit server A can ping client
B, but not the prod. server (as only client B has that ability)

So in other words "Hobbit - I want you to ping prod server through
client B" - the other way would be "Client B - I want you to ping
prod. server and report the status to Hobbit"

Help! :-)

Thanks,
Jeff

list Galen Johnson · Wed, 16 May 2007 13:15:45 -0400 ·
Would making that a BBNET server do it?

=G= 
quoted from Thomas Kern
-----Original Message-----
From: Kern, Thomas [mailto:user-f1ebafb19faf@xymon.invalid] Sent: Wednesday, May 16, 2007 1:04 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Ping question

I don't know if the hobbit client itself can do that, but I think it would be easy enough to write a custom test script to be run at Client-B and report the status of Client-B/ProdServer connectivity to the real hobbit server via the old STATUS message functionality.

/Thomas Kern
/XXX-XXX-XXXX  
-----Original Message-----
From: Jeff Newman [mailto:user-e96740e73ca8@xymon.invalid]
Sent: Wednesday, May 16, 2007 12:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Ping question

Hi,

I have 1 hobbit server that successfully monitors all of my servers.
(with all of the problems everyone mails about, just had to say that up front heh)

But yes, I do have a question :-)

Hobbit server A monitors client B. Client B has a a private connection to a network that nobody else can be on except for it. Client B talks to some production server over that network. Today, that production server went down. Now I have been asked to do the following:

I need to be able to ping monitor the production server. I can ping the production server from Client B. Hobbit server A can ping client B, but not the prod. server (as only client B has that ability)

So in other words "Hobbit - I want you to ping prod server through client B" - the other way would be "Client B - I want you to ping prod. server and report the status to Hobbit"

Help! :-)

Thanks,
Jeff

list Tod Hansmann · Wed, 16 May 2007 11:59:00 -0600 ·
Client B has to be on the same network as the production server, or it's
getting through a firewall/router somewhere.  This is what I imagine it
has to look like:

Either:

Hobbit1 ---- Router1 ---- ClientB --- Router2 --- Prod Server

-OR-

Hobbit1 ---- Router1 ---- ClientB
                  \----  Prod Server

In either scenario, you can either get ClientB to report to Hobbit the
Status (port 1984, it's well documented, etc), or you can adjust your
routers to forward the packets back and forth.  

Your choice, really.  I'd prefer to go the direct route and just modify
the network rules to allow ICMP from Hobbit1 to the Prod Server.  

Tod Hansmann
Network Engineer
quoted from Jeff Newman
 
 
-----Original Message-----
From: Jeff Newman [mailto:user-e96740e73ca8@xymon.invalid] 
Sent: Wednesday, May 16, 2007 10:52 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Ping question

Hi,

I have 1 hobbit server that successfully monitors all of my servers.
(with all of the problems everyone mails about, just had to say that
up front heh)

But yes, I do have a question :-)

Hobbit server A monitors client B. Client B has a a private connection
to a network that nobody else can be on except for it. Client B talks
to some production server over that network. Today, that production
server went down. Now I have been asked to do the following:

I need to be able to ping monitor the production server. I can ping
the production server from Client B. Hobbit server A can ping client
B, but not the prod. server (as only client B has that ability)

So in other words "Hobbit - I want you to ping prod server through
client B" - the other way would be "Client B - I want you to ping
prod. server and report the status to Hobbit"

Help! :-)

Thanks,
Jeff
list Henrik Størner · Thu, 17 May 2007 00:03:23 +0200 ·
quoted from Jeff Newman
On Wed, May 16, 2007 at 11:51:37AM -0500, Jeff Newman wrote:
Hobbit server A monitors client B. Client B has a a private connection
to a network that nobody else can be on except for it. Client B talks
to some production server over that network. Today, that production
server went down. Now I have been asked to do the following:

I need to be able to ping monitor the production server. I can ping
the production server from Client B. Hobbit server A can ping client
B, but not the prod. server (as only client B has that ability)
Install the Hobbit server package on your B server. Disable all tasks
in hobbitlaunch.cfg, except the [bbnet] and [hobbitclient] tasks.
Configure hobbitserver.cfg to have BBSERVERIP pointing at your
server A IP address. Setup a bb-hosts file on your B server with
only the network tests that you want to run from server B (i.e. the
ping test).

For bonus points, read up on the NET:foo setting in bb-hosts, and
configure the BBLOCATION setting on server B - that lets you use
the same bb-hosts file on both your A and B servers.


Regards,
Henrik
list Henrik Størner · Thu, 17 May 2007 00:04:40 +0200 ·
BBNET is ... well, a BB'ism. Hobbit completely ignores it, as well as
the BBPAGER and BBDISPLAY entries in bb-hosts.

But you're right - setting up server B to run network tests is the way
to go. See my other response.


Regards,
Henrik
quoted from Galen Johnson

On Wed, May 16, 2007 at 01:15:45PM -0400, Galen Johnson wrote:
Would making that a BBNET server do it?

=G= 
-----Original Message-----
From: Kern, Thomas [mailto:user-f1ebafb19faf@xymon.invalid] Sent: Wednesday, May 16, 2007 1:04 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Ping question

I don't know if the hobbit client itself can do that, but I think it would be easy enough to write a custom test script to be run at Client-B and report the status of Client-B/ProdServer connectivity to the real hobbit server via the old STATUS message functionality.

/Thomas Kern
/XXX-XXX-XXXX  
-----Original Message-----
From: Jeff Newman [mailto:user-e96740e73ca8@xymon.invalid]
Sent: Wednesday, May 16, 2007 12:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Ping question
Hi,
I have 1 hobbit server that successfully monitors all of my servers.
(with all of the problems everyone mails about, just had to say that > up front heh)
But yes, I do have a question :-)
Hobbit server A monitors client B. Client B has a a private connection > to a network that nobody else can be on except for it. Client B talks > to some production server over that network. Today, that production > server went down. Now I have been asked to do the following:
I need to be able to ping monitor the production server. I can ping > the production server from Client B. Hobbit server A can ping client > B, but not the prod. server (as only client B has that ability)
So in other words "Hobbit - I want you to ping prod server through > client B" - the other way would be "Client B - I want you to ping > prod. server and report the status to Hobbit"
Help! :-)
Thanks,
Jeff
-- 

Henrik Storner