Xymon Mailing List Archive search

Windows logs.

32 messages in this thread

list Thomas Pedersen · Mon, 21 Nov 2005 13:00:24 +0100 ·
Hi !
Any of you had to monitor logs on a windows box where the file is 
located in a directory with spaces in ?

bb-msgs.pl version 1.1 breaks if I try.

/Thomas
list Allan Spencer · Tue, 22 Nov 2005 10:06:53 +1100 ·
quoted from Thomas Pedersen
Thomas wrote:
Hi !
Any of you had to monitor logs on a windows box where the file is located in a directory with spaces in ?

bb-msgs.pl version 1.1 breaks if I try.

/Thomas

Have you tried taking out the space ? Convert the folder to dos 8.3 format so for eg Program Files ends up being progra~1   Everything gets truncated to 6 chars + ~1. I know its Perl and not dos but it cant hurt to try :)

Allan
list Thomas Pedersen · Tue, 22 Nov 2005 09:20:45 +0100 ·
Yes this is what I ended up doing. I noticed that if I do a dir /X then the 8.3 format is shown, but then I ran into the next problem and this is wildcard filnames ie. syslog*.log as the logs are named with the date in the filename. This require a total rewrite of the bb-msgs.pl script as far as I could see.

So I told the managers that this was not possible given the timeframe on a windows box. :-( no happy about it.

Thanks for replying.

/Thomas
quoted from Allan Spencer

ZanDAhaR wrote:
Thomas wrote:
Hi !
Any of you had to monitor logs on a windows box where the file is located in a directory with spaces in ?

bb-msgs.pl version 1.1 breaks if I try.

/Thomas

Have you tried taking out the space ? Convert the folder to dos 8.3 format so for eg Program Files ends up being progra~1   Everything gets truncated to 6 chars + ~1. I know its Perl and not dos but it cant hurt to try :)

Allan

list Allan Spencer · Wed, 23 Nov 2005 09:20:51 +1100 ·
quoted from Thomas Pedersen
Thomas wrote:
Yes this is what I ended up doing. I noticed that if I do a dir /X then the 8.3 format is shown, but then I ran into the next problem and this is wildcard filnames ie. syslog*.log as the logs are named with the date in the filename. This require a total rewrite of the bb-msgs.pl script as far as I could see.

So I told the managers that this was not possible given the timeframe on a windows box. :-( no happy about it.

Thanks for replying.

/Thomas

ZanDAhaR wrote:
Thomas wrote:
Hi !
Any of you had to monitor logs on a windows box where the file is located in a directory with spaces in ?

bb-msgs.pl version 1.1 breaks if I try.

/Thomas

Have you tried taking out the space ? Convert the folder to dos 8.3 format so for eg Program Files ends up being progra~1   Everything gets truncated to 6 chars + ~1. I know its Perl and not dos but it cant hurt to try :)

Allan

I'm sure someone else could help you out with the perl expression but I think maybe it should be %syslog* or something. I'm not a perl junkie so dont take my word as gospel :)

HTH

Allan
list Gerard Lill · Wed, 23 Nov 2005 09:32:55 -0000 ·
Folks,

Attached is two files - one for parsing through a directory looking for
Log files and returning key pieces of information; the other for
searching the windows Event Log using WMI.

The Event Log parser will only work on Windows 2003 server I believe.
The support folder of a Windows 2000 server probably contains a command
line driven applet for interrogating the event log.

Hope this helps.


-Gerard
quoted from Allan Spencer

-----Original Message-----
From: ZanDAhaR [mailto:user-42a3456c44ef@xymon.invalid] Sent: Tuesday, 22 November 2005 22:21
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Windows logs.

Thomas wrote:
Yes this is what I ended up doing. I noticed that if I do a dir /X then the 8.3 format is shown, but then I ran into the next problem and
this is wildcard filnames ie. syslog*.log as the logs are named with the date in the filename. This require a total rewrite of the bb-msgs.pl script as far as I could see.

So I told the managers that this was not possible given the timeframe on a windows box. :-( no happy about it.

Thanks for replying.

/Thomas

ZanDAhaR wrote:
Thomas wrote:
Hi !
Any of you had to monitor logs on a windows box where the file is located in a directory with spaces in ?

bb-msgs.pl version 1.1 breaks if I try.

/Thomas

Have you tried taking out the space ? Convert the folder to dos 8.3 format so for eg Program Files ends up being progra~1   Everything gets truncated to 6 chars + ~1. I know its Perl and not dos but it cant hurt to try :)

