<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Zak,<br>
</div>
<blockquote type="cite">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-US">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-US">To
change how the client reports itself, change line 2746 in the
current commit:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-US">2745
WriteLog "Performing main and optional tests and building
output..."<o:p></o:p><br>
2746 $clout = "client " + $clientname + ".powershell
powershell XymonPS" | Out-String<o:p></o:p><br>
2747 $clsecs = XymonClientSections | Out-String<o:p> <br>
</o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-US">In
the original Powershell client, this line was:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-US">
$clout = "client " + $clientname + ".bbwin win32" | Out-String<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-US">So
you can see we've changed '.bbwin' to '.powershell' and
'win32' to 'powershell'.<o:p></o:p></span></p>
<span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue;mso-fareast-language:EN-US">I
appreciate this isn't very good and should probably be a
configuration item.</span></blockquote>
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.<br>
<br>
[win32]<br>
dir:C:\Windows\Temp<br>
log:c:\WINDOWS\WindowsUpdate.log:20480<br>
<br>
David.<br>
<pre class="moz-signature" cols="72">--
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission <a class="moz-txt-link-freetext" href="http://ausport.gov.au">http://ausport.gov.au</a>
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
<a class="moz-txt-link-abbreviated" href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a> 1 Leverrier Street Bruce ACT 2617
Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE
</pre>
<br>
<hr>
Keep up to date with what's happening in Australian sport visit <a href="http://www.ausport.gov.au">www.ausport.gov.au</a>
<br><br>
<font size="-2" face="arial">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.</font>
<hr>
</body>
</html>