"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.
GLH
From: Gary Baluha [mailto:gumby3203 at gmail.com]
Sent: Wednesday, December 26, 2007 1:28 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Hobbit client
On Dec 26, 2007 12:29 PM, Frank M. Ramaekers
<FRamaekers at ailife.com> 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/serv er-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.