Allan

I'm sure someone else could help you out with the perl expression but I think maybe it should be %syslog* or something. I'm not a perl junkie so

dont take my word as gospel :)

HTH

Allan
Attachments (2)
list Jeff Stuart · Wed, 23 Nov 2005 12:54:43 -0500 ·
quoted from Gerard Lill
Gerard Lill wrote:
Folks,

Attached is two files - one for parsing through a directory looking for
Log files and returning key pieces of information; the other for
searching the windows Event Log using WMI.

The Event Log parser will only work on Windows 2003 server I believe.
The support folder of a Windows 2000 server probably contains a command
line driven applet for interrogating the event log.

Hope this helps.


-Gerard
This brings up a dumb question.  Is there a windows client for hobbit?

-- 
Jeff Stuart
Network Admin 
MyInternetServices.com
1-800-300-HOST


--
list Charles Jones -X Charljon - Cisco Learning Institute at Cisco · Wed, 23 Nov 2005 13:42:58 -0800 ·
This brings up a dumb question.  Is there a windows client for hobbit?
I am using the "bbNT" client. It is a windows client for BigBrother that
seems to work well with Hobbit as well.
list Henrik Størner · Wed, 23 Nov 2005 22:53:29 +0100 ·
quoted from Jeff Stuart
On Wed, Nov 23, 2005 at 12:54:43PM -0500, Jeff Stuart wrote:
This brings up a dumb question.  Is there a windows client for hobbit?
Not yet, but I have reason to believe that one will show up within a
couple of months.


Regards,
Henrik
list Henrik Størner · Wed, 23 Nov 2005 22:58:44 +0100 ·
quoted from Charles Jones -X Charljon - Cisco Learning Institute at Cisco
On Wed, Nov 23, 2005 at 01:42:58PM -0800, Charles Jones -X (charljon - Cisco Learning Institute at Cisco) wrote:
This brings up a dumb question.  Is there a windows client for hobbit?
I am using the "bbNT" client. It is a windows client for BigBrother that
seems to work well with Hobbit as well.
You should be aware that this is a non-free*) product. There is a per-seat license cost, and I am not entirely sure of whether you are allowed to use it with a non-BB server.


Regards,
Henrik

*) Dont misunderstand me - the BB guys who developed the BBNT client did
a good job, and they have every right to license it in whatever way they
like. I just happen to believe that another kind of license is more appropriate for the software I write.
list Charles Jones -X Charljon - Cisco Learning Institute at Cisco · Wed, 23 Nov 2005 14:19:04 -0800 ·
Sounds like we need someone who is good at VC++ to create a nice hobbit
windows client. I would volunteer but I am lacking the knowledge,
usually when I need to do something on windows I write in in perl
(ActivePerl) :)
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Wednesday, November 23, 2005 2:59 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Windows logs.

On Wed, Nov 23, 2005 at 01:42:58PM -0800, Charles Jones -X (charljon -
Cisco Learning Institute at Cisco) wrote:
This brings up a dumb question.  Is there a windows client for
hobbit?
I am using the "bbNT" client. It is a windows client for BigBrother 
that seems to work well with Hobbit as well.
You should be aware that this is a non-free*) product. There is a
per-seat license cost, and I am not entirely sure of whether you are
allowed to use it with a non-BB server.


Regards,
Henrik

*) Dont misunderstand me - the BB guys who developed the BBNT client did
a good job, and they have every right to license it in whatever way they
like. I just happen to believe that another kind of license is more
appropriate for the software I write.
list Henrik Størner · Thu, 24 Nov 2005 07:39:38 +0100 ·
quoted from Charles Jones -X Charljon - Cisco Learning Institute at Cisco
On Wed, Nov 23, 2005 at 02:19:04PM -0800, Charles Jones -X (charljon - Cisco Learning Institute at Cisco) wrote:
Sounds like we need someone who is good at VC++ to create a nice hobbit
windows client. I would volunteer but I am lacking the knowledge,
I have a volunteer who is looking at doing a Hobbit client for Windows.


