Xymon Mailing List Archive search

files external wth server side processing?

4 messages in this thread

list Scot Kreienkamp · Mon, 5 Mar 2012 19:39:03 +0000 ·
Hey everyone...

Since the BBWin client does not do files checking, if I make an external that submits files and directory information the same as the client would, would the Xymon server process it server side?  Or would I need to do a full client side check?

IE, I send in a message like so:
client TEST01.bbwin win32
[dir:D:\test]
14888 D:\test

Will that be processed in the server side channels?  I'm trying to avoid doing a full client side check so I can make this as generic as possible for use with BBWin in central mode.

Thanks!

Scot Kreienkamp
user-462cf0b6d846@xymon.invalid


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 David Baldwin · Tue, 6 Mar 2012 10:08:13 +1100 ·
Scot,
Hey everyone…

 
Since the BBWin client does not do files checking,
But it does... Following works for me:

client-local.cfg
[win32]
dir:C:\Windows\Temp
log:c:\WINDOWS\WindowsUpdate.log:20480

clients.cfg
CLASS=win32
        DIR C:\Windows\Temp yellow SIZE<200000 TRACK=C-Windows-Temp
        DIR C:\Windows\Temp red SIZE<500000
        LOAD 90 97 # Load thresholds are in %
        PORT LOCAL=%(\*|::|0.0.0.0):135 STATE=%LISTEN "TEXT=epmap listener"
        PORT LOCAL=%.*:135 STATE=ESTABLISHED MIN=0 TRACK=epmap
"TEXT=epmap connection"
        PORT REMOTE=%[.:]389 STATE=%ESTABLISHED MIN=0 TRACK=LDAPc
"TEXT=LDAP client connection"
        PORT LOCAL=%(\*|::|0.0.0.0):445$ STATE=%LISTEN "TEXT=NTDS listener"
        PORT LOCAL=%.*:445$ MIN=0 STATE=%ESTABLISHED TRACK=NTDS
"TEXT=NTDS connection"
        PORT LOCAL=%(\*|::|0.0.0.0):3389 STATE=%LISTEN "TEXT=RDP listener"
        PORT LOCAL=%[.:]3389 STATE=%ESTABLISHED MIN=0 TRACK=RDP
"TEXT=RDP connection"
        PROC System 1 -1
        SVC "%[Ee]ventlog" startup=automatic status=started
        SVC "Schedule" startup=%.* status=started COLOR=yellow
        SVC "SNMP" startup=automatic status=started
        SVC "%(?i)Winmgmt" startup=%.* status=started COLOR=yellow
        SVC "W32Time" startup=%.* status=started
        LOG "%.*WindowsUpdate.log"  "%FATAL" COLOR=red
        LOG "%.*WindowsUpdate.log"  "%WARNING" COLOR=yellow
IGNORE="%Cached cookie has expired or new PID is available"
quoted from Scot Kreienkamp
if I make an external that submits files and directory information the
same as the client would, would the Xymon server process it server
side?  Or would I need to do a full client side check?
It would be nice to be able to have BBWin run a script that included
extra sections in the client report.

You can kind of get away with having alternating multiple client reports
with different info, preferably mutually exclusive sections - the client
channel listener converts various sections into status reports - if a
section is missing then it just doesn't generate any update. The "Client
data" link will be a bit random depending on what is the most recently
received report.

David.
quoted from Scot Kreienkamp
 
IE, I send in a message like so:

client TEST01.bbwin win32

[dir:D:\test]

14888 D:\test

 
Will that be processed in the server side channels?  I'm trying to
avoid doing a full client side check so I can make this as generic as
possible for use with BBWin in central mode.

 
Thanks!

 
Scot Kreienkamp

user-462cf0b6d846@xymon.invalid

 
-- 

David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission          http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617


Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
list Scot Kreienkamp · Tue, 6 Mar 2012 14:40:38 +0000 ·
Hey David,

What OS versions are you running?  I can't get it to work on 2008R2.

Here's my client-local.cfg:
[server1.hq]
DIR:D:\AgileAttachments\Prod\Active

Here's the contents of the clientlocal.cfg on server1.hq:
DIR:D:\AgileAttachments\Prod\Active

