Xymon Mailing List Archive search

client problems

15 messages in this thread

list Scot Kreienkamp · Mon, 27 Jun 2011 14:06:35 -0400 ·
Hi everyone,

 
Due to some frustrations with the existing clients I have decided to
have a go at rolling my own.  In the process I have run into some
strange behavior with the server side data collector/processor that I've
been struggling with for over a week now that I could really use some
help with.  I've been searching the man pages and the email archives and
haven't been able to find anything like what I've run into.   

 
My first try with sending reports was with the CPU column.  After
figuring out that the server was crashing because my lines were too
long, I am able to send in a complete report as verified by the client
data screen.  However, the data collector isn't processing it correctly
for reasons that I am unable to determine.  First, once it gets past the
last line of the cpu section on the web page there are a few processes
that repeat.  Second, the first line of text containing the
up/load/procs message isn't bold like in other hosts.  Third, the CPU
load number is never added to the RRD.  I have run several tcpdumps on
other clients to capture their submissions and I was able to fix some
problems by comparing mine to those, but now mine looks identical from
what I can tell.  

 
Here is what the top and bottom of the pages look like:

 
The last 6 lines are duplicates of the lines above.  That is not
included in the data that was sent though, so how is it getting it?
Also, why isn't the value being picked up for the RRD?

 
Here's my client data report:

 
[collector:]

client corpdskreien,na,lzb,hq.bbwin win32

 
[date]

Mon June 27 13:37:05 2011

 
[osversion]

Microsoft Windows 7 X64 Service Pack 0 Build 7600

 
[cpu]

up: 2 days, 1 users, 73 procs, load=1%

 
CPU   PID  Image Name                   Memory   Owner

0%    4    System                       56280K    

0%    332  smss.exe                     1324K     SYSTEM

0%    420  csrss.exe                    4924K     SYSTEM

0%    524  wininit.exe                  4628K     SYSTEM

0%    564  services.exe                 11432K    SYSTEM

0%    584  lsass.exe                    18472K    SYSTEM

0%    592  lsm.exe                      6528K     SYSTEM

0%    708  svchost.exe                  10092K    SYSTEM

0%    840  svchost.exe                  9776K     NETWORK SERVICE

0%    944  svchost.exe                  20036K    LOCAL SERVICE

0%    988  svchost.exe                  137268K   SYSTEM

0%    1016 svchost.exe                  41676K    SYSTEM

0%    424  audiodg.exe                  17672K    LOCAL SERVICE

0%    1084 svchost.exe                  16328K    LOCAL SERVICE

0%    1180 Smc.exe                      9316K     SYSTEM

0%    1240 svchost.exe                  29444K    NETWORK SERVICE

0%    1304 ccSvcHst.exe                 2696K     SYSTEM

0%    1524 spoolsv.exe                  17628K    SYSTEM

0%    1560 svchost.exe                  14452K    LOCAL SERVICE

0%    1684 atashost.exe                 3624K     SYSTEM

0%    1716 BESClient.exe                7108K     SYSTEM

0%    1748 svchost.exe                  10344K    LOCAL SERVICE

0%    1788 mdm.exe                      5724K     SYSTEM

0%    1840 MotoHelper.exe               23804K    SYSTEM

0%    432  Rtvscan.exe                  808K      SYSTEM

0%    1940 wsnm.exe                     5904K     SYSTEM

0%    2792 svchost.exe                  5952K     NETWORK SERVICE

0%    2584 SearchIndexer.exe            39820K    SYSTEM

0%    2724 csrss.exe                    30080K    SYSTEM

0%    2020 winlogon.exe                 6244K     SYSTEM

0%    1520 taskhost.exe                 10488K    skreien

0%    684  dwm.exe                      5964K     skreien

0%    1952 explorer.exe                 66160K    skreien

0%    3332 Spark.exe                    80640K    skreien

0%    3388 BTTray.exe                   9564K     skreien

0%    3396 SnagIt32.exe                 22072K    skreien

0%    3420 openvpn-gui-1.0.3.exe        4948K     skreien

0%    3432 jusched.exe                  6896K     skreien