Regards,
Henrik
list Anatoli Bogajewski · Thu, 24 Nov 2005 11:09:21 +0100 ·
Hi,

I've written some Java classes for testing application performance on windows clients. So there is an agent similar to "bb" and scheduler similar to "hobbitlaunch" utilities ready for use. The scheduler is configurable also in the same way like hobbit clients and can be used for launching external tests, which are in my case some vbscripts for gathering performance counters. hobbitlaunch is configurable  to run as NT service using http://jslwin.sourceforge.net/. To turn all this to fully fledged hobbit client there would be necessary to write some scripts to gather any data from windows boxes you need. Betimes i wanted to do this, but if anyone interested i would provide those classes for further development. Assuming you like Java :)

Best wishes,
 Anatoli Bogajewski


user-ce4a2c883f75@xymon.invalid schrieb am 24.11.2005 07:39:38:
quoted from Henrik Størner
On Wed, Nov 23, 2005 at 02:19:04PM -0800, Charles Jones -X (charljon
- Cisco Learning Institute at Cisco) wrote:
Sounds like we need someone who is good at VC++ to create a nice 
hobbit
windows client. I would volunteer but I am lacking the knowledge,
I have a volunteer who is looking at doing a Hobbit client for Windows.


Regards,
Henrik

list Jason Chambers · Thu, 24 Nov 2005 13:10:37 -0500 ·
The one from Quest Software is a per seat license. The one from the open
source project (no longer being created/patched) is still free.
http://www.bb4.org

Jason Chambers
IT Helpdesk Support
Geosoft Inc.
XX Richmond St. West - 8th Floor
Toronto, Ontario, Canada
M5H 2C9
Tel: XXX-XXX-XXXX x344
Fax: XXX-XXX-XXXX
www.geosoft.com
quoted from Charles Jones -X Charljon - Cisco Learning Institute at Cisco
 
 
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Wednesday, November 23, 2005 4:59 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Windows logs.

On Wed, Nov 23, 2005 at 01:42:58PM -0800, Charles Jones -X (charljon -
Cisco Learning Institute at Cisco) wrote:
This brings up a dumb question.  Is there a windows client for
hobbit?
I am using the "bbNT" client. It is a windows client for BigBrother
that
seems to work well with Hobbit as well.
You should be aware that this is a non-free*) product. There is a
per-seat 
license cost, and I am not entirely sure of whether you are allowed to
use 
it with a non-BB server.


Regards,
Henrik

*) Dont misunderstand me - the BB guys who developed the BBNT client did
a good job, and they have every right to license it in whatever way they
like. I just happen to believe that another kind of license is more 
appropriate for the software I write.
list Henrik Størner · Thu, 24 Nov 2005 21:57:48 +0100 ·
quoted from Jason Chambers
On Thu, Nov 24, 2005 at 01:10:37PM -0500, Jason Chambers wrote:
The one from Quest Software is a per seat license. The one from the open
source project (no longer being created/patched) is still free.
http://www.bb4.org
The bb4.org Windows client is not open source - it is binary only.
And it is only free (in the $$$ sense) for non-commercial use.
In my case - the hosting/outsourcing business - we have to pay
a license per seat.


Regards,
Henrik
list Vernon Everett · Mon, 28 Nov 2005 15:01:41 +0800 ·
Hi Henrik 

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.

I did cheat a little. Sort of.
I had Cygwin installed.
For those not familiar with Cygwin, it brings the joys of Unix to
Windows, including shell scripts, cron, sed, awk, ls, vi and all those
other commands we know and love so much. 
It's published under GNU GPL.  :-)
You can download or install it from here. http://www.cygwin.com/
To quote their FAQ
---snip---
What is it?
	
The Cygwin tools are ports of the popular GNU development tools for
Microsoft Windows. They run thanks to the Cygwin library which provides
the UNIX system calls and environment these programs expect.

With these tools installed, it is possible to write Win32 console or GUI
applications that make use of the standard Microsoft Win32 API and/or
the Cygwin API. As a result, it is possible to easily port many
significant Unix programs without the need for extensive changes to the
source code. This includes configuring and building most of the
available GNU software (including the packages included with the Cygwin
development tools themselves). Even if the development tools are of
little to no use to you, you may have interest in the many standard Unix
utilities provided with the package. They can be used both from the bash
shell (provided) or from the standard Windows command shell. 
---snip---

