Xymon Mailing List Archive search

Hobbit client

list Gary Baluha
Thu, 27 Dec 2007 14:04:35 -0500
Message-Id: <user-fbba60741ce4@xymon.invalid>

On Dec 27, 2007 1:37 PM, Hubbard, Greg L <user-d970b5e56ec9@xymon.invalid> wrote:
 "There really shouldn't be a need to run the client and server on the
same machine."

Actually, I think the client is not *required* on the server, but it is
pretty handy.  When you launch the server, the client runs too, or else you
would not get those statistics about CPU, memory, disk, etc.  It takes some
work to disable it.
True, the startup script for the server process also starts the client.
What I meant is that there is no need to also run the client startup script
separately.  You can also have the server run local external scripts just
like the client.  So in short, there is no need to go into the
HOBBITHOME/client directories.

*From:* Gary Baluha [mailto:user-ae3e15c22de1@xymon.invalid]
*Sent:* Wednesday, December 26, 2007 1:28 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit client

On Dec 26, 2007 12:29 PM, Frank M. Ramaekers <user-dbd5c100cfe9@xymon.invalid>
wrote:
This is my first attempt at installing a hobbit client on a Linux box,
and I'm attempting to install it on the same box that the server is
running on.

There really shouldn't be a need to run the client and server on the same
machine.

I have the client running, but the only items reported are bbgen,
bbtest, conn, hobbitd, info and trends.   I want information on disk and

CPU utilization.   Is this possible?

Yes.  See below for an example of my bb-hosts file for this purpose.

Is it possible to combine the client/server information?  Right now I'm
getting two lnes:

subpage Hobbit Hobbit Server
127.0.0.1   Hobbit.domain.com         # bbd ssh ftp
http://DoyleBrunson.ailife.com/
apache=http://thisserver.domain.com/server-status?auto
TRENDS:*,apache:apache|apache1|apache2|apache3<http://DoyleBrunson.ailife.com/apache=http://thisserver.domain.com/server-status?autoTRENDS:*,apache:apache%7Capache1%7Capache2%7Capache3>;
10.2.0.99   Hobbit                      #

1.2.3.4   hobbit          # BBDISPLAY BBPAGER BBNET bbd
http://hobbit.internal.net/ CLIENT:machine.alias.com NOCOLUMNS:files,ports

Where 1.2.3.4 is the public IP of the hobbit machine.  In my case, the
physical machine is called something different than the URL used to get to
the Hobbit display page, hence the CLIENT: option.  This shouldn't be
necessary in your case.

Also, I'm getting the following in msg.Hobbit.txt:
[msgs:/var/log/messages]
Cannot open logfile /var/log/messages : Permission denied

[logfile:/var/log/messages]
<SNIP>
You have to change the permissions on /var/log/messages so it is group
readable by whatever group Hobbit is running as.  I believe the default
linux perms are 644 root:root, so you'll need something like 644
root:hobbit.