Xymon Mailing List Archive search

Weird hobbit/proxy/CONN catch-22?

3 messages in this thread

list Kent Brodie · Fri, 21 Jul 2006 11:08:28 -0500 ·
OK guys, here's what I have (thank to all that helped me thus far,
especially Henrik!)

 
My setup involves a hidden cluster--  which means that from my MAIN
Hobbit server (BBDISPLAY), I cannot see nor ping the cluster nodes, but
I *can* see and talk to the cluster "head node".

 
Based on prior suggestions, I set it all up as follows:

 
Main BB server has config entries for everything, including the cluster
head node AND the cluster nodes it "can't see" directly.    

These entries are listed as:  

Hidden.ip.address.here   host.name.here             # noconn

 
"noconn" obviously, since the network tests from the main Hobbit server
would fail! 

 
---  

 
Next, I set up the cluster head node as a BB server.    Actually, its
main purpose is to run the network and such tests, and act as a proxy
server for the whole cluster.

 
---  

 
It all works.   Sort of!      On my main BB display, I see the entries
for the "unreachable" cluster nodes, which is very cool.    I see the
cpu, disk, files, msgs, etc.   But--   there's no connectivity (conn)
information or status information.  

 
---  

 
Catch-22?   How do I get the "conn" test to show up?   If I list "conn"
in the bb-hosts on my main Hobbit server, I am going to assume that the
conn tests will have issues, since that server(s) really are unreachable
from the BBDISPLAY host.      But if I set it up listed as "noconn" on
the BBDISPLAY server--  um, there's no conn data/column (a Homr Simpson
"D'oh!" goes here).

 
Any ideas?      The BBPROXY setup described above is working as far as
information exchange, as I am indeed seeing cpu, disk, files, info,
msgs, ports, procs, and that's all very very cool and good.   But I need
'conn' most of all.

 
Help!  (and thanks)

 
By the way - a suggestion for stuff down the road a bit:   When I set up
my proxy server (./configure -server), there was of course all of the
requirements I had to have met, such as having RRDTOOL, libpng, etc etc
all there.    That's great, except I have no intention of having this
other server doing anything other than running a few tests, and
forwarding it all on to the BBD server.   No data, no RRD, no graphs, no
apache, no html.      One big suggestion I have (since the proxy is such
a cool thing) is to perhaps including things like:  ./configure
-proxy-only   ?    Just a thought.   This may or may not be
complicated...     

 
Kent C. Brodie - user-da7f7d5174c0@xymon.invalid

Department of Physiology

Medical College of Wisconsin

(XXX) XXX-XXXX
list Kent Brodie · Sun, 23 Jul 2006 18:24:36 -0500 ·
Hi everyone!   Um, any ideas on this?  I didn't get a single reply -
maybe my original post didn't make it to the list?

Thanks......
quoted from Kent Brodie

 
From: Brodie, Kent 
Sent: Friday, July 21, 2006 11:08 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: Weird hobbit/proxy/CONN catch-22?

 
OK guys, here's what I have (thank to all that helped me thus far,
especially Henrik!)

 
My setup involves a hidden cluster--  which means that from my MAIN
Hobbit server (BBDISPLAY), I cannot see nor ping the cluster nodes, but
I *can* see and talk to the cluster "head node".

 
Based on prior suggestions, I set it all up as follows:

 
Main BB server has config entries for everything, including the cluster
head node AND the cluster nodes it "can't see" directly.    

These entries are listed as:  