To install Hobbit client, I simply extracted the .tar, ran
configure.client, make, make install.
There are a few caveats.
1. It needs a valid user. (Once Cygwin's installed check /etc/passwd for
a list)
2. It doesn't like spaces in the install path folder names
3. Most of the development components of Cygwin need to be installed
first. (These are not installed by default)

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. 
I hit a few problems. First, it doesn't know what OS it's running. 
I hacked the runclient.sh and set os to sunos to try and bring some
sanity to the world, but it still had no clue.
After looking at how runclient works, I realised I could rewrite
hobbitclient-sunos.sh for Cygwin.

I had to add a line to runclient.sh, just after the BBOSTYPE=
I added
	echo $BBOSTYPE | grep cygwin && BBOSTYPE=cygwin
This cuts all the other garbage from the uname -s output which might be
different, depending on what version of Windoze you use.

I then created a hobbitclient-cygwin.sh with a few commands changed to
provide output as close to that provided by the equivalent sunos
commands. (attached)
Also, because of limitations in the Cygwin shell, I also had to abstract
the vmstat test to an external script, which I put in $BBCLIENTHOME/bin/
for convenience. (Also attached)

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?

Regards
    Vernon


No trees were killed in the creation of this message. However, many
electrons were terribly inconvenienced. 
quoted from Anatoli Bogajewski

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, 24 November 2005 2:40 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Windows logs.

On Wed, Nov 23, 2005 at 02:19:04PM -0800, Charles Jones -X (charljon -
Cisco Learning Institute at Cisco) wrote:
Sounds like we need someone who is good at VC++ to create a nice 
hobbit windows client. I would volunteer but I am lacking the 
knowledge,
I have a volunteer who is looking at doing a Hobbit client for Windows.


Regards,
Henrik


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

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.
Attachments (2)
list Vernon Everett · Mon, 28 Nov 2005 15:09:39 +0800 ·
I just had a look at this mail, and the scripts came out looking very
ugly.
Here they are again in text format.

--- hobbitclient-cygwin.sh ---
 
#!/bin/sh
#-----------------------------------------------------------------------
-----#
# Cygwin client for Hobbit
#
#
#
# Copyright (C) 2005 Henrik Storner <user-ce4a2c883f75@xymon.invalid>
#
#
#
# This program is released under the GNU General Public License (GPL),
#
# version 2. See the file "COPYING" for details.
#
#
#
#-----------------------------------------------------------------------
-----#
#
# $Id: hobbitclient-sunos.sh,v 1.5 2005/08/01 05:58:29 henrik Exp $

echo "[date]"
date
echo "[uname]"
uname -a
echo "[uptime]"
uptime
echo "[who]"
w

echo "[df]"
df -k

echo "[prtconf]"

echo "[memory]"
vmstat 1 2 | tail -1
echo "[swap]"

echo "[netstat]"
netstat -s
echo "[ps]"
ps -ef
echo "[top]"
top -b -n1
# vmstat
nohup $HOBBITCLIENTHOME/bin/getvmstat.sh &
sleep 5
if test -f $BBTMP/hobbit_vmstat; then echo "[vmstat]"; cat
$BBTMP/hobbit_vmstat;
 rm -f $BBTMP/hobbit_vmstat; fi

exit
--- end ---

--- getvmstat.sh ---
#
vmstat 300 2 1>$BBTMP/hobbit_vmstat.$$ 2>&1
mv $BBTMP/hobbit_vmstat.$$ $BBTMP/hobbit_vmstat </dev/null >/dev/null
2>&1

--- end ---
signature

Regards
    Vernon


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

-----Original Message-----

quoted from Vernon Everett
From: Vernon Everett [mailto:user-99fc6b22a3a3@xymon.invalid] 
Sent: Monday, 28 November 2005 3:02 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Windows logs.

Hi Henrik 

Hobbit client runs on Windoze. (Disclaimer applies - see below)

:-)
quoted from Vernon Everett

After a little bit of playing around, I managed to compile the client in
Windows, and it works.

