Xymon Mailing List Archive search

Use several Hobbit on different place

11 messages in this thread

list L.M.J · Wed, 28 Nov 2007 13:13:58 +0100 (CET) ·
Hello,

  I'm quite new on Hobbit, I just got it running since yesterday ;) I
would like to setup a Main-Hobbit-Server display who report status from
several Hobbit-Secondary-Server on remote places.
  It is possible to display data from remote hobbit server and a central
server ? Do you have web tutotial or mailing-list information around ?

  Thanks!
list Iain Conochie · Wed, 28 Nov 2007 14:34:20 +0000 ·
quoted from L.M.J
L.M.J. wrote:
Hello,

  I'm quite new on Hobbit, I just got it running since yesterday ;) I
would like to setup a Main-Hobbit-Server display who report status from
several Hobbit-Secondary-Server on remote places.
  It is possible to display data from remote hobbit server and a central
server ?
Easy. Use bbproxy on the secondary servers and have the main server as 
your display server. See the man pages for how to use bbproxy

Cheers

Iain
 Do you have web tutotial or mailing-list information around ?

  Thanks!

list Josh Luthman · Wed, 28 Nov 2007 09:35:42 -0500 ·
You contacted the main mailing list for general discussion but the archive
is posted here: http://www.hswn.dk/hobbiton/

Personally I have one main Hobbit server that monitors internal servers,
APs, radios, etc.  I then have hotel Hobbit servers that monitor those APs
and sends a summary to the main Hobbit server.

The way I have is very similar to the demo, http://www.hswn.dk/hobbit/
quoted from L.M.J

On 11/28/07, L.M.J. <user-78bb6d5d9024@xymon.invalid> wrote:
Hello,

  I'm quite new on Hobbit, I just got it running since yesterday ;) I
would like to setup a Main-Hobbit-Server display who report status from
several Hobbit-Secondary-Server on remote places.
  It is possible to display data from remote hobbit server and a central
server ? Do you have web tutotial or mailing-list information around ?

  Thanks!

-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list L.M.J · Wed, 28 Nov 2007 18:29:54 +0100 ·
quoted from L.M.J
L.M.J. wrote:
Hello,

  I'm quite new on Hobbit, I just got it running since yesterday ;) I
would like to setup a Main-Hobbit-Server display who report status from
several Hobbit-Secondary-Server on remote places.
  It is possible to display data from remote hobbit server and a central
server ?  

Le Wed, 28 Nov 2007 14:34:20 +0000,
quoted from Iain Conochie
Iain Conochie <user-c784e16a5170@xymon.invalid> a écrit :
Easy. Use bbproxy on the secondary servers and have the main server as 
your display server. See the man pages for how to use bbproxy

Cheers
Iain

Le Wed, 28 Nov 2007 09:35:42 -0500,
quoted from Josh Luthman
"Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :
You contacted the main mailing list for general discussion but the archive
is posted here: http://www.hswn.dk/hobbiton/

Personally I have one main Hobbit server that monitors internal servers,
APs, radios, etc.  I then have hotel Hobbit servers that monitor those APs
and sends a summary to the main Hobbit server.

The way I have is very similar to the demo, http://www.hswn.dk/hobbit/

Thanks you very much for the help. I will check out bbproxy!
list L.M.J · Thu, 29 Nov 2007 06:52:56 +0100 ·
Le Wed, 28 Nov 2007 18:29:54 +0100,
quoted from L.M.J
"L.M.J" <user-78bb6d5d9024@xymon.invalid> a écrit :
L.M.J. wrote:
Hello,

  I'm quite new on Hobbit, I just got it running since yesterday ;) I
would like to setup a Main-Hobbit-Server display who report status from
several Hobbit-Secondary-Server on remote places.
  It is possible to display data from remote hobbit server and a central
server ?  
Le Wed, 28 Nov 2007 14:34:20 +0000,
Iain Conochie <user-c784e16a5170@xymon.invalid> a écrit :
Easy. Use bbproxy on the secondary servers and have the main server as > your display server. See the man pages for how to use bbproxy
Cheers
Iain

Le Wed, 28 Nov 2007 09:35:42 -0500,
"Josh Luthman" <user-4c45a83f15cb@xymon.invalid> a écrit :
You contacted the main mailing list for general discussion but the archive
is posted here: http://www.hswn.dk/hobbiton/
Personally I have one main Hobbit server that monitors internal servers,
APs, radios, etc.  I then have hotel Hobbit servers that monitor those APs
and sends a summary to the main Hobbit server.
The way I have is very similar to the demo, http://www.hswn.dk/hobbit/

Thanks you very much for the help. I will check out bbproxy!
  Well, it's me again ;)  Maybe someone could show me a step-by-step tutorial because the man page is great