0%    3440 ccApp.exe                    748K      skreien

0%    3552 AdobeARM.exe                 10792K    skreien

0%    3564 concentr.exe                 6188K     skreien

0%    3576 SmcGui.exe                   7032K     skreien

0%    3680 qttask.exe                   3900K     skreien

0%    3724 wfcrun32.exe                 9064K     skreien

0%    3760 TscHelp.exe                  3656K     skreien

0%    3768 SnagPriv.exe                 4124K     skreien

0%    3792 ProtectionUtilSurrogate.exe  13808K    skreien

0%    4348 jucheck.exe                  10004K    skreien

0%    3308 OUTLOOK.EXE                  157256K   skreien

0%    4212 OSPPSVC.EXE                  13144K    NETWORK SERVICE

0%    2628 vRD70.exe                    127780K   skreien

0%    4216 putty.exe                    8896K     skreien

0%    3672 iexplore.exe                 43748K    skreien

0%    2332 iexplore.exe                 53600K    skreien

0%    1928 BESClientUI.exe              1172K     skreien

0%    3992 wireshark.exe                90848K    skreien

0%    3480 iexplore.exe                 54908K    skreien

0%    2964 iexplore.exe                 156008K   skreien

0%    2640 PresentationFontCache.exe    23012K    LOCAL SERVICE

0%    3112 taskmgr.exe                  11796K    skreien

0%    5500 dumpcap.exe                  7172K     skreien

0%    4048 conhost.exe                  3464K     skreien

0%    5440 iexplore.exe                 118652K   skreien

0%    5884 SciTE.exe                    15576K    skreien

0%    4648 WmiPrvSE.exe                 22620K    SYSTEM

0%    5408 AutoIt3Help.exe              20852K    skreien

0%    5592 SearchProtocolHost.exe       16488K    skreien

0%    6080 SearchFilterHost.exe         5888K     SYSTEM

0%    1872 AutoIt3Wrapper.exe           10552K    skreien

0%    2388 AutoIt3_x64.exe              24936K    skreien

0%    908  AutoIt3Wrapper.exe           8548K     skreien

0%    1704 WmiPrvSE.exe                 7456K     NETWORK SERVICE

 
[clock]

epoch: 1309181827

local: Mon June 27 13:37:05 2011

 
I can send them in as client side reports and all is well, but it
doesn't work when using the data collector/client message.  

 
Oh... also, how do I pull the client side config from the xymon server?

 
Thanks for the help.

 
Scot Kreienkamp

 
This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Scot Kreienkamp · Wed, 29 Jun 2011 21:58:28 -0400 ·
Anyone?  Bueller?

 
Scot Kreienkamp
quoted from Scot Kreienkamp

 
From: Scot Kreienkamp 
Sent: Monday, June 27, 2011 2:07 PM
To: 'xymon at xymon.com'
Subject: client problems

 
Hi everyone,

 
Due to some frustrations with the existing clients I have decided to
have a go at rolling my own.  In the process I have run into some
strange behavior with the server side data collector/processor that I've
been struggling with for over a week now that I could really use some
help with.  I've been searching the man pages and the email archives and
haven't been able to find anything like what I've run into.   

 
My first try with sending reports was with the CPU column.  After
figuring out that the server was crashing because my lines were too
long, I am able to send in a complete report as verified by the client
data screen.  However, the data collector isn't processing it correctly
for reasons that I am unable to determine.  First, once it gets past the
last line of the cpu section on the web page there are a few processes
that repeat.  Second, the first line of text containing the
up/load/procs message isn't bold like in other hosts.  Third, the CPU
load number is never added to the RRD.  I have run several tcpdumps on
other clients to capture their submissions and I was able to fix some
problems by comparing mine to those, but now mine looks identical from
what I can tell.  

 
Here is what the top and bottom of the pages look like:

 
The last 6 lines are duplicates of the lines above.  That is not
included in the data that was sent though, so how is it getting it?
Also, why isn't the value being picked up for the RRD?

 
Here's my client data report:

 
[collector:]

client corpdskreien,na,lzb,hq.bbwin win32

 
[date]

Mon June 27 13:37:05 2011

 
[osversion]