I did cheat a little. Sort of.
I had Cygwin installed.
For those not familiar with Cygwin, it brings the joys of Unix to
Windows, including shell scripts, cron, sed, awk, ls, vi and all those
other commands we know and love so much. 
It's published under GNU GPL.  :-)
You can download or install it from here. http://www.cygwin.com/ To
quote their FAQ
---snip---
What is it?
	
The Cygwin tools are ports of the popular GNU development tools for
Microsoft Windows. They run thanks to the Cygwin library which provides
the UNIX system calls and environment these programs expect.

With these tools installed, it is possible to write Win32 console or GUI
applications that make use of the standard Microsoft Win32 API and/or
the Cygwin API. As a result, it is possible to easily port many
significant Unix programs without the need for extensive changes to the
source code. This includes configuring and building most of the
available GNU software (including the packages included with the Cygwin
development tools themselves). Even if the development tools are of
little to no use to you, you may have interest in the many standard Unix
utilities provided with the package. They can be used both from the bash
shell (provided) or from the standard Windows command shell. 
---snip---

To install Hobbit client, I simply extracted the .tar, ran
configure.client, make, make install.
There are a few caveats.
1. It needs a valid user. (Once Cygwin's installed check /etc/passwd for
a list) 2. It doesn't like spaces in the install path folder names 3.
Most of the development components of Cygwin need to be installed first.
(These are not installed by default)

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. 
I hit a few problems. First, it doesn't know what OS it's running. 
I hacked the runclient.sh and set os to sunos to try and bring some
sanity to the world, but it still had no clue.
After looking at how runclient works, I realised I could rewrite
hobbitclient-sunos.sh for Cygwin.

I had to add a line to runclient.sh, just after the BBOSTYPE= I added
	echo $BBOSTYPE | grep cygwin && BBOSTYPE=cygwin This cuts all
the other garbage from the uname -s output which might be different,
depending on what version of Windoze you use.

I then created a hobbitclient-cygwin.sh with a few commands changed to
provide output as close to that provided by the equivalent sunos
commands. (attached) Also, because of limitations in the Cygwin shell, I
also had to abstract the vmstat test to an external script, which I put
in $BBCLIENTHOME/bin/ for convenience. (Also attached)

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?

Regards
    Vernon


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

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Thursday, 24 November 2005 2:40 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Windows logs.

On Wed, Nov 23, 2005 at 02:19:04PM -0800, Charles Jones -X (charljon -
Cisco Learning Institute at Cisco) wrote:
Sounds like we need someone who is good at VC++ to create a nice 
hobbit windows client. I would volunteer but I am lacking the 
knowledge,
I have a volunteer who is looking at doing a Hobbit client for Windows.


Regards,
Henrik


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

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.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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.
list Henrik Størner · Mon, 28 Nov 2005 08:21:09 +0100 ·
(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)
:-)
quoted from Vernon Everett

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]
quoted from Vernon Everett
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.
quoted from Vernon Everett
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
list Vernon Everett · Mon, 28 Nov 2005 16:14:18 +0800 ·
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
signature
   Vernon


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

-----Original Message-----

quoted from Henrik Størner
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Monday, 28 November 2005 3:21 PM
To: user-ae9b8668bcde@xymon.invalid
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)

:-)
quoted from Henrik Størner

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


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

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.
list Vernon Everett · Mon, 28 Nov 2005 16:22:34 +0800 ·
Hi Henrik

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


Cheers
   V 
signature


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

-----Original Message-----

quoted from Vernon Everett
From: Vernon Everett [mailto:user-99fc6b22a3a3@xymon.invalid] 
Sent: Monday, 28 November 2005 4:14 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, 28 November 2005 3:21 PM
To: user-ae9b8668bcde@xymon.invalid
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)

:-)
quoted from Vernon Everett

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


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

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.


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

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.
list Lars Ebeling · Mon, 28 Nov 2005 09:35:52 +0100 ·
Hi,

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

Regards
Lars
quoted from Vernon Everett

----- Original Message ----- 
From: "Vernon Everett" <user-99fc6b22a3a3@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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:user-99fc6b22a3a3@xymon.invalid]
Sent: Monday, 28 November 2005 4:14 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, 28 November 2005 3:21 PM
To: user-ae9b8668bcde@xymon.invalid
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)

:-)
quoted from Vernon Everett

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


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

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.


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

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.
list Vernon Everett · Mon, 28 Nov 2005 16:44:30 +0800 ·
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.
signature