Hidden.ip.address.here   host.name.here             # noconn

 
"noconn" obviously, since the network tests from the main Hobbit server
would fail! 

 
---  

 
Next, I set up the cluster head node as a BB server.    Actually, its
main purpose is to run the network and such tests, and act as a proxy
server for the whole cluster.

 
---  

 
It all works.   Sort of!      On my main BB display, I see the entries
for the "unreachable" cluster nodes, which is very cool.    I see the
cpu, disk, files, msgs, etc.   But--   there's no connectivity (conn)
information or status information.  

 
---  

 
Catch-22?   How do I get the "conn" test to show up?   If I list "conn"
in the bb-hosts on my main Hobbit server, I am going to assume that the
conn tests will have issues, since that server(s) really are unreachable
from the BBDISPLAY host.      But if I set it up listed as "noconn" on
the BBDISPLAY server--  um, there's no conn data/column (a Homr Simpson
"D'oh!" goes here).

 
Any ideas?      The BBPROXY setup described above is working as far as
information exchange, as I am indeed seeing cpu, disk, files, info,
msgs, ports, procs, and that's all very very cool and good.   But I need
'conn' most of all.

 
Help!  (and thanks)

 
By the way - a suggestion for stuff down the road a bit:   When I set up
my proxy server (./configure -server), there was of course all of the
requirements I had to have met, such as having RRDTOOL, libpng, etc etc
all there.    That's great, except I have no intention of having this
other server doing anything other than running a few tests, and
forwarding it all on to the BBD server.   No data, no RRD, no graphs, no
apache, no html.      One big suggestion I have (since the proxy is such
a cool thing) is to perhaps including things like:  ./configure
-proxy-only   ?    Just a thought.   This may or may not be
complicated...     

 
Kent C. Brodie - user-da7f7d5174c0@xymon.invalid

Department of Physiology

Medical College of Wisconsin

(XXX) XXX-XXXX
list Henrik Størner · Mon, 24 Jul 2006 09:56:58 +0200 ·
quoted from Kent Brodie
On Fri, Jul 21, 2006 at 11:08:28AM -0500, Brodie, Kent wrote:
It all works.   Sort of!      On my main BB display, I see the entries
for the "unreachable" cluster nodes, which is very cool.    I see the
cpu, disk, files, msgs, etc.   But--   there's no connectivity (conn)
information or status information.  

Catch-22?   How do I get the "conn" test to show up?   If I list "conn"
in the bb-hosts on my main Hobbit server, I am going to assume that the
conn tests will have issues, since that server(s) really are unreachable
from the BBDISPLAY host.      But if I set it up listed as "noconn" on
the BBDISPLAY server--  um, there's no conn data/column (a Homr Simpson
"D'oh!" goes here).
Run the network tests from the proxy server, which has network
connectivity to the cluster nodes, and have it report the results back
to the Hobbit server (it sounds as if this is already in place, it's
just the BBDISPLAY setting in the proxy server's hobbitserver.cfg).
I.e. enable the [bbnet] task on the proxy server, and setup a bb-hosts
file on that server with just the cluster nodes and whatever network
tests you might want to run against them (ping is default, but there
might be other network services you'd like to keep an eye on).

Even though there's a "noconn" setting in the Hobbit server's bb-hosts
file, a "conn" status sent by the proxy server will show up on the web
pages. "noconn" only has effect on what network tests are being run 
from the Hobbit server.
quoted from Kent Brodie
By the way - a suggestion for stuff down the road a bit:   When I set up
my proxy server (./configure -server), there was of course all of the
requirements I had to have met, such as having RRDTOOL, libpng, etc etc
all there.    That's great, except I have no intention of having this
other server doing anything other than running a few tests, and
forwarding it all on to the BBD server.   No data, no RRD, no graphs, no
apache, no html.      One big suggestion I have (since the proxy is such
a cool thing) is to perhaps including things like:  ./configure
-proxy-only   ?    Just a thought.   This may or may not be
complicated...     
It's not terribly complicated, it just needs a bit of work with the
configuration scripts and Makefile's. There is one or two setups
that which would be relevant: A network-tests only build, and a 
bbproxy/hobbitfetch build. In the future it might be relevant to
have a web-only build (if I decide to split up the webserver part
from the Hobbit data-collection part).


Regards,
Henrik