Xymon Mailing List Archive search

Hobbit client for Windows

list Jeff Newman
Mon, 28 Nov 2005 16:18:56 -0600
Message-Id: <user-aef3baae8fc9@xymon.invalid>

Please excuse my ignorance as Im new to hobbit/BB, but whats wrong
with the Big Brother client? I run a hobbit server, downloaded the windows
client
off of the big brother site, installed it, and it reports stuff to hobbit
just fine.

-Jeff


On 11/28/05, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
(Note: I changed the subject)

Hi Vernon,

On Mon, Nov 28, 2005 at 03:01:41PM +0800, Vernon Everett wrote:
Hobbit client runs on Windoze. (Disclaimer applies - see below)
:-)

After a little bit of playing around, I managed to compile the client in
Windows, and it works.
[snip story of porting the client to Windows with Cygwin]
It's far from perfect but I think it's a good starting point, and there
will hopefully be no need for multiple code versions for different
platforms.
It's a neat hack, and it does give you the basic functionality. But:
There are some severe limitations to this approach. Cygwin's "ps" output
for instance only includes the processes that have been started from a
Cygwin prompt - not the system processes you'd probably want to check.
And monitoring Windows services is not possible, I believe.
Right now it's doing its thing, and sending data back to the server (I
think) but the server is not displaying any results other than conn.
How can I check what's being received by the server, and what's being
done with it?
It probably isn't doing anything with the data. The client data is
handled by the hobbitd_client module, which needs to learn how to
interpret data from this unknown OS called "windows". If you look at
the hobbitd/client/ directory in the Hobbit sources, you'll see there
are a bunch of files - one per OS - with code to handle the particular
report sent by each OS. Something must be added to deal with the
report from your Windows client.


Regards,
Henrik