Cheers
    Vernon


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

-----Original Message-----

quoted from Lars Ebeling
From: lars ebeling [mailto:user-1fecd3eafd52@xymon.invalid] 
Sent: Monday, 28 November 2005 4:36 PM
To: user-ae9b8668bcde@xymon.invalid
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" <user-99fc6b22a3a3@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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:user-99fc6b22a3a3@xymon.invalid]
Sent: Monday, 28 November 2005 4:14 PM
To: user-ae9b8668bcde@xymon.invalid
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:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, 28 November 2005 3:21 PM
To: user-ae9b8668bcde@xymon.invalid
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)

:-)
quoted from Lars Ebeling

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


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

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.


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

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.


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

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.
list Lars Ebeling · Mon, 28 Nov 2005 10:09:46 +0100 ·
Where do I find the resource kit? I unpacked the latest snapshot and started 
with configure. There where no sudo and fping. What other utilities are 
needed?
quoted from Vernon Everett

Regards
Lars

----- Original Message ----- 
From: "Vernon Everett" <user-99fc6b22a3a3@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Monday, November 28, 2005 9:44 AM
Subject: RE: [hobbit] Hobbit client for Windows


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
list Henrik Størner · Mon, 28 Nov 2005 10:25:48 +0100 ·
quoted from Vernon Everett
On Mon, Nov 28, 2005 at 04:44:30PM +0800, Vernon Everett wrote:
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.
Indeed - despite all the talk about Unix being "fragmented", the
Unix API and command-interface is immensely more consistent than
the Windows ditto.
I now understand why Henrik hasn't produced a Windoze client yet.
It took me about a week to write all of the Unix clients - Linux,
*BSD, AIX, HP-UX, plus the server-side back-end - after which I had
a rough implementation that mostly worked, but needed some testing.

It's been about 7 years since I last had the misfortune to do any
programming on Windows, so writing a Win32 client would probably 
take significantly longer than that. The Windows "performance counter"
API is just ... abominable.