but I don't really see what I should do anyway ;) Thanks by advance
list Iain Conochie · Thu, 29 Nov 2007 09:53:25 +0000 ·
quoted from L.M.J
<snip>
    
  Well, it's me again ;)  Maybe someone could show me a step-by-step tutorial because the man page is great
but I don't really see what I should do anyway ;) Thanks by advance
  
OK. I take it you have your main BB server up and running? Good!

Install the hobbit server onto the secondary boxes. Once it is installed Do not start it!

go into the server/etc/ directory of you new hobbit installation. Edit the file hobbitlaunch.cfg. Look for bbproxy. There you will find these instructions

# "bbproxy" is the Hobbit proxy server that allows you to forward status messages
# from a protected network to your Hobbit server. It is not enabled by default,
# since it would conflict with the hobbitd task.
# If you need to run this, then disabled hobbitd and the hobbitd-modules
# above, then enable this. Make sure you enter the IP-address of your
# Hobbit server in the command-line, so that the proxy knows where to forward
# status messages.

Follow them :)

As a side note, do you want the proxy servers to do network tests? If so then you will want to use the  NET:location tag in bb-hosts to seperate the client machines.

Cheers

Iain
list Craig Whilding · Thu, 29 Nov 2007 10:15:23 -0000 ·
Further to this, if you want a display server running on the remote
sites (in case the WAN goes down for example) then you must setup the
secondary hobbit servers to run on localhost and get the proxy to
forward to both the main server and the localhost while listening on the
secondary server's external ipaddress.

This is what I do on most of our European sites and forward them to the
central hub. It means we have the data in two places by default.

The net location tags are very important if doing network tests at the
remote sites so that the main server doesn't try testing them as well. I
rsync the bb-hosts files from the remote servers with sub bb-host pages
on the main server.

Hope this is useful.

Regards,
Craig
quoted from Iain Conochie

-----Original Message-----
From: Iain Conochie [mailto:user-c784e16a5170@xymon.invalid] 
Sent: 29 November 2007 09:53
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Use several Hobbit on different place

<snip>
    
  Well, it's me again ;)  Maybe someone could show me a step-by-step
tutorial because the man page is great
but I don't really see what I should do anyway ;) Thanks by advance
  
OK. I take it you have your main BB server up and running? Good!

Install the hobbit server onto the secondary boxes. Once it is installed

Do not start it!

go into the server/etc/ directory of you new hobbit installation. Edit 
the file hobbitlaunch.cfg. Look for bbproxy. There you will find these 
instructions

# "bbproxy" is the Hobbit proxy server that allows you to forward status

messages
# from a protected network to your Hobbit server. It is not enabled by 
default,
# since it would conflict with the hobbitd task.
# If you need to run this, then disabled hobbitd and the hobbitd-modules
# above, then enable this. Make sure you enter the IP-address of your
# Hobbit server in the command-line, so that the proxy knows where to 
forward
# status messages.

Follow them :)

As a side note, do you want the proxy servers to do network tests? If so

then you will want to use the  NET:location tag in bb-hosts to seperate 
the client machines.

Cheers

Iain
list L.M.J · Thu, 29 Nov 2007 17:47:34 +0100 ·
Le Thu, 29 Nov 2007 10:15:23 -0000,
quoted from Craig Whilding
"Whilding, Craig" <user-9ce31bfa66c3@xymon.invalid> a écrit :
Further to this, if you want a display server running on the remote
sites (in case the WAN goes down for example) then you must setup the
secondary hobbit servers to run on localhost and get the proxy to
forward to both the main server and the localhost while listening on the
secondary server's external ipaddress.

This is what I do on most of our European sites and forward them to the
central hub. It means we have the data in two places by default.
That's exactly what I want to do!
quoted from Craig Whilding
The net location tags are very important if doing network tests at the
remote sites so that the main server doesn't try testing them as well. I
rsync the bb-hosts files from the remote servers with sub bb-host pages
on the main server.
I will double check the "net" option in bb-hosts. Last thing I'm asking : could you send me samples of your
bb-hosts using the "net" option?
Hope this is useful.

Regards,
Craig
list L.M.J · Thu, 29 Nov 2007 17:50:14 +0100 ·
Le Thu, 29 Nov 2007 09:53:25 +0000,
quoted from Iain Conochie
Iain Conochie <user-c784e16a5170@xymon.invalid> a écrit :
  
  Well, it's me again ;)  Maybe someone could show me a step-by-step tutorial because the man page is
great but I don't really see what I should do anyway ;) Thanks by advance
  
OK. I take it you have your main BB server up and running? Good!

Install the hobbit server onto the secondary boxes. Once it is installed Do not start it!

