[hobbit] Hobbit client for Windows

Vernon Everett v.everett at afgonline.com.au
Mon Nov 28 09:44:30 CET 2005


Indeed.
I prefer the Unix command line, so I normally install it anyway. But
most will have to install it.

The biggest problem with a Windoze client will be the inconsistency of
Windoze.
With some versions, a command is standard. With others you require a
service pack. Still others require the resource kit. Some versions of
Windoze just don't have some commands. It gets quite ugly.
I have been informed by my Windoze admin colleague that the behaviour of
commands can differ between versions too.
Cygwin is consistent, but not complete.

I now understand why Henrik hasn't produced a Windoze client yet.

Cheers
    Vernon


-----
No trees were killed in the creation of this message. However, many
electrons were terribly inconvenienced. 

-----Original Message-----
From: lars ebeling [mailto:lars.ebeling at leopg9.no-ip.org] 
Sent: Monday, 28 November 2005 4:36 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Hobbit client for Windows

Hi,

but this means that you have to have Cygwin installed. (?) I have taht
but not the resource kit.

Regards
Lars

----- Original Message -----
From: "Vernon Everett" <v.everett at afgonline.com.au>
To: <hobbit at hswn.dk>
Sent: Monday, November 28, 2005 9:22 AM
Subject: RE: [hobbit] Hobbit client for Windows


Hi Henrik

Not sure how I forgot this one, but sc will tell you all about services.


Cheers
   V


-----
No trees were killed in the creation of this message. However, many
electrons were terribly inconvenienced.

-----Original Message-----
From: Vernon Everett [mailto:v.everett at afgonline.com.au]
Sent: Monday, 28 November 2005 4:14 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Hobbit client for Windows

Hi Henrik

Adding the -W to the ps command includes Windoze as well as Cygwin
processes. I should have used that in my script.
Also, we can monitor swap with the free command. I should have put that
in too.

Monitoring services from command line is possible, but only with the
resource kit.
There is a command called sclist which does it.

As for the client modules - Hmmmm, that's C code. I will leave it to
those that know better. :-) The sum total of my C knowledge doesn't
extend very far beyond "Hello world".

Cheers
   Vernon


-----
No trees were killed in the creation of this message. However, many
electrons were terribly inconvenienced.

-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk]
Sent: Monday, 28 November 2005 3:21 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Hobbit client for Windows

(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


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _

NOTICE: This message and any attachments are confidential and may
contain copyright material of Australian Finance Group Limited or a
third party. It is intended solely for the purpose of the addressee and
any other named recipient. If you are not the intended recipient, any
use, distribution, disclosure or copying of this message is strictly
prohibited. The confidentiality attached to this message is not waived
or lost by reason of the mistaken transmission or delivery to any
unintended party. If you have received this message in error, please
notify the author immediately or contact Australian Finance Group on +61
8 9420 7888.


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _

NOTICE: This message and any attachments are confidential and may
contain 
copyright material
of Australian Finance Group Limited or a third party. It is intended
solely 
for the purpose of the
addressee and any other named recipient. If you are not the intended 
recipient, any use,
distribution, disclosure or copying of this message is strictly
prohibited. 
The confidentiality attached
to this message is not waived or lost by reason of the mistaken
transmission 
or delivery to any
unintended party. If you have received this message in error, please
notify 
the author immediately or
contact Australian Finance Group on +61 8 9420 7888.


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk




To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

NOTICE: This message and any attachments are confidential and may contain copyright material 
of Australian Finance Group Limited or a third party. It is intended solely for the purpose of the 
addressee and any other named recipient. If you are not the intended recipient, any use, 
distribution, disclosure or copying of this message is strictly prohibited. The confidentiality attached
to this message is not waived or lost by reason of the mistaken transmission or delivery to any 
unintended party. If you have received this message in error, please notify the author immediately or 
contact Australian Finance Group on +61 8 9420 7888.




More information about the Xymon mailing list