Xymon Mailing List Archive search

sending status messages

3 messages in this thread

list Marco Avvisano · Wed, 11 May 2005 12:11:48 +0200 ·
Hi all,

I would like to send status messages from a hobbit server to another.
What is the best way to do this?
It's correct to send the hobbitboard output to the other server?
thanks for help

M.
list Henrik Størner · Wed, 11 May 2005 14:22:05 +0200 ·
quoted from Marco Avvisano
On Wed, May 11, 2005 at 12:11:48PM +0200, Marco Avvisano wrote:
I would like to send status messages from a hobbit server to another.
What is the best way to do this?
It's correct to send the hobbitboard output to the other server?
Depends on what is is you want to achieve.

The "hobbitdboard" output is not really useful for anything but the
"bbgen" program creating webpages. So if you're just setting up an
extra server to act as the web front-end to Hobbit, you can use that - just disable hobbitd itself, and point it at the existing Hobbit server. It will then use "hobbitdboard" to fetch the status from a remote
Hobbit server.

If you're looking at setting up a second fail-over server, the best solution is either to run the two servers in parallel, and have your clients report to both servers. If reconfiguring all clients is impractical, I'd suggest configuring your current hobbitd to listen
only on IP 127.0.0.1 (the loopback interface), and using the "bbproxy"
tool to handle incoming connections from other hosts - it can then
forward them to both the real hobbitd server on 127.0.0.1, and a second
hobbitd running on another server.


Regards,
Henrik
list Marco Avvisano · Mon, 16 May 2005 11:59:18 +0200 ·
Hi Henrik,

my problem is that the servers don't make  the same tests. Server1 make only
a portion
of the tests that Server2 make.
It would be helping to have bbrelay option ... you don't have in plan to
make it?
You think it's possible in other way?

thanks for your help

M.
quoted from Marco Avvisano

On Wed, May 11, 2005 at 12:11:48PM +0200, Marco Avvisano wrote:
I would like to send status messages from a hobbit server to another.
What is the best way to do this?
It's correct to send the hobbitboard output to the other server?
Depends on what is is you want to achieve.

The "hobbitdboard" output is not really useful for anything but the
"bbgen" program creating webpages. So if you're just setting up an
extra server to act as the web front-end to Hobbit, you can use that -
just disable hobbitd itself, and point it at the existing Hobbit server.
It will then use "hobbitdboard" to fetch the status from a remote
Hobbit server.
If you're looking at setting up a second fail-over server, the best
solution is either to run the two servers in parallel, and have
your clients report to both servers. If reconfiguring all clients
is impractical, I'd suggest configuring your current hobbitd to listen
only on IP 127.0.0.1 (the loopback interface), and using the "bbproxy"
tool to handle incoming connections from other hosts - it can then
forward them to both the real hobbitd server on 127.0.0.1, and a second
hobbitd running on another server.


Regards,
Henrik