But there are no [DIR:….] sections in the client data that's sent back to the Xymon server.  I wish I had the knowledge to fix it, but I don't have any programming knowledge.  From my vantage point it doesn't appear that any progress is being made in fixing up BBWin so the best I can do is script something to replace it, which doesn’t work nearly as well because there's no way to append anything to the client data for server side processing.  I can't have a test flipping back and forth from grey to green, so it looks like I'll have to reinvent the wheel and do a full client side check.


Scot Kreienkamp
user-462cf0b6d846@xymon.invalid
quoted from David Baldwin

From: David Baldwin [mailto:user-cbbf693f2c89@xymon.invalid]
Sent: Monday, March 05, 2012 6:08 PM
To: Scot Kreienkamp
Cc: xymon at xymon.com
Subject: Re: [Xymon] files external wth server side processing?

Scot,
Hey everyone…

Since the BBWin client does not do files checking,
But it does... Following works for me:

client-local.cfg
[win32]
dir:C:\Windows\Temp
log:c:\WINDOWS\WindowsUpdate.log:20480

clients.cfg
CLASS=win32
        DIR C:\Windows\Temp yellow SIZE<200000 TRACK=C-Windows-Temp
        DIR C:\Windows\Temp red SIZE<500000
        LOAD 90 97 # Load thresholds are in %
        PORT LOCAL=%(\*|::|0.0.0.0):135 STATE=%LISTEN "TEXT=epmap listener"
        PORT LOCAL=%.*:135 STATE=ESTABLISHED MIN=0 TRACK=epmap "TEXT=epmap connection"
        PORT REMOTE=%[.:]389 STATE=%ESTABLISHED MIN=0 TRACK=LDAPc "TEXT=LDAP client connection"
        PORT LOCAL=%(\*|::|0.0.0.0):445$ STATE=%LISTEN "TEXT=NTDS listener"
        PORT LOCAL=%.*:445$ MIN=0 STATE=%ESTABLISHED TRACK=NTDS "TEXT=NTDS connection"
        PORT LOCAL=%(\*|::|0.0.0.0):3389 STATE=%LISTEN "TEXT=RDP listener"
        PORT LOCAL=%[.:]3389 STATE=%ESTABLISHED MIN=0 TRACK=RDP "TEXT=RDP connection"
        PROC System 1 -1
        SVC "%[Ee]ventlog" startup=automatic status=started
        SVC "Schedule" startup=%.* status=started COLOR=yellow
        SVC "SNMP" startup=automatic status=started
        SVC "%(?i)Winmgmt" startup=%.* status=started COLOR=yellow
        SVC "W32Time" startup=%.* status=started
        LOG "%.*WindowsUpdate.log"  "%FATAL" COLOR=red
        LOG "%.*WindowsUpdate.log"  "%WARNING" COLOR=yellow IGNORE="%Cached cookie has expired or new PID is available"


if I make an external that submits files and directory information the same as the client would, would the Xymon server process it server side?  Or would I need to do a full client side check?
It would be nice to be able to have BBWin run a script that included extra sections in the client report.

You can kind of get away with having alternating multiple client reports with different info, preferably mutually exclusive sections - the client channel listener converts various sections into status reports - if a section is missing then it just doesn't generate any update. The "Client data" link will be a bit random depending on what is the most recently received report.

David.


IE, I send in a message like so:
client TEST01.bbwin win32
[dir:D:\test]
14888 D:\test

Will that be processed in the server side channels?  I'm trying to avoid doing a full client side check so I can make this as generic as possible for use with BBWin in central mode.

Thanks!

Scot Kreienkamp

user-462cf0b6d846@xymon.invalid<mailto:user-462cf0b6d846@xymon.invalid>
quoted from David Baldwin


--

David Baldwin - Senior Systems Administrator (Datacentres + Networks)

Information and Communication Technology Services

Australian Sports Commission          http://ausport.gov.au

Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616

user-cbbf693f2c89@xymon.invalid<mailto:user-cbbf693f2c89@xymon.invalid>          Leverrier Street Bruce ACT 2617

