[hobbit] client data wont report to 2nd server
Sigurður Guðbrandsson
sigurdur at raforninn.is
Fri Oct 31 16:01:19 CET 2008
Hi Kevin.
I don't think that there should be anything wrong with having two different versions of hobbit.. however I haven't tried it myself.
This is a long shot, but hey ....
Did you check /etc/default/hobbit-client ?
Regards,
Sigurður Guðbrandsson
________________________________
From: Hanrahan, Kevin [mailto:Kevin.Hanrahan at elavon.com]
Sent: 30. október 2008 13:40
To: 'hobbit at hswn.dk'
Subject: RE: [hobbit] client data wont report to 2nd server
Hi Sigurður,
Thanks for the reply. I was not clear in describing my problem and I also left out what might be a key piece of info. I have the following:
Client A reports to server A
Client B reports to server B
I wanted to have client B report to server A and B
The piece I forgot to mention was :
Server A is running Hobbit 4.0 RC5
Server B is running Hobbit 4.2
does this matter? Is there a compatability problem with the newest client and an old version of Hobbit server?
kh
From: Sigurður Guðbrandsson [mailto:sigurdur at raforninn.is]
Sent: Thursday, October 30, 2008 5:33 AM
To: hobbit at hswn.dk
Subject: RE: [hobbit] client data wont report to 2nd server
Hello Kevin.
As I understand your problem, you want one central server that contains everything that other servers in your organization monitor. (Useful when you have multiple clients on different sites that do not have access straight to the internet or the main hobbit server)
This is something that I had to do a lot of investigation and testing to get it to function properly.
The solution is a right mixture of hobbitd and bbproxy by using two ports on the server.
Let me go into more detail.
First the theory:
You should have two ports open on the server, one for the bbproxy that will send out messages to two servers, localhost and the remote server. I chose 1984 (default) and 1985.
So when the bbproxy receives a message from a client, it forwards it to the local host AND the external server, however there is one problem with this, all the network tests (done locally) get screwed up!
The solution to this would be to have a different configuration file for those tests.
Second, configuration settings:
Start by copying your hobbitserver.cfg to another file, hobbitserverproxy.cfg, this enables the network tests to know where to send information. (The file should only have one ip address in BBSERVERIP, the eth0 IP. It should have the BBPORT 1984, it should contain BBDISP as $BBSERVERIP and BBDISPLAYS should be empty.)
Now, on to editing the original hobbitserver.cfg.
BBSERVERIP should be "127.0.0.1", BBPORT should be 1985, BBDISP should be "0.0.0.0" and BBDISPLAYS should be "$BBSERVERIP 12.34.56.78" (the ip of your external hobbit server).
Now edit hobbitlaunch.cfg
In the section [hobbitd], you should add '-listen=127.0.0.1:1985' to the CMD. The ENVFILE should stay the same.
In the section [bbproxy], you should comment out the DISABLED line. Change the ENVFILE to the hobbitserverproxy.cfg file. Change the CMD and add '--bbdisplay=127.0.0.1:1985,12.34.56.78' (the ip of your external hobbit server) after the '--hobbitd' option.
In the sections [bbnet] and [bbretest] you should change ENVFILE to hobbitserverproxy.cfg.
Third, restarting hobbit:
/etc/init.d/hobbitd restart
Easy as pie :-)
Hope you can use this information..
With regards,
Sigurður Guðbrandsson
________________________________
From: Hanrahan, Kevin [mailto:Kevin.Hanrahan at elavon.com]
Sent: 29. október 2008 12:26
To: 'hobbit at hswn.dk'
Subject: RE: [hobbit] client data wont report to 2nd server
yes, both client and server
From: Ralph Mitchell [mailto:ralphmitchell at gmail.com]
Sent: Tuesday, October 28, 2008 5:32 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] client data wont report to 2nd server
On Tue, Oct 28, 2008 at 4:05 PM, Hanrahan, Kevin <Kevin.Hanrahan at elavon.com> wrote:
Hi all,
I am trying to add a 2nd server to have the clients report to. I edited hobbitclient.cfg to be as such:
BBDISP="0.0.0.0" # IP address of the Hobbit server
BBDISPLAYS="192.168.1.1 192.168.1.2" # IP of multiple Hobbit servers. BBDISP must be "0.0.0.0".
the first server gets all the client data but the 2nd server only gets the data from the tests in the "ext" directory....the stuff called out in clientlaunch.cfg.
Things like disk, memory, cpu, etc never get to the 2nd server. What did I miss?
Did you bounce Hobbit??
Ralph Mitchell
----------------------------------------- Note: The information contained in this e-mail and in any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. The recipient should check this e-mail and any attachments for the presence of viruses. Sender accepts no liability for any damages caused by any virus transmitted by this e-mail. If you have received this e-mail in error, please notify us immediately by replying to the message and delete the e-mail from your computer. Elavon (formerly NOVA Information Systems)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20081031/2d8a2d17/attachment.html>
More information about the Xymon
mailing list