Microsoft Windows 7 X64 Service Pack 0 Build 7600

 
[cpu]

up: 2 days, 1 users, 73 procs, load=1%

 
CPU   PID  Image Name                   Memory   Owner

0%    4    System                       56280K    

0%    332  smss.exe                     1324K     SYSTEM

0%    420  csrss.exe                    4924K     SYSTEM

0%    524  wininit.exe                  4628K     SYSTEM

0%    564  services.exe                 11432K    SYSTEM

0%    584  lsass.exe                    18472K    SYSTEM

0%    592  lsm.exe                      6528K     SYSTEM

0%    708  svchost.exe                  10092K    SYSTEM

0%    840  svchost.exe                  9776K     NETWORK SERVICE

0%    944  svchost.exe                  20036K    LOCAL SERVICE

0%    988  svchost.exe                  137268K   SYSTEM

0%    1016 svchost.exe                  41676K    SYSTEM

0%    424  audiodg.exe                  17672K    LOCAL SERVICE

0%    1084 svchost.exe                  16328K    LOCAL SERVICE

0%    1180 Smc.exe                      9316K     SYSTEM

0%    1240 svchost.exe                  29444K    NETWORK SERVICE

0%    1304 ccSvcHst.exe                 2696K     SYSTEM

0%    1524 spoolsv.exe                  17628K    SYSTEM

0%    1560 svchost.exe                  14452K    LOCAL SERVICE

0%    1684 atashost.exe                 3624K     SYSTEM

0%    1716 BESClient.exe                7108K     SYSTEM

0%    1748 svchost.exe                  10344K    LOCAL SERVICE

0%    1788 mdm.exe                      5724K     SYSTEM

0%    1840 MotoHelper.exe               23804K    SYSTEM

0%    432  Rtvscan.exe                  808K      SYSTEM

0%    1940 wsnm.exe                     5904K     SYSTEM

0%    2792 svchost.exe                  5952K     NETWORK SERVICE

0%    2584 SearchIndexer.exe            39820K    SYSTEM

0%    2724 csrss.exe                    30080K    SYSTEM

0%    2020 winlogon.exe                 6244K     SYSTEM

0%    1520 taskhost.exe                 10488K    skreien

0%    684  dwm.exe                      5964K     skreien

0%    1952 explorer.exe                 66160K    skreien

0%    3332 Spark.exe                    80640K    skreien

0%    3388 BTTray.exe                   9564K     skreien

0%    3396 SnagIt32.exe                 22072K    skreien

0%    3420 openvpn-gui-1.0.3.exe        4948K     skreien

0%    3432 jusched.exe                  6896K     skreien

0%    3440 ccApp.exe                    748K      skreien

0%    3552 AdobeARM.exe                 10792K    skreien

0%    3564 concentr.exe                 6188K     skreien

0%    3576 SmcGui.exe                   7032K     skreien

0%    3680 qttask.exe                   3900K     skreien

0%    3724 wfcrun32.exe                 9064K     skreien

0%    3760 TscHelp.exe                  3656K     skreien

0%    3768 SnagPriv.exe                 4124K     skreien

0%    3792 ProtectionUtilSurrogate.exe  13808K    skreien

0%    4348 jucheck.exe                  10004K    skreien

0%    3308 OUTLOOK.EXE                  157256K   skreien

0%    4212 OSPPSVC.EXE                  13144K    NETWORK SERVICE

0%    2628 vRD70.exe                    127780K   skreien

0%    4216 putty.exe                    8896K     skreien

0%    3672 iexplore.exe                 43748K    skreien

0%    2332 iexplore.exe                 53600K    skreien

0%    1928 BESClientUI.exe              1172K     skreien

0%    3992 wireshark.exe                90848K    skreien

0%    3480 iexplore.exe                 54908K    skreien

0%    2964 iexplore.exe                 156008K   skreien

0%    2640 PresentationFontCache.exe    23012K    LOCAL SERVICE

0%    3112 taskmgr.exe                  11796K    skreien

0%    5500 dumpcap.exe                  7172K     skreien

0%    4048 conhost.exe                  3464K     skreien