Keep up to date with what's happening in Australian sport visit www.ausport.gov.au<http://www.ausport.gov.au>;
quoted from Scot Kreienkamp

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.


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 · Tue, 6 Mar 2012 17:42:05 +0000 ·
David,

The only difference I could find after a few hours of trying different things is that your "dir:" entry is lower case.  Apparently BBWin will only accept that line if it is lower case, when I tried that with mine it started working.

Also I noticed a typo in a few other lines in my analysis.cfg that were causing errors, so thank for sending your config.  That helped immensely.
quoted from Scot Kreienkamp

Scot Kreienkamp
user-462cf0b6d846@xymon.invalid

From: David Baldwin [mailto:user-cbbf693f2c89@xymon.invalid]
Sent: Monday, March 05, 2012 6:08 PM
To: Scot Kreienkamp
Cc: xymon at xymon.com
Subject: Re: [Xymon] files external wth server side processing?

Scot,
Hey everyone…

Since the BBWin client does not do files checking,
But it does... Following works for me:

client-local.cfg
[win32]
dir:C:\Windows\Temp
log:c:\WINDOWS\WindowsUpdate.log:20480

clients.cfg
CLASS=win32
        DIR C:\Windows\Temp yellow SIZE<200000 TRACK=C-Windows-Temp
        DIR C:\Windows\Temp red SIZE<500000
        LOAD 90 97 # Load thresholds are in %
        PORT LOCAL=%(\*|::|0.0.0.0):135 STATE=%LISTEN "TEXT=epmap listener"
        PORT LOCAL=%.*:135 STATE=ESTABLISHED MIN=0 TRACK=epmap "TEXT=epmap connection"
        PORT REMOTE=%[.:]389 STATE=%ESTABLISHED MIN=0 TRACK=LDAPc "TEXT=LDAP client connection"
        PORT LOCAL=%(\*|::|0.0.0.0):445$ STATE=%LISTEN "TEXT=NTDS listener"
        PORT LOCAL=%.*:445$ MIN=0 STATE=%ESTABLISHED TRACK=NTDS "TEXT=NTDS connection"
        PORT LOCAL=%(\*|::|0.0.0.0):3389 STATE=%LISTEN "TEXT=RDP listener"
        PORT LOCAL=%[.:]3389 STATE=%ESTABLISHED MIN=0 TRACK=RDP "TEXT=RDP connection"
        PROC System 1 -1
        SVC "%[Ee]ventlog" startup=automatic status=started
        SVC "Schedule" startup=%.* status=started COLOR=yellow
        SVC "SNMP" startup=automatic status=started
        SVC "%(?i)Winmgmt" startup=%.* status=started COLOR=yellow
        SVC "W32Time" startup=%.* status=started
        LOG "%.*WindowsUpdate.log"  "%FATAL" COLOR=red
        LOG "%.*WindowsUpdate.log"  "%WARNING" COLOR=yellow IGNORE="%Cached cookie has expired or new PID is available"


if I make an external that submits files and directory information the same as the client would, would the Xymon server process it server side?  Or would I need to do a full client side check?
It would be nice to be able to have BBWin run a script that included extra sections in the client report.

You can kind of get away with having alternating multiple client reports with different info, preferably mutually exclusive sections - the client channel listener converts various sections into status reports - if a section is missing then it just doesn't generate any update. The "Client data" link will be a bit random depending on what is the most recently received report.

David.


IE, I send in a message like so:
client TEST01.bbwin win32
[dir:D:\test]
14888 D:\test

Will that be processed in the server side channels?  I'm trying to avoid doing a full client side check so I can make this as generic as possible for use with BBWin in central mode.

Thanks!

Scot Kreienkamp
user-462cf0b6d846@xymon.invalid<mailto:user-462cf0b6d846@xymon.invalid>


--

David Baldwin - Senior Systems Administrator (Datacentres + Networks)

Information and Communication Technology Services

Australian Sports Commission          http://ausport.gov.au

Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616

user-cbbf693f2c89@xymon.invalid<mailto:user-cbbf693f2c89@xymon.invalid>          Leverrier Street Bruce ACT 2617

Keep up to date with what's happening in Australian sport visit www.ausport.gov.au<http://www.ausport.gov.au>;

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.


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.