(If you want to see some live examples of the different ways of 
 thinking in the OpenSource world vs. the Windows world, have a
 look at this comparison between the Open Document (.odt) XML format 
 and Microsoft's .docx XML format. 
    http://www.groklaw.net/article.php?story=20051125144611543
 If you thought using XML would help with interoperability,
 you're in for a surprise).

My biggest concern for a Windows client is how to support it.


Regards,
Henrik
list Henrik Størner · Mon, 28 Nov 2005 10:26:49 +0100 ·
quoted from Lars Ebeling
On Mon, Nov 28, 2005 at 10:09:46AM +0100, lars ebeling wrote:
Where do I find the resource kit? I unpacked the latest snapshot and 
started with configure. There where no sudo and fping. What other utilities 
are needed?
I think Vernon did a client-configuration only. Try running Hobbit's
configure script with the --client option.


Henrik
list Manu · Mon, 28 Nov 2005 20:06:20 +0100 ·
Hi,

I'm absolutely new to this list but I just want to throw my thoughts in.

On the bigbrother extensions-site I saw a perl script implementing the 
bigbrother protocol.
Taking this script as a starting point, using some perl-modules from 
the Win32::-family, making use of the WMI ( 
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/wmi_reference.asp ) 
and a bit of hacking would end up with a hobbit-windows client.

In our IT department (where we use many windows servers, 
unfortunately), it is not applicable to have cygwin on the servers. So 
the best way would rather be writing a hobbit client either in perl or 
C#.

....
Sorry for mentioning C# and discrediting cygwin, but I wanted to state 
that (IMHO) cygwin is not the (business concerning) answer...

regards,
Manuel


----- Message from user-ce4a2c883f75@xymon.invalid ---------
quoted from Henrik Størner
     Date: Mon, 28 Nov 2005 10:25:48 +0100
     From: Henrik Stoerner <user-ce4a2c883f75@xymon.invalid>
Reply-To: user-ae9b8668bcde@xymon.invalid
  Subject: Re: [hobbit] Hobbit client for Windows
       To: user-ae9b8668bcde@xymon.invalid

On Mon, Nov 28, 2005 at 04:44:30PM +0800, Vernon Everett wrote:
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.
Indeed - despite all the talk about Unix being "fragmented", the
Unix API and command-interface is immensely more consistent than
the Windows ditto.
I now understand why Henrik hasn't produced a Windoze client yet.
It took me about a week to write all of the Unix clients - Linux,
*BSD, AIX, HP-UX, plus the server-side back-end - after which I had
a rough implementation that mostly worked, but needed some testing.

It's been about 7 years since I last had the misfortune to do any
programming on Windows, so writing a Win32 client would probably
take significantly longer than that. The Windows "performance counter"
API is just ... abominable.

(If you want to see some live examples of the different ways of
 thinking in the OpenSource world vs. the Windows world, have a
 look at this comparison between the Open Document (.odt) XML format
 and Microsoft's .docx XML format.
    http://www.groklaw.net/article.php?story=20051125144611543
 If you thought using XML would help with interoperability,
 you're in for a surprise).

My biggest concern for a Windows client is how to support it.


Regards,
Henrik

----- End message from user-ce4a2c883f75@xymon.invalid -----
list Peter Douglass · Mon, 28 Nov 2005 14:15:21 -0500 ·
Hi,
   I also just signed up for this list.  A co-worker suggested to me that there is work being done on a windows client, but I was unable to find a reference to such work in the list archive.
   We need a windows client at my work.  Because we need to customize it, we need the source code, so BB won't do.  I am willing to work on such a client, but I want to know what has been done in this area, who else is working on such a project etc. before I invest too much time. Anyone have details on Windows client projects?
--PeterD
quoted from Manu

Manu wrote:
Hi,

I'm absolutely new to this list but I just want to throw my thoughts in.

On the bigbrother extensions-site I saw a perl script implementing the bigbrother protocol.
Taking this script as a starting point, using some perl-modules from the Win32::-family, making use of the WMI ( http://msdn.microsoft.com/library/en-us/wmisdk/wmi/wmi_reference.asp ) and a bit of hacking would end up with a hobbit-windows client.

In our IT department (where we use many windows servers, unfortunately), it is not applicable to have cygwin on the servers. So the best way would rather be writing a hobbit client either in perl or C#.

....
Sorry for mentioning C# and discrediting cygwin, but I wanted to state that (IMHO) cygwin is not the (business concerning) answer...

regards,
Manuel


----- Message from user-ce4a2c883f75@xymon.invalid ---------
    Date: Mon, 28 Nov 2005 10:25:48 +0100
    From: Henrik Stoerner <user-ce4a2c883f75@xymon.invalid>
Reply-To: user-ae9b8668bcde@xymon.invalid
 Subject: Re: [hobbit] Hobbit client for Windows
      To: user-ae9b8668bcde@xymon.invalid

On Mon, Nov 28, 2005 at 04:44:30PM +0800, Vernon Everett wrote:
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.

Indeed - despite all the talk about Unix being "fragmented", the
Unix API and command-interface is immensely more consistent than
the Windows ditto.
I now understand why Henrik hasn't produced a Windoze client yet.

It took me about a week to write all of the Unix clients - Linux,
*BSD, AIX, HP-UX, plus the server-side back-end - after which I had
a rough implementation that mostly worked, but needed some testing.

It's been about 7 years since I last had the misfortune to do any
programming on Windows, so writing a Win32 client would probably
take significantly longer than that. The Windows "performance counter"
API is just ... abominable.

(If you want to see some live examples of the different ways of
 thinking in the OpenSource world vs. the Windows world, have a
 look at this comparison between the Open Document (.odt) XML format
 and Microsoft's .docx XML format.
    http://www.groklaw.net/article.php?story=20051125144611543
 If you thought using XML would help with interoperability,
 you're in for a surprise).

My biggest concern for a Windows client is how to support it.


Regards,
Henrik

----- End message from user-ce4a2c883f75@xymon.invalid -----

list Jeff Newman · Mon, 28 Nov 2005 16:18:56 -0600 ·
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
quoted from Vernon Everett


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)

:-)
quoted from Vernon Everett

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

list Rob MacGregor · Mon, 28 Nov 2005 22:33:39 +0000 ·
quoted from Jeff Newman
On 28/11/05, Jeff Newman <user-e96740e73ca8@xymon.invalid> wrote:
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.
Licensing - you may just want to read the license agreement :-)

--
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Vernon Everett · Tue, 29 Nov 2005 13:19:33 +0800 ·
Hi Lars, Henrik

You are correct. This was a client installation only.
I wouldn't try install the server on Windows. It might work, but I see
no benefit.
signature

Cheers
    Vernon 

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

quoted from Vernon Everett
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Monday, 28 November 2005 5:27 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit client for Windows

On Mon, Nov 28, 2005 at 10:09:46AM +0100, lars ebeling wrote:
Where do I find the resource kit? I unpacked the latest snapshot and started with configure. There where no sudo and fping. What other utilities are needed?
I think Vernon did a client-configuration only. Try running Hobbit's
configure script with the --client option.


Henrik


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

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.
list Gerard Lill · Tue, 29 Nov 2005 13:47:44 -0000 ·
WMI.

I know nothing about programming; but - WMI.  Every server we monitor
and manage is running Windows 2000 server or later; which means we found
our common ground.

Peter - If you wanted to know who has been working on a hobbit client -
we have.

Attached is an implementation that runs as a windows service, checking
performance counters and passing results to the server.  The service is
designed to query an SQL server (yes - MS SQL :)), passing it's full
hostname as an argument, which returns a full list of WMI counters to
monitor, the address of the hobbit server to report to, the frequency,
whether to create a log file, and if so where.  (Basically, the client
is completely without any configuration, designed to up-date it's config
with every boot)