0%    5440 iexplore.exe                 118652K   skreien

0%    5884 SciTE.exe                    15576K    skreien

0%    4648 WmiPrvSE.exe                 22620K    SYSTEM

0%    5408 AutoIt3Help.exe              20852K    skreien

0%    5592 SearchProtocolHost.exe       16488K    skreien

0%    6080 SearchFilterHost.exe         5888K     SYSTEM

0%    1872 AutoIt3Wrapper.exe           10552K    skreien

0%    2388 AutoIt3_x64.exe              24936K    skreien

0%    908  AutoIt3Wrapper.exe           8548K     skreien

0%    1704 WmiPrvSE.exe                 7456K     NETWORK SERVICE

 
[clock]

epoch: 1309181827

local: Mon June 27 13:37:05 2011

 
I can send them in as client side reports and all is well, but it
doesn't work when using the data collector/client message.  

 
Oh... also, how do I pull the client side config from the xymon server?

 
Thanks for the help.

 
Scot Kreienkamp

 
This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Galen Johnson · Fri, 01 Jul 2011 19:51:49 -0400 ·
On 06/29/2011 09:58 PM, Scot Kreienkamp wrote:
Anyone?  Bueller?

 
Scot Kreienkamp

 
Snipped for the sake of brevity.  Have you looked at the tutorial page
on Xymonton.org?  There aren't many but one of them mught help you shake
something loose.

=G=
list Stef Coene · Sat, 2 Jul 2011 10:47:06 +0200 ·
quoted from Scot Kreienkamp
On Monday 27 June 2011, Scot Kreienkamp wrote:
Hi everyone,


Due to some frustrations with the existing clients I have decided to
have a go at rolling my own. 
I'm wondering for what OS are you writing the client?


Stef
list Scot Kreienkamp · Sat, 2 Jul 2011 23:22:17 -0400 ·
I have... there's all kinds of information there on interacting with
Xymon, including building your own server modules and custom tests.
Nothing to help with interacting with the ones that come with the
standard build and install of the server portion of Xymon.  