go into the server/etc/ directory of you new hobbit installation. Edit the file hobbitlaunch.cfg. Look for bbproxy. There you will find these instructions

# "bbproxy" is the Hobbit proxy server that allows you to forward status messages
# from a protected network to your Hobbit server. It is not enabled by default,
# since it would conflict with the hobbitd task.
# If you need to run this, then disabled hobbitd and the hobbitd-modules
# above, then enable this. Make sure you enter the IP-address of your
# Hobbit server in the command-line, so that the proxy knows where to forward
# status messages.

Follow them :)

As a side note, do you want the proxy servers to do network tests? If so then you will want to use the  NET:location tag in bb-hosts to seperate the client machines.

Cheers

Iain
  Thanks for the answer Iain! Like I say, I will check-out this NET thing to see what is the best for my
needs.
list Craig Whilding · Thu, 29 Nov 2007 17:07:44 -0000 ·
In the main bb-hosts file on the server:

137.xxx.xxx.1 gb17.gb.domain.com                # NET:main DESCR:"printer: "

page remote remote

include /usr/local/hobbit/server/etc/bb-hosts(remote)


in the remote bb-hosts subfile:

subpage Printers Printers

137.xx1.xxx.1 gb6.gbr.domain.com		# NET:remote
(you don't really need these tags on the remote sites when all hosts in their bb-hosts file will be tested but it helps if you end up adding anymore tiers to your monitoring)


In hobbitserver.cfg on main server:

BBLOCATION="main"                    # The network location, makes bbtest-net test only hosts with NET:foo

In hobbitlaunch.cfg on remote:
CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=137.xxx.xxx.1,127.0.0.1 --listen=137.xx1.xxx.54 --report --no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid
(ie send to main hobbit server and hobbit server running on localhost, listen on external address of localhost)

In hobbitserver.cfg on remote:
Ipaddress=127.0.01 or whatever the variable is.

There might be something else you need to do to get it working properly but I think this is it. Check the error logs if you have trouble with the remote side of things.


Regards,
Craig
quoted from L.M.J

-----Original Message-----
From: L.M.J [mailto:user-78bb6d5d9024@xymon.invalid] 
Sent: 29 November 2007 16:48
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Use several Hobbit on different place

Le Thu, 29 Nov 2007 10:15:23 -0000,
"Whilding, Craig" <user-9ce31bfa66c3@xymon.invalid> a écrit :
Further to this, if you want a display server running on the remote
sites (in case the WAN goes down for example) then you must setup the
secondary hobbit servers to run on localhost and get the proxy to
forward to both the main server and the localhost while listening on the
secondary server's external ipaddress.

This is what I do on most of our European sites and forward them to the
central hub. It means we have the data in two places by default.
That's exactly what I want to do!
The net location tags are very important if doing network tests at the
remote sites so that the main server doesn't try testing them as well. I
rsync the bb-hosts files from the remote servers with sub bb-host pages
on the main server.
I will double check the "net" option in bb-hosts. Last thing I'm asking : could you send me samples of your
bb-hosts using the "net" option?
Hope this is useful.

Regards,
Craig
list L.M.J · Thu, 29 Nov 2007 18:43:56 +0100 ·
Le Thu, 29 Nov 2007 17:07:44 -0000,
quoted from Craig Whilding
"Whilding, Craig" <user-9ce31bfa66c3@xymon.invalid> a écrit :
In the main bb-hosts file on the server:

137.xxx.xxx.1 gb17.gb.domain.com                # NET:main DESCR:"printer: "

page remote remote

include /usr/local/hobbit/server/etc/bb-hosts(remote)


in the remote bb-hosts subfile:

subpage Printers Printers

137.xx1.xxx.1 gb6.gbr.domain.com		# NET:remote
(you don't really need these tags on the remote sites when all hosts in their bb-hosts file will be tested
but it helps if you end up adding anymore tiers to your monitoring)


In hobbitserver.cfg on main server:

BBLOCATION="main"                    # The network location, makes bbtest-net test only hosts with NET:foo

In hobbitlaunch.cfg on remote:
CMD $BBHOME/bin/bbproxy --hobbitd --bbdisplay=137.xxx.xxx.1,127.0.0.1 --listen=137.xx1.xxx.54 --report
--no-daemon --pidfile=$BBSERVERLOGS/bbproxy.pid (ie send to main hobbit server and hobbit server running on
localhost, listen on external address of localhost)

In hobbitserver.cfg on remote:
Ipaddress=127.0.01 or whatever the variable is.

There might be something else you need to do to get it working properly but I think this is it. Check the
error logs if you have trouble with the remote side of things.


Regards,
Craig

All right, thanks you very much, i will check it out!  Thanks GUYS!