[Xymon] Xymon PowerShell Windows client

David Baldwin david.baldwin at ausport.gov.au
Thu Mar 5 00:46:07 CET 2015


On 5/03/15 10:07 AM, Brandon Dale wrote:
>
> The problem is if you are running both bbwin and the powershell client 
> you need a way to be able to setup separate commands in the 
> client-local.cfg for each type of client.
>
If BBWin will just ignore (or at least be unaffected by) the ones it 
doesn't understand then that shouldn't be a problem, it's only if there 
are mutual incompatibilities that should be an issue.

David.
>
> Regards,
>
> *Brandon *
>
> *From:*David Baldwin [mailto:david.baldwin at ausport.gov.au]
> *Sent:* Thursday, 5 March 2015 8:57 AM
> *To:* zak.beck at accenture.com; jlaidman at rebel-it.com.au; Brandon Dale
> *Cc:* xymon at xymon.com
> *Subject:* Re: [Xymon] Xymon PowerShell Windows client
>
> Zak,
>
>     Unfortunately, you can't fake the BBWin identifier for just one
>     section – you have to change the client to report in as BBwin. It
>     was changed so that we could experimentally use separate
>     configuration options for BBWin clients and Powershell clients.
>
>     To change how the client reports itself, change line 2746 in the
>     current commit:
>
>     2745 WriteLog "Performing main and optional tests and building
>     output..."
>     2746    $clout = "client " + $clientname + ".powershell powershell
>     XymonPS" | Out-String
>     2747    $clsecs = XymonClientSections | Out-String
>
>     In the original Powershell client, this line was:
>
>     $clout = "client " + $clientname + ".bbwin win32" | Out-String
>
>     So you can see we've changed '.bbwin' to '.powershell' and 'win32'
>     to 'powershell'.
>
>     I appreciate this isn't very good and should probably be a
>     configuration item.
>
> Changing the client from bbwin to something else is less harmful. 
> Changing class from win32 to powershell will probably break LOTS of 
> stuff. I suspect many users migrating from BBWin use "class=win32" in 
> analysis.cfg (hobbit-clients.cfg) file extensively. The class is 
> probably also used in the section parsing -> status reports/RRD data 
> extraction. It will also break the config segment returned from 
> client-local.cfg - e.g.
>
> [win32]
> dir:C:\Windows\Temp
> log:c:\WINDOWS\WindowsUpdate.log:20480
>
> David.
>
> -- 
> David Baldwin - Senior Systems Administrator (Datacentres + Networks)
> Information and Communication Technology Services
> Australian Sports Commissionhttp://ausport.gov.au
> Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
> david.baldwin at ausport.gov.au  <mailto:david.baldwin at ausport.gov.au>           1 Leverrier Street Bruce ACT 2617
> Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE
>
> ------------------------------------------------------------------------
>
> 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.
>
> ------------------------------------------------------------------------


-- 
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
david.baldwin at ausport.gov.au          1 Leverrier Street Bruce ACT 2617
Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150305/eaaa534f/attachment.html>


More information about the Xymon mailing list