home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 4 / Windows / PLA / Rules / Rules.System.Common.xml next >
Extensible Markup Language  |  2006-09-18  |  3KB  |  53 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?Copyright (c) Microsoft Corporation. All rights reserved.?>
  3. <Rules>
  4.   <Group name="$(GroupCommon)" enabled="true">
  5.     <Rule name="$(RuleWarningTable)" enabled="true">
  6.       <Step select="/Report/Section[1]">
  7.         <Exists>
  8.           <Otherwise>
  9.             <Variable name="warningTable">/Report/Section/Table[@name='warning']</Variable>
  10.             <Insert>
  11.               <Node axis="preceding-sibling">
  12.                 <Section name="advice" key="100">
  13.                   <Table name="warning" style="info" key="2" topic="TopicTestResults" expand="true"/>
  14.                 </Section>
  15.               </Node>
  16.             </Insert>
  17.           </Otherwise>
  18.         </Exists>
  19.       </Step>
  20.     </Rule>
  21.     <Rule name="$(RuleMiss)" enabled="true">
  22.       <Step select="/Report/Section/Table[@name='collection']/Item[Data[@name='events'] != 0 and Data[@name='lostEvents'] != 0]" fatal="true">
  23.         <Variable name="events" expression="format-number(Data[@name='events']+Data[@name='lostEvents'],'#,##0')"/>
  24.         <Variable name="lost" expression="format-number(Data[@name='lostEvents'],'#,##0')"/>
  25.         <Variable name="percentlost" expression="round((Data[@name='lostEvents'] div (Data[@name='events']+Data[@name='lostEvents']))*100)"/>
  26.         <Exists>
  27.           <When expression="{percentlost} >= 10" description="Maximum allowable number of lost trace events. This rule will issue a warning if the number of lost events exceeds this value. The default value is greater than 10%">
  28.             <Variable name="symptom">$(missingEvents)</Variable>
  29.             <Variable name="details">$(missingEventsDetails)</Variable>
  30.             <Variable name="related">$(missingEventsRelated)</Variable>
  31.             <Warning tag="rptHighLostCount" select="Data[@name='lostEvents']" type="info" table="{warningTable}">
  32.               <Item>
  33.                 <Data name="severity" img="info" link="rptHighLostCount" message="rptHighLostCount" translate="value">info</Data>
  34.                 <Data name="symptom" message="rptHighLostCount">{symptom}</Data>
  35.                 <Data name="details">{details}</Data>
  36.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70094">{related}</Data>
  37.               </Item>
  38.             </Warning>
  39.           </When>
  40.         </Exists>
  41.       </Step>
  42.     </Rule>
  43.   </Group>
  44.   <StringTable>
  45.     <String ID="GroupCommon">Global Warning Table</String>
  46.     <String ID="RuleWarningTable">Global Warning Table</String>
  47.     <String ID="RuleMiss">Missing Events in Trace file</String>
  48.     <String ID="missingEvents">Missing Events in Event Log</String>
  49.     <String ID="missingEventsDetails">Investigate why {percentlost}% ({lost}) events were lost during data collection.  The settings for Event Tracing for Windows (ETW) maximum buffers and buffer size may not be optimal depending on which data sets are being collected.</String>
  50.     <String ID="missingEventsRelated">Event Tracing for Windows</String>
  51.   </StringTable>
  52. </Rules>
  53.