[Xymon] Xymon PowerShell Windows client
David Baldwin
david.baldwin at ausport.gov.au
Wed Mar 4 22:57:04 CET 2015
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 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
-------------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150305/cb23e3aa/attachment.html>
More information about the Xymon
mailing list