I can send in client reports of all kinds...  but I am having specific
problems with the formatting for the client data collector channel on
the Xymon server.  I can't find any information anywhere on that, or
what patterns the server is looking for, etc.  I have the option of
doing everything client side, but why should I when that awesome module
is already there on the server if I can just figure out why it doesn't
like my formatting?  In the end I may have to do just that though, or
more likely just give up if I can't get any help with interacting with
the stock server channels.  I refuse to spend hours trying to reinvent
multiple wheels.  :-(


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Galen Johnson
Sent: Friday, July 01, 2011 7:52 PM
To: xymon at xymon.com
Subject: Re: [Xymon] client problems
quoted from Scot Kreienkamp

On 06/29/2011 09:58 PM, Scot Kreienkamp wrote:
Anyone?  Bueller?

 
Scot Kreienkamp

 
Snipped for the sake of brevity.  Have you looked at the tutorial page
on Xymonton.org?  There aren't many but one of them mught help you shake
something loose.

=G=


This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Stef Coene · Sun, 3 Jul 2011 10:42:41 +0200 ·
quoted from Scot Kreienkamp
On Sunday 03 July 2011, Scot Kreienkamp wrote:
I have... there's all kinds of information there on interacting with
Xymon, including building your own server modules and custom tests.
Nothing to help with interacting with the ones that come with the
standard build and install of the server portion of Xymon.

I can send in client reports of all kinds...  but I am having specific
problems with the formatting for the client data collector channel on
the Xymon server.  I can't find any information anywhere on that, or
what patterns the server is looking for, etc.  I have the option of
doing everything client side, but why should I when that awesome module
is already there on the server if I can just figure out why it doesn't
like my formatting?  In the end I may have to do just that though, or
more likely just give up if I can't get any help with interacting with
the stock server channels.  I refuse to spend hours trying to reinvent
multiple wheels.  :-(
Can you post some more information?
Like the OS of your client, the script you use, the output of the script, ...

I have also written a custom client for powerHA clustering on AIX.


Stef
list Scot Kreienkamp · Wed, 6 Jul 2011 13:45:44 -0400 ·
My client OS is Win7.  The script is written in AutoIt and is, right now
at least, a proof of concept that I'd be embarrassed to share publicly
as it's pretty bad.  The output of the script is between the lines
below.  I just open a TCP connection to port 1984 and send the lines
across.  The file is written in *nix format with LF at the end of each
line so I don't have to alter it during the send operation.  

client test,hq.bbwin win32
quoted from Scot Kreienkamp

[date]
Mon June 27 13:37:05 2011

[osversion]
Microsoft Windows 7 X64 Service Pack 0 Build 7600

[cpu]
up: 2 days, 1 users, 73 procs, load=1%


CPU   PID  Image Name                   Memory   Owner
0%    4    System                       56280K    
0%    332  smss.exe                     1324K     SYSTEM
0%    420  csrss.exe                    4924K     SYSTEM
0%    524  wininit.exe                  4628K     SYSTEM
0%    564  services.exe                 11432K    SYSTEM
0%    584  lsass.exe                    18472K    SYSTEM
0%    592  lsm.exe                      6528K     SYSTEM
0%    708  svchost.exe                  10092K    SYSTEM
0%    840  svchost.exe                  9776K     NETWORK SERVICE
0%    944  svchost.exe                  20036K    LOCAL SERVICE
0%    988  svchost.exe                  137268K   SYSTEM
0%    1016 svchost.exe                  41676K    SYSTEM
0%    424  audiodg.exe                  17672K    LOCAL SERVICE
0%    1084 svchost.exe                  16328K    LOCAL SERVICE
0%    1180 Smc.exe                      9316K     SYSTEM
0%    1240 svchost.exe                  29444K    NETWORK SERVICE
0%    1304 ccSvcHst.exe                 2696K     SYSTEM
0%    1524 spoolsv.exe                  17628K    SYSTEM
0%    1560 svchost.exe                  14452K    LOCAL SERVICE
0%    1684 atashost.exe                 3624K     SYSTEM
0%    1716 BESClient.exe                7108K     SYSTEM
0%    1748 svchost.exe                  10344K    LOCAL SERVICE
0%    1788 mdm.exe                      5724K     SYSTEM
0%    1840 MotoHelper.exe               23804K    SYSTEM
0%    432  Rtvscan.exe                  808K      SYSTEM
0%    1940 wsnm.exe                     5904K     SYSTEM
0%    2792 svchost.exe                  5952K     NETWORK SERVICE
0%    2584 SearchIndexer.exe            39820K    SYSTEM
0%    2724 csrss.exe                    30080K    SYSTEM
0%    2020 winlogon.exe                 6244K     SYSTEM
0%    1520 taskhost.exe                 10488K    skreien
0%    684  dwm.exe                      5964K     skreien
0%    1952 explorer.exe                 66160K    skreien
0%    3332 Spark.exe                    80640K    skreien
0%    3388 BTTray.exe                   9564K     skreien
0%    3396 SnagIt32.exe                 22072K    skreien
0%    3420 openvpn-gui-1.0.3.exe        4948K     skreien
0%    3432 jusched.exe                  6896K     skreien
0%    3440 ccApp.exe                    748K      skreien
0%    3552 AdobeARM.exe                 10792K    skreien
0%    3564 concentr.exe                 6188K     skreien
0%    3576 SmcGui.exe                   7032K     skreien
0%    3680 qttask.exe                   3900K     skreien
0%    3724 wfcrun32.exe                 9064K     skreien
0%    3760 TscHelp.exe                  3656K     skreien
0%    3768 SnagPriv.exe                 4124K     skreien
0%    3792 ProtectionUtilSurrogate.exe  13808K    skreien
0%    4348 jucheck.exe                  10004K    skreien
0%    3308 OUTLOOK.EXE                  157256K   skreien
0%    4212 OSPPSVC.EXE                  13144K    NETWORK SERVICE
0%    2628 vRD70.exe                    127780K   skreien
0%    4216 putty.exe                    8896K     skreien
0%    3672 iexplore.exe                 43748K    skreien
0%    2332 iexplore.exe                 53600K    skreien
0%    1928 BESClientUI.exe              1172K     skreien
0%    3992 wireshark.exe                90848K    skreien
0%    3480 iexplore.exe                 54908K    skreien
0%    2964 iexplore.exe                 156008K   skreien
0%    2640 PresentationFontCache.exe    23012K    LOCAL SERVICE
0%    3112 taskmgr.exe                  11796K    skreien
0%    5500 dumpcap.exe                  7172K     skreien
0%    4048 conhost.exe                  3464K     skreien
0%    5440 iexplore.exe                 118652K   skreien
0%    5884 SciTE.exe                    15576K    skreien
0%    4648 WmiPrvSE.exe                 22620K    SYSTEM
0%    5408 AutoIt3Help.exe              20852K    skreien
0%    5592 SearchProtocolHost.exe       16488K    skreien
0%    6080 SearchFilterHost.exe         5888K     SYSTEM
0%    1872 AutoIt3Wrapper.exe           10552K    skreien
0%    2388 AutoIt3_x64.exe              24936K    skreien
0%    908  AutoIt3Wrapper.exe           8548K     skreien
0%    1704 WmiPrvSE.exe                 7456K     NETWORK SERVICE

[clock]
epoch: 1309181827
local: Mon June 27 13:37:05 2011

Thanks for looking Stef.

Scot Kreienkamp
user-462cf0b6d846@xymon.invalid


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Stef Coene
Sent: Sunday, July 03, 2011 4:43 AM
quoted from Stef Coene
To: xymon at xymon.com
Subject: Re: [Xymon] client problems

On Sunday 03 July 2011, Scot Kreienkamp wrote:
I have... there's all kinds of information there on interacting with
Xymon, including building your own server modules and custom tests.
Nothing to help with interacting with the ones that come with the
standard build and install of the server portion of Xymon.

I can send in client reports of all kinds...  but I am having specific
problems with the formatting for the client data collector channel on
the Xymon server.  I can't find any information anywhere on that, or
what patterns the server is looking for, etc.  I have the option of
doing everything client side, but why should I when that awesome
module
is already there on the server if I can just figure out why it doesn't
like my formatting?  In the end I may have to do just that though, or
more likely just give up if I can't get any help with interacting with
the stock server channels.  I refuse to spend hours trying to reinvent
multiple wheels.  :-(
Can you post some more information?
Like the OS of your client, the script you use, the output of the
script, ...

I have also written a custom client for powerHA clustering on AIX.


Stef


This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Buchan Milne · Thu, 7 Jul 2011 16:48:54 +0200 ·
quoted from Scot Kreienkamp
On Sunday, 3 July 2011 05:22:17 Scot Kreienkamp wrote:
I have... there's all kinds of information there on interacting with
Xymon, including building your own server modules and custom tests.
Nothing to help with interacting with the ones that come with the
standard build and install of the server portion of Xymon.
Feel free to contribute some documentation for this ...
quoted from Scot Kreienkamp
I can send in client reports of all kinds...  but I am having specific
problems with the formatting for the client data collector channel on
the Xymon server.  I can't find any information anywhere on that, or
what patterns the server is looking for, etc.  I have the option of
doing everything client side, but why should I when that awesome module
is already there on the server if I can just figure out why it doesn't
like my formatting?
You can either use the formats of existing supported clients, or read the 
source to see what formats are supported, or contribute code to support your 
format.
quoted from Scot Kreienkamp
In the end I may have to do just that though, or
more likely just give up if I can't get any help with interacting with
the stock server channels.  I refuse to spend hours trying to reinvent
multiple wheels.  :-(
BTW., which clients did you try?

Regards,
Buchan
list Scot Kreienkamp · Thu, 7 Jul 2011 11:39:00 -0400 ·
Got to understand the formats myself first.  :)  Although I think it's
more a question of formatting of my data versus the actual data format,
IE sections.  

I'm trying to make a simple client of my own with AutoIt due to some
frustrations with supporting Windows 2008 clients with Xymon.  I'm
trying to match the format of the win32 based clients... that's where my
frustration is coming in.  I've matched the format down to the last
carriage return by doing dumps on the data reporting in from other win32
based clients and comparing them to my own, but it's not being read the
same by the collector module on the server for reasons that I cannot
understand.  If I send it in as a client status report everything works
perfectly with no modifications to the report data itself.  

I tried the PS client and the BBWin client.  The PS client is too heavy
and in its current revision is unreliable in my environment.  We were
conversing on the list and David Baldwin was going to work on it, but
even if it's fixed so it's reliable it would still be too heavy for my
environment.  In the instances where I've loaded it the users have seen
too much impact.  The BBWin client doesn't report networking data
correctly on Win2008 and has been abandoned for years.  That means I
have no way to monitor Windows 2008, and I have more coming online
daily.  

Scot Kreienkamp
quoted from Buchan Milne


-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid] 
Sent: Thursday, July 07, 2011 10:49 AM
To: xymon at xymon.com
Cc: Scot Kreienkamp
Subject: Re: [Xymon] client problems

On Sunday, 3 July 2011 05:22:17 Scot Kreienkamp wrote:
I have... there's all kinds of information there on interacting with
Xymon, including building your own server modules and custom tests.
Nothing to help with interacting with the ones that come with the
standard build and install of the server portion of Xymon.
Feel free to contribute some documentation for this ...
I can send in client reports of all kinds...  but I am having specific
problems with the formatting for the client data collector channel on
the Xymon server.  I can't find any information anywhere on that, or
what patterns the server is looking for, etc.  I have the option of
doing everything client side, but why should I when that awesome
module
is already there on the server if I can just figure out why it doesn't
like my formatting?
You can either use the formats of existing supported clients, or read
the 
source to see what formats are supported, or contribute code to support
your 
format.
In the end I may have to do just that though, or
more likely just give up if I can't get any help with interacting with
the stock server channels.  I refuse to spend hours trying to reinvent
multiple wheels.  :-(
BTW., which clients did you try?

Regards,
Buchan


This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Malcolm Hunter · Thu, 07 Jul 2011 18:51:29 +0000 ·
Hi Scott,
quoted from Scot Kreienkamp
----- Original Message -----
From: Scot Kreienkamp
Sent: 07/07/11 04:39 PM
To: Buchan Milne, xymon at xymon.com
Subject: Re: [Xymon] client problems
The BBWin client doesn't report networking data
correctly on Win2008 and has been abandoned for years. That means I
have no way to monitor Windows 2008, and I have more coming online
daily. 
I'm using BBWin on Windows 2008 (32- and 64-bit). What exactly is the problem? I'm now on the BBWin project, so maybe can work on a resolution.

Regards,

Malcolm
list Scot Kreienkamp · Thu, 7 Jul 2011 15:39:33 -0400 ·
Hi Malcolm,

A solution would be much appreciated.  Thank you for taking a look.

The problem is in the reporting of the network info for BBWin on Windows
2008.  I've attached a graph from one of my systems running 2008 to
illustrate, but the basic problem is the ifstat section reports include
junk with every report.  Here's one from the same host as the graph:

[ifstat]
10.101.1.211 0 0
127.0.0.1 0 0
253.255.255.255 0 0

Notice the last entry.  That keeps changing as well.  After the client
is running for a while I'll have 6-10 ifstat graphs with bogus addresses
on them in the trends pages.  


Scot Kreienkamp
Senior Systems Engineer
quoted from Scot Kreienkamp
user-462cf0b6d846@xymon.invalid


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf

Of Malcolm Hunter
Sent: Thursday, July 07, 2011 2:51 PM
quoted from Malcolm Hunter
To: xymon at xymon.com
Subject: Re: [Xymon] client problems

Hi Scott,
----- Original Message -----
From: Scot Kreienkamp
Sent: 07/07/11 04:39 PM
To: Buchan Milne, xymon at xymon.com
Subject: Re: [Xymon] client problems
The BBWin client doesn't report networking data
correctly on Win2008 and has been abandoned for years. That means I
have no way to monitor Windows 2008, and I have more coming online
daily. 
I'm using BBWin on Windows 2008 (32- and 64-bit). What exactly is the
problem? I'm now on the BBWin project, so maybe can work on a
resolution.

Regards,

Malcolm


This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
Attachments (1)
list Malcolm Hunter · Thu, 07 Jul 2011 22:42:14 +0000 ·
Hi Scot,
quoted from Scot Kreienkamp
----- Original Message -----
From: Scot Kreienkamp
Sent: 07/07/11 08:39 PM
To: Malcolm Hunter, xymon at xymon.com
Subject: RE: [Xymon] client problems
The problem is in the reporting of the network info for BBWin on Windows
2008. I've attached a graph from one of my systems running 2008 to
illustrate, but the basic problem is the ifstat section reports include
junk with every report. Here's one from the same host as the graph:

[ifstat]
10.101.1.211 0 0
127.0.0.1 0 0
253.255.255.255 0 0
Yes, I can reproduce this on my Windows 7 PC as well. It appears to be a problem interpreting the output of netstat. Because Win7 and 2008 include IPv6, it's giving a different result.

Malcolm
list Scot Kreienkamp · Thu, 7 Jul 2011 19:19:23 -0400 ·
Hi Malcolm,

Do you think you can update it to fix the problem?  BBWin has other issues as well, mostly around logs from what I remember, but even so it's the best one out there that I'm aware of. 

I didn't think anyone was actively working on BBWin anymore. Anything you can share with us mere mortals?  ;-)

Sent from my iPad
quoted from Malcolm Hunter

On Jul 7, 2011, at 6:42 PM, "Malcolm Hunter" <user-8c18ec239c05@xymon.invalid> wrote:
Hi Scot,
----- Original Message -----
From: Scot Kreienkamp
Sent: 07/07/11 08:39 PM
To: Malcolm Hunter, xymon at xymon.com
Subject: RE: [Xymon] client problems
The problem is in the reporting of the network info for BBWin on Windows
2008. I've attached a graph from one of my systems running 2008 to
illustrate, but the basic problem is the ifstat section reports include
junk with every report. Here's one from the same host as the graph:

[ifstat]
10.101.1.211 0 0
127.0.0.1 0 0
253.255.255.255 0 0
Yes, I can reproduce this on my Windows 7 PC as well. It appears to be a problem interpreting the output of netstat. Because Win7 and 2008 include IPv6, it's giving a different result.

Malcolm

This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
list Christoph Schug · Fri, 08 Jul 2011 10:19:27 +0200 ·
On Thu, 7 Jul 2011 15:39:33 -0400, "Scot Kreienkamp" <user-462cf0b6d846@xymon.invalid>
quoted from Scot Kreienkamp
wrote:
Hi Malcolm,

A solution would be much appreciated.  Thank you for taking a look.

The problem is in the reporting of the network info for BBWin on Windows
2008.  I've attached a graph from one of my systems running 2008 to
illustrate, but the basic problem is the ifstat section reports include
junk with every report.  Here's one from the same host as the graph:

[ifstat]
10.101.1.211 0 0
127.0.0.1 0 0
253.255.255.255 0 0
You might want to check out this patch
http://sourceforge.net/mailarchive/forum.php?thread_name=user-e1f98345f06b@xymon.invalid&forum_name=bbwin-help

Cheers
-cs
list Malcolm Hunter · Fri, 08 Jul 2011 19:44:14 +0000 ·
quoted from Christoph Schug
----- Original Message -----
From: Christoph Schug
Sent: 07/08/11 09:19 AM
To: Scot Kreienkamp
Subject: Re: [Xymon] client problems
The problem is in the reporting of the network info for BBWin on Windows
2008. I've attached a graph from one of my systems running 2008 to
illustrate, but the basic problem is the ifstat section reports include
junk with every report. Here's one from the same host as the graph:

[ifstat]
10.101.1.211 0 0
127.0.0.1 0 0
253.255.255.255 0 0
You might want to check out this patch
http://sourceforge.net/mailarchive/forum.php?thread_name=user-e1f98345f06b@xymon.invalid&forum_name=bbwin-help
Thanks Christoph, this patch has now been applied to the source code in Subversion trunk. We're hoping to release the next version soon, so the fix will be included in that.

Malcolm