I agree we need someone to co-ordinate this effort to ultimately produce
the windows / windoze client that Hobbit is lacking.  One of the few
short-comings of Hobbit IMHO.

You can download the source at http://www.ets.biz/hobbitmonitor.zip -
it's under any licensing model you care to chose :).

 
Gerard Lill
T: +44 (0)20 8797 7799
F: +44 (0)20 8797 4725 
www.ets.biz
Eclipse Technology Services
quoted from Rob MacGregor
-----Original Message-----
From: Rob MacGregor [mailto:user-07c9d92ae079@xymon.invalid] 
Sent: Monday, 28 November 2005 22:34
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit client for Windows

On 28/11/05, Jeff Newman <user-e96740e73ca8@xymon.invalid> wrote:
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.
Licensing - you may just want to read the license agreement :-)

--
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Vernon Everett · Wed, 30 Nov 2005 10:16:05 +0800 ·
Hi all

As I understand it, (and somebody please correct me where I go wrong) to
get a Hobbit client for working for Wondoze will require 3 components. 
1. We need a Windoze client to collect the standard data
2. We need a server module to be able to interpret the data
3. We need a method of extending the client with script or external
applications.

Cygwin can only take us part the way there. It will allow us to compile
the current client, but can't collect all the data.
It will allow us to extend the functionality, but we are still limited
to command line.
Once we get 1 and 3 above working, item 2 should be pretty simple to do.

We need a few Windoze programming boffins on this one.
Does anybody on this list know of or work with any?
quoted from Vernon Everett

Regards
    Vernon


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


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

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.
list Stew Lambert · Wed, 30 Nov 2005 07:49:56 -0600 ·
I have been trying to create a hobbit client on the side for a while.
However, I am not a coding Guru.  I have had some small experiences, with VB
6, but am not sure if that is the correct language to use.  I recently came
across a few code snippets for VB6 that may help us move towards a client.
I would be more than happy to collaborate with a few people to atleast get
the ball rolling.  Any takers?

Stew 
quoted from Vernon Everett

-----Original Message-----
From: Vernon Everett [mailto:user-99fc6b22a3a3@xymon.invalid] 
Sent: Tuesday, November 29, 2005 8:16 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit client for Windows

Hi all

As I understand it, (and somebody please correct me where I go wrong) to get
a Hobbit client for working for Wondoze will require 3 components. 
1. We need a Windoze client to collect the standard data 2. We need a server
module to be able to interpret the data 3. We need a method of extending the
client with script or external applications.

Cygwin can only take us part the way there. It will allow us to compile the
current client, but can't collect all the data.
It will allow us to extend the functionality, but we are still limited to
command line.
Once we get 1 and 3 above working, item 2 should be pretty simple to do.

We need a few Windoze programming boffins on this one.
Does anybody on this list know of or work with any?

Regards
    Vernon


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


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

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.