Xymon Mailing List Archive search

Disk / CPU / memory monitoring

list Allan Marillier
Fri, 29 Apr 2005 12:17:17 -0400
Message-Id: <user-c3fad1f04630@xymon.invalid>

I checked again just to be sure, but I had already set all clients over a year ago to have both servers listed as BBDISPLAY and BBNET, but only one as BBPAGER. I thought that was all I needed. The hostname and IP address have not changed - all I did was bring BB down on one of the two servers, install hobbit and copy across the bb-hosts and bring hobbit up.

Everything else worked like a dream, except my ssh test, which under BB I had to put in as ssh:s. Under hobbit that kept flipping between yellow (something like an unexpected ssh connect ting I think) and green . Once I removed :s from the ssh test that was also perfect.


user-ce4a2c883f75@xymon.invalid (Henrik Stoerner) 04/29/2005 11:14 AM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] Disk / CPU / memory monitoring


On Fri, Apr 29, 2005 at 09:47:39AM -0400, user-e3a6ebbee6cd@xymon.invalid wrote:
This may be a stupid oversight, but I am confused. I installed hobbit-4.0.2-1 yesterday on a server that was previously running BB. I took down the BB processes, completed the install and brought across my bb-hosts file. For now, I didn't bring across any of the history. Everything runs fine (better actually!), except that I don't get any updates for CPU, disk. memory, messages and processes. The clients are running just as they were before. When I look at the other server which 
is 
still running BB, I see the updates coming across the way they should.
Check the bb-hosts file used by the BB clients - they have their own
file, with a definition of which server is the BBDISPLAY server.
The hobbit server was previously configured as a failover BB server, 
which 
I never managed to get truly failing over and assuming the BBPAGER role anyway. In my bb-hosts I have both servers defined as BBNET and 
BBDISPLAY, 
but only one defined as BBPAGER.
I think your client bb-hosts file has the old BB server listed as
BBDISPLAY, instead of the Hobbit server.

You can have both, e.g. if you have the client installed in
/usr/local/bb/bbc1.9e-btf/ (the client $BBHOME setting) then in the
etc/bb-hosts file you can have

     10.0.0.1   bbserver.foo.com     # BBDISPLAY BBPAGER
     10.0.0.2   hobbitserver.foo.com # BBDISPLAY BBPAGER

The clients will then send their status updates to both servers.

Note: You need to restart the client after changing the bb-hosts file.


Henrik