<Wizard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<!-- *********************************************************************  -->
	<!--  Copyright (C) 2004-2005 Microsoft Corporation. All Rights Reserved.   -->
	<!-- *********************************************************************  -->

	<_locDefinition>
		<_locDefault _loc="locNone"/>
		<_locTag _loc="locNone" _locAttrData="ChangeDescription">Configuration</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title,Class,LogText">Object</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Rule</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Template</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">RestrictionType</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Option</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Setting</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text">String</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text">IssueLink</_locTag>
		<_locTag _loc="locNone" _locAttrData="Title">Report</_locTag>
		<_locTag _loc="locNone" _locAttrData="Title">Action</_locTag>
	</_locDefinition>

	<Configuration ConfigVersion="1.5.0.0" ConfigName="ExPTA Master Input File" LongNameStart="Microsoft Exchange Server" LongNameEnd="Performance Troubleshooting Analyzer" ShortName="Exchange Server Performance Troubleshooting Analyzer" DownloadURL="https://www.microsoft.com/Exchange/code/ExPTA" ArticleURL="http://go.microsoft.com/fwlink/?linkid=52683&amp;l={0}&amp;v=ExPTA.{1}&amp;id={2}" HelpFile="ExPTA.chm" RootHelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm" CheckForUpdatesHelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm" StartScanHelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm" ScanCompletedHelpId="html\56921c4c-6bcc-4f83-9dd0-dccfded2d8f0.htm" SelectScanHelpId="html\98b6c3e5-7fa6-4435-8c79-27ea0b9abe9d.htm" ChangeDescription="Per Microsoft Exchange 2007 Service Pack 3" ReferencedFiles="ExPTA.E12.Collection.xml">

		<ObjectProcessor Name="Step" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.StepObjectProcessor"/>
		<ObjectProcessor Name="Panel" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.PanelObjectProcessor"/>
		<ObjectProcessor Name="Information" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.PanelObjectProcessor"/>
		<ObjectProcessor Name="Progress" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ProgressPanelObjectProcessor"/>
		<ObjectProcessor Name="Action" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.GroupObjectProcessor"/>
		<ObjectProcessor Name="Control" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ControlObjectProcessor"/>
		<ObjectProcessor Name="IfResults" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.IfResultsObjectProcessor"/>
		<ObjectProcessor Name="Credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsObjectProcessor"/>
		<ObjectProcessor Name="Variable" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.VariableInfoObjectProcessor"/>

		<ObjectProcessor Name="Group" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.GroupObjectProcessor"/>
		<ObjectProcessor Name="Cache" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.CacheObjectProcessor"/>
		<ObjectProcessor Name="If" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.IfObjectProcessor"/>
		<ObjectProcessor Name="Resolve" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ResolveObjectProcessor"/>
		<ObjectProcessor Name="Directory" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.DirectoryObjectProcessor"/>
		<ObjectProcessor Name="WMI" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.WMIObjectProcessor"/>
		<ObjectProcessor Name="Registry" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.RegistryObjectProcessor"/>
		<ObjectProcessor Name="File" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.FileObjectProcessor"/>
		<ObjectProcessor Name="Perfmon" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PerfmonObjectProcessor"/>
		<ObjectProcessor Name="Pdh" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor"/>
		<ObjectProcessor Name="PdhInfo" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhInfoObjectProcessor"/>
		<ObjectProcessor Name="PdhCollect" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhCollectObjectProcessor"/>
		<ObjectProcessor Name="Metabase" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.MetabaseObjectProcessor"/>
		<ObjectProcessor Name="LookupAccount" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.LookupAccountObjectProcessor"/>
		<ObjectProcessor Name="Protocol" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.ProtocolObjectProcessor"/>
		<ObjectProcessor Name="Port" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PortObjectProcessor"/>
		<ObjectProcessor Name="Routing" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.RoutingObjectProcessor"/>
		<ObjectProcessor Name="DNS" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.DNSObjectProcessor"/>
		<ObjectProcessor Name="ExMon" Assembly="ExBPA.Shared.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.ExMonObjectProcessor"/>
		<ObjectProcessor Name="Command" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.CommandLineObjectProcessor"/>
		<ObjectProcessor Name="Engine" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.EngineObjectProcessor"/>
		<ObjectProcessor Name="MonadCommand" Assembly="ExBPA.ExchangeCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.MonadCommandObjectProcessor"/>
		<ObjectProcessor Name="MonadData" Assembly="ExBPA.ExchangeCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.MonadDataObjectProcessor"/>
		<ObjectProcessor Name="FCL" Assembly="ExBPA.Shared.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.FCLObjectProcessor"/>
		<ObjectProcessor Name="At" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.AtObjectProcessor"/>
		<ObjectProcessor Name="Sleep" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.SleepObjectProcessor"/>

		<ExtFunction Name="longest-starts-with" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="LongestStartsWith" Returns="String" Parameters="String,Any"/>
		<ExtFunction Name="regSetValue" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="RegSetValue" Returns="Boolean" Parameters="String,String,String,String"/>
		<ExtFunction Name="setLabel" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="SetLabel" Returns="Boolean" Parameters="String"/>
		<ExtFunction Name="nodesort" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="NodeSort" Returns="NodeSet" Parameters="NodeSet,String[,String]"/>
		<ExtFunction Name="ifnumber" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="IfNumber" Returns="NodeSet" Parameters="Number,Any[,Any]"/>
		<ExtFunction Name="validate-credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsObjectProcessor" Function="ValidateCredentials" Returns="Boolean" Parameters="String"/>
		<ExtFunction Name="control-value" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ControlObjectProcessor" Function="ControlValue" Returns="String" Parameters="String[,String]"/>
		<ExtFunction Name="roundto" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="RoundTo" Returns="Number" Parameters="Number,Number"/>
		<ExtFunction Name="getfile" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="GetFiles" Returns="NodeSet" Parameters="String,String[,Number]"/>
		<ExtFunction Name="localize-path" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="LocalizePath" Returns="String" Parameters="String"/>

		<ExtFormat Name="Average" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="AverageFormat"/>
		<ExtFormat Name="Median" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="MedianFormat"/>
		<ExtFormat Name="Max" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="MaxFormat"/>
		<ExtFormat Name="Min" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="MinFormat"/>
		<ExtFormat Name="Sigma" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="SigmaFormat"/>
		<ExtFormat Name="NinetiethPercentile" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="NinetiethPercentileFormat"/>


		<ConfigPreprocessor Name="2 Credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsConfigPreprocessor"/>
		<IssueProcessor Name="Events" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.EventProcessor"/>
		<RestrictionType Name="Task" Title="Attività" Text="" Collapse="False"/>

		<Substitution Name="STEPNAMEPREFIX"></Substitution>
		<Template Name="fFCLError2" Query="($.=@S1) and $iDuration &gt; @S2" Error="Error" Sev="2" ReportIssue="Issue" Title="Tempo di attesa lungo nella chiamata di funzione a {4}" Text="Il tempo di completamento di una chiamata di funzione a {4} ha superato il valore di soglia di {5} secondi. La chiamata '{6}' ha impiegato {9} secondi. Il ritardo si è verificato alle {7}. L'ID del thread chiamante era {8}." P5="10*(@S2 div 10000)" P8="$iThreadID" P9="($iDuration div 1000000)*1000"/>

		<!-- Resource Strings which need to be localized -->
		<Resource>
		</Resource>

		<!-- If you make changes to these Custom Reports, also update the reports in ExPTA.E12.Collection.xml -->
		<CustomReports>
			<Report Title="Panoramica" ArrangeByText="" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Summary']"/>
			<Report Title="Problemi di prestazioni" ArrangeByText="Area,Time Range" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Issue']"/>
			<Report Title="Problemi di esecuzione" ArrangeByText="Area,Time Range" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[not(@ReportIssue) and not (@NextStep) and not(@Display='Hide') and not(@Error='None' or not(@Error))]"/>
			<Report Title="Consigli" ArrangeByText="" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Recommendation']"/>
			<Report Title="Informazioni generali" ArrangeByText="Area" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[not(@ReportIssue) and not (@NextStep) and not(@Display='Hide') and (@Error='None' or not(@Error))]"/>
		</CustomReports>

	</Configuration>
	<!-- ****************************************************************************************************************** -->

	<Object Type="Step" Name="CheckIfEdge" Title="È in corso la verifica dell'esecuzione sul server Edge" Display="Left" SkipSave="True">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%EDGEROLE%" Substitution="EDGEROLE" Display="Hide"/>
			<Setting Key1="%CHOOSESTARTSTEP%" Substitution="CHOOSESTARTSTEP" Display="Hide"/>
			<Setting Key1="%STARTSTEP%" Substitution="STARTSTEP" Display="Hide"/>
			<Object Type="Action">
				<Object Type="Group" Name="Checking if ok to proceed">
					<Setting Key1="OK">
						<Rule NextStep="ReadRegistryConfigurationStep" Name="fProceed" Query="'%EDGEROLE%'!='1' and not($fFirstStepSelected)" SQM="90;Set"/>
					</Setting>
					<Setting Key1="NotOK">
						<Rule Name="fAbort" Query="not($fProceed) and not($fFirstStepSelected)" Error="Error" Title="Rilevato server Edge" Text="Lo strumento di risoluzione delle prestazioni non è ancora dotato degli strumenti per analizzare un server Edge." SQM="89;Set"/>
						<Rule NextStep="ShowUnableToProceedScreen" Name="fAbortProceed" Query="not($fProceed) and not($fFirstStepSelected)"/>
						<Rule NextStep="%STARTSTEP%" Name="fFirstStepSelected" Query="@S1='1'" S1="%CHOOSESTARTSTEP%"/>
					</Setting>
				</Object>
			</Object>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ShowUnableToProceedScreen" Title="Impossibile procedere" Display="Left" SkipSave="True">
		<Object Type="Panel">
			<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="Impossibile proseguire"/>
			<Object Type="Control" SubType="Label" Name="Label" Position="Below" Text="Lo strumento di risoluzione dei problemi di prestazioni non è ancora predisposto per l'analisi di un server Edge." ForeColor="Red"/>
			<Object Type="Control" SubType="Link" Name="Exit" Position="IndentBelow" Text="Esci"/>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ReadRegistryConfigurationStep" Title="Inizializza" Display="Left" SkipSave="True">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Group" Name="Executing Workstation">
				<Setting Key1="Rule">
					<Rule NextStep="SelectAnalyzeOrCollect" Name="fOptionSelectStep"/>
					<Rule Name="szSymptom1" Query="string(@Title)" Title="Il numero di operazioni RPC al secondo è superiore a quanto previsto">
						<Variable Name="Symptom[1]" Scope="Global"/>
					</Rule>
					<Rule Name="szSymptom0" Query="string(@Title)" Title="Diversi utenti segnalano ritardi nell'utilizzo di Outlook o visualizzano spesso la finestra di dialogo RPC annullabile di Outolook">
						<Variable Name="Symptom[0]" Scope="Global"/>
					</Rule>
					<Rule Name="szSymptom2" Query="string(@Title)" Title="Il numero di richieste RPC in attesa è elevato">
						<Variable Name="Symptom[2]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame0" Query="string(@Title)" Title="5 minuti">
						<Variable Name="szTimeFrame[0]" Scope="Global"/>
						<Variable Name="szExMonTimeFrame[0]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame1" Query="string(@Title)" Title="20 minuti">
						<Variable Name="szTimeFrame[1]" Scope="Global"/>
						<Variable Name="szExMonTimeFrame[1]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame2" Query="string(@Title)" Title="1 ora">
						<Variable Name="szTimeFrame[2]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame3" Query="string(@Title)" Title="2 ore">
						<Variable Name="szTimeFrame[3]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame4" Query="string(@Title)" Title="4 ore">
						<Variable Name="szTimeFrame[4]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame5" Query="string(@Title)" Title="8 ore">
						<Variable Name="szTimeFrame[5]" Scope="Global"/>
					</Rule>
					<Rule Name="szExMonTimeFrame2" Query="string(@Title)" Title="30 minuti">
						<Variable Name="szExMonTimeFrame[2]" Scope="Global"/>
					</Rule>
					<Rule Name="iMediumServerMbxCount" Query="500">
						<Variable Name="iMEDIUMSERVERMBXCOUNT" Scope="Global"/>
					</Rule>
					<Rule Name="iLargeServerMbxCount" Query="3000">
						<Variable Name="iLARGESERVERMBXCOUNT" Scope="Global"/>
					</Rule>
					<Rule Name="iSampleSeconds" Query="300">
						<Variable Name="SAMPLESECONDS" Scope="Global"/>
					</Rule>
					<Rule Name="szDC" Query="if($szDCSpecified,string($szDCSpecified),string($szDCDetected))" AlwaysEvaluate="True">
						<Variable Name="DCName" Scope="Global"/>
						<Variable Name="DEFADSERVER" Scope="Global"/>
					</Rule>
					<Rule Name="szServer" Query="if($szServerSpecified,string($szServerSpecified),'')" AlwaysEvaluate="True">
						<Variable Name="SERVERNAME" Scope="Global"/>
						<Variable Name="DEFEXSERVER" Scope="Global"/>
					</Rule>
					<Rule Name="fSkipInfo" Query="if($szSkipInformationalSteps and $szSkipInformationalSteps=0,'0','1')" AlwaysEvaluate="True">
						<Variable Name="varContinueRun" Scope="Children"/>
					</Rule>
					<Rule Name="szPerfMonDurationDefault" Query="if($szPerfMonDuration,$szPerfMonDuration,'0')" AlwaysEvaluate="True">
						<Variable Name="varPDHSelectedDuration" Scope="Children"/>
					</Rule>
					<Rule Name="szExMonDurationDefault" Query="if($szExMonDuration,$szExMonDuration,'0')" AlwaysEvaluate="True">
						<Variable Name="varExMonSelectedDuration" Scope="Children"/>
					</Rule>
					<Rule Name="iDefaultShortSamplePeriod" Query="5">
						<Variable Name="iSHORTSAMPLEINTERVAL" Scope="Children"/>
					</Rule>
					<Rule Name="iDefaultLongSamplePeriod" Query="10">
						<Variable Name="iLONGSAMPLEINTERVAL" Scope="Children"/>
					</Rule>
					<Rule Name="szRunDuration" Query="'00:00:020'">
						<Variable Name="szRunDuration" Scope="Children"/>
					</Rule>
					<Rule Name="fIsSBS" Query="'0'">
						<Variable Name="fIsSBS" Scope="Children"/>
					</Rule>
					<Rule Name="fSkipSummary" Query="'0'">
						<Variable Name="fSkipSummary" Scope="Global"/>
					</Rule>
					<Rule Name="szAll" Query="string(@Text)" Text="Tutti gli intervalli di tempo" Display="Hide">
						<Variable Name="szAll" Scope="Global"/>
					</Rule>
					<Rule Name="szAllBadRPC" Query="string(@Text)" Text="Tutti gli intervalli di tempo in cui viene riscontrato un problema con lo stato RPC" Display="Hide">
						<Variable Name="szAllBadRPC" Scope="Global"/>
					</Rule>
					<!-- iTimeSliceDuration determines the amount of time is in each time range -->
					<Rule Name="iTimeSliceDuration" Query="1200">
						<Variable Name="iTimeSliceDuration" Scope="Global"/>
					</Rule>
					<Rule Name="szCollectNow" Query="if($szCollectNowReg,$szCollectNowReg,'1')" AlwaysEvaluate="True">
						<Variable Name="varCollectNow" Scope="Global"/>
					</Rule>
					<Rule Name="szCollectLater" Query="if($szCollectNow='1','0','1')" AlwaysEvaluate="True">
						<Variable Name="varCollectLater" Scope="Global"/>
					</Rule>
					<Rule Name="fInitializeServerRoles" Query="'0'">
						<Variable Name="varIsExchange12" Scope="Children"/>
						<Variable Name="varIsExchange12RTM" Scope="Children"/>
						<Variable Name="varIsExchange12SP1orHigher" Scope="Children"/>
						<Variable Name="varIsExchange2000" Scope="Global"/>
						<Variable Name="varIsExchange2003" Scope="Global"/>
						<Variable Name="varIsClientAccessServer" Scope="Children"/>
						<Variable Name="varIsUnifiedMessagingServer" Scope="Children"/>
						<Variable Name="varIsEdgeServer" Scope="Children"/>
						<Variable Name="varIsMailboxServer" Scope="Children"/>
						<Variable Name="varIsHubTransportServer" Scope="Children"/>
						<Variable Name="MailboxCount" Scope="Children"/>
						<Variable Name="SQUEAKYLOBSTER" Scope="Children"/>
						<Variable Name="FCLRETRYCOUNT" Scope="Children"/>
						<Variable Name="varExMonCollectFailure" Scope="Global"/>
						<Variable Name="varAnalyzeButton" Scope="Global"/>
					</Rule>
					<Rule Name="iSetValueTo1" Query="1">
						<Variable Name="varCollectButton" Scope="Global"/>
					</Rule>
					<Rule Name="szInitializeFCLAction" Query="'Collect'">
						<Variable Name="FCLACTION" Scope="Children"/>
					</Rule>
					<Rule Name="szInitializeVariables" Query="''">
						<Variable Name="szStartTime" Scope="Children"/>
						<Variable Name="szEndTime" Scope="Children"/>
						<Variable Name="varActiveNodeName" Scope="Children"/>
					</Rule>
					<Rule Name="szRootDataDirectory" Query="if($szRootDataReg,$szRootDataReg,if(string-length($szDataReg) &gt;0,$szDataReg,'C:\Perflogs'))" AlwaysEvaluate="True">
						<Variable Name="varRootDataDirectory" Scope="Global"/>
					</Rule>
					<Rule Name="szDefaultDataDirectory" Query="if($szDefaultDataFolderReg,$szDefaultDataFolderReg,$szRootDataDirectory)" AlwaysEvaluate="True">
						<Variable Name="varDefaultDataFolder" Scope="Global"/>
					</Rule>
					<Rule Name="fExmonLatency" Query="30" AlwaysEvaluate="True">
						<Variable Name="varExMonLongLatency" Scope="Global"/>
					</Rule>
				</Setting>
				<Object Type="LookupAccount" Key1="Name">
					<Setting Key1="Sid">
						<Rule Name="szCurrentUserSid" Query="$.">
							<Variable Name="varCurrentUserSid" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="WMI" Key3="Win32_OperatingSystem">
					<Setting Key1="LocalDateTime" Substitution="dPrettyDateTime" SubstitutionFormat="(.*?)(\..*)----$1">
						<Rule Name="dCurrentDateTime" Query="date-parse(substring($.,1,14), 'yyyyMMddHHmmss')">
							<Variable Name="varCurrentDateTime" Scope="Children"/>
						</Rule>
						<Rule Name="szPrettyDateTime" Query="@S1" S1="%dPrettyDateTime%">
							<Variable Name="varPrettyDateTime" Scope="Children"/>
						</Rule>
					</Setting>
					<Setting Key1="LocalDateTime" Format="CIMDateTime">
						<Rule Name="dCurrentDateTimeUTC" Query="$.">
							<Variable Name="varCurrentDateTimeUTC" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Registry" Key1="" Key2="HKEY_CURRENT_USER" Key3="Software\Microsoft\Exchange\ExTRA">
					<Setting Key1="DCDetected">
						<Rule Name="szDCDetected" Query="$."/>
					</Setting>
				</Object>
				<Object Type="Registry" Key1="" Key2="HKEY_CURRENT_USER" Key3="Software\Microsoft\Exchange\ExPTA">
					<Setting Key1="DCSpecified">
						<Rule Name="szDCSpecified" Query="$."/>
					</Setting>
					<Setting Key1="ServerSpecified">
						<Rule Name="szServerSpecified" Query="$."/>
					</Setting>
					<Setting Key1="CollectNow">
						<Rule Name="szCollectNowReg" Query="$."/>
					</Setting>
					<Setting Key1="SkipInformationalSteps">
						<Rule Name="szSkipInformationalSteps" Query="$."/>
					</Setting>
					<Setting Key1="PerfMonCollectionDuration">
						<Rule Name="szPerfMonDuration" Query="$."/>
					</Setting>
					<Setting Key1="ExMonCollectionDuration">
						<Rule Name="szExMonDuration" Query="$."/>
					</Setting>
					<Setting Key1="RootDataFolder">
						<Rule Name="szRootDataReg" Query="$."/>
					</Setting>
					<Setting Key1="DefaultDataFolder">
						<Rule Name="szDefaultDataFolderReg" Query="$."/>
					</Setting>
					<Setting Key1="DataDirectory">
						<Rule Name="szDataReg" Query="$."/>
					</Setting>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Reference File="ExPTA.E12.Collection.xml" Name="E12Collection">
		<Substitution Name="STEPNAMEPREFIX">E12Collection_</Substitution>
	</Reference>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SelectSymptom" Title="Sintomi" Display="Left" SkipSave="True">
		<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%DEFEXSERVER%" Substitution="DEFEXSERVER" Display="Hide"/>
				<Setting Key1="%EXSERVER%" Substitution="EXSERVER"/>
				<Setting Key1="%DEFEXSERVER%" Substitution="DEFEXSERVER1"/>
				<Setting Key1="%DEFEXSERVER%" Substitution="DEFEXSERVER2"/>
				<Setting Key1="%ADSERVER%" Substitution="ADSERVER"/>
				<Setting Key1="%DEFADSERVER%" Substitution="DEFADSERVER1"/>
				<Setting Key1="%DEFADSERVER%" Substitution="DEFADSERVER2"/>
				<Setting Key1="%Symptom[0]%" Substitution="Symptom[0]"/>
				<Setting Key1="%varContinueRun%" Substitution="varContinueRun"/>
				<Setting Key1="%Symptom%" Substitution="Symptom"/>
				<Setting Key1="%varExMonFileName%" Substitution="varExMonFileName"/>
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Risoluzione problemi di prestazioni di Exchange"/>
				<Object Type="Control" SubType="Label" Name="label" Position="Below" Text="Questo strumento consente di identificare le cause possibili della finestra di dialogo di richiesta annullamento RPC in Microsoft Office Outlook. Non è necessario eseguire lo strumento su un computer con Microsoft Exchange Server. Lo strumento esegue la risoluzione dei problemi su un solo server di Exchange."/>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="Per ottenere risultati migliori, si consiglia di eseguire lo strumento mentre si verifica il problema."/>

				<Object Type="Control" SubType="GradiatedBox" Name="TopLine" Position="Below"/>
				<Object Type="Control" SubType="Label" Name="label2" Position="Below" Text="Descrizione dei sintomi osservati"/>
				<Object Type="Control" SubType="ComboBox" Name="Symptoms" Position="Below" Width="780" SelectedValue="%Symptom[0]%" Default="%Symptom%">
					<Setting Key1="SelectedIndex">
						<Rule NextStep="GetCredentials" Name="fAllSymptom" Query="$.='0'" Priority="1" SQM="112;Set"/>
						<Rule NextStep="GetCredentials" Name="fExMonSymptom" Query="$.='1'" Priority="2" SQM="113;Set"/>
						<Rule NextStep="GetCredentials" Name="fFCLSymptom" Query="$.='2'" Priority="3" SQM="114;Set"/>
						<Rule Name="iSelectedSymptomIndex" Query="$.">
							<Variable Name="varSelectedSymptomIndex" Scope="Children"/>
						</Rule>
						<Rule Name="fSymptom0" Query="if($.='0','1')">
							<Variable Name="varCollectPDH" Scope="Children"/>
							<Variable Name="varCollectExMon" Scope="Children"/>
							<Variable Name="varCollectFCL" Scope="Children"/>
							<Variable Name="varCollectEventLog" Scope="Children"/>
						</Rule>
						<Rule Name="fSymptom1" Query="if($.='1','0')">
							<Variable Name="varCollectPDH" Scope="Children"/>
							<Variable Name="varCollectFCL" Scope="Children"/>
							<Variable Name="varCollectEventLog" Scope="Children"/>
						</Rule>
						<Rule Name="fSymptomNot1" Query="if($.='1','1')">
							<Variable Name="varCollectExMon" Scope="Children"/>
						</Rule>
						<Rule Name="fSymptom2" Query="if($.='2','0')">
							<Variable Name="varCollectPDH" Scope="Children"/>
							<Variable Name="varCollectExMon" Scope="Children"/>
							<Variable Name="varCollectEventLog" Scope="Children"/>
						</Rule>
						<Rule Name="fSymptomNot2" Query="if($.='2','1')">
							<Variable Name="varCollectFCL" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="MiddleLine" Position="Below"/>
				<Object Type="Control" SubType="CheckBox" Name="ContinueRun" Position="Below" Text="Nascondi visualizzazione informazioni" Default="%varContinueRun%">
					<Setting Key1="Checked">
						<Rule Name="iContinueRun" Query="$.">
							<Variable Name="varContinueRun" Scope="Local"/>
						</Rule>
						<Rule Name="fSetContinueRun" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','SkipInformationalSteps',$.)"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="label6" Position="Below" Text="Selezionando questa opzione i dettagli dei risultati dell'analisi verranno nascosti fino al termine dell'analisi."/>

				<Object Type="Control" SubType="GradiatedBox" Name="BottomLine" Position="LeftBelow"/>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Precedente"/>

				<Object Type="Control" SubType="Link" Name="Step0" Position="NextTo" Percent="20" Text="Avanti"/>
				<Object Type="Group" Name="Initialize">
					<Setting Key1="Rules">
						<Rule Name="szInitializeEXServerName" Query="if(@S1='%EXSERVER%',if(@S2='%DEFEXSERVER%','',string(@S2)),string(@S1))" S1="%DEFEXSERVER1%" S2="%DEFEXSERVER2%" AlwaysEvaluate="True">
							<Variable Name="DEFEXSERVER" Scope="Global"/>
						</Rule>
						<Rule Name="szInitializeADServerName" Query="if(@S1='%ADSERVER%',if(@S2='%DEFADSERVER%','',string(@S2)),string(@S1))" S1="%DEFADSERVER1%" S2="%DEFADSERVER2%" AlwaysEvaluate="True">
							<Variable Name="DEFADSERVER" Scope="Global"/>
						</Rule>
						<Rule Name="szInitializeETLFILEName" Query="if(@S1='%varExMonFileName%','',string(@S1))" S1="%varExMonFileName%" AlwaysEvaluate="True">
							<Variable Name="varExMonFileName" Scope="Global"/>
							<Variable Name="varExMonBaseFileName" Scope="Global"/>
						</Rule>
					</Setting>
				</Object>

				<Rule Name="iLoopCount" Query="1" AlwaysEvaluate="True">
					<Variable Name="LoopCount" Scope="Children"/>
				</Rule>
				<Rule Name="iNoServerLoopCountInit" Query="1" AlwaysEvaluate="True">
					<Variable Name="NoServerLoopCount" Scope="Children"/>
				</Rule>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetCredentials" Title="Nome server e credenziali" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%NoServerLoopCount%" Substitution="NoServerLoopCount" Display="Hide"/>
			<Setting Key1="%DEFEXSERVER%" Substitution="SERVERNAME" Display="Hide"/>
			<Setting Key1="%DEFADSERVER%" Substitution="DCName" Display="Hide"/>
			<Setting Key1="%varLabel%" Substitution="varLabel" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varCollectEventLog%" Substitution="varCollectEventLog" Display="Hide"/>
			<Setting Key1="%varCollectExMon%" Substitution="varCollectExMon" Display="Hide"/>
			<Setting Key1="%varCollectFCL%" Substitution="varCollectFCL" Display="Hide"/>
			<Setting Key1="%varCollectPDH%" Substitution="varCollectPDH" Display="Hide"/>

			<Object Type="Panel" Display="Hide" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Setting Display="Hide">
					<!-- Get the loop count if it exists. -->
					<Rule Name="iNoServerLoopCount" Query="@S0" S0="%NoServerLoopCount%" AlwaysEvaluate="True"/>
					<Rule Name="fGotCredentials" Query="not(string-length($fADServer) = 0) and not(string-length($fServer) = 0)"/>
					<Rule Name="fCollect" Query="'%varCollectPDH%'='1' or '%varCollectExMon%'='1' or '%varCollectFCL%'='1' or '%varCollectEventLog%'='1'"/>
					<Rule NextStep="GetNewTime" Name="fGetNewTime" Query="$fGotCredentials and $fCollect" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckStoreProcess" Name="fCheckStoreProcess" Query="$fGotCredentials and not($fCollect)" AlwaysEvaluate="True"/>
					<Rule NextStep="NeedName" Name="fNeedName" Query="not($fGotCredentials) and not($iNoServerLoopCount = 3)" Error="None" Title="Nessun server Exchange o Active Directory fornito" Text="È necessario fornire sia il nome del server Exchange che quello del server Active Directory." Display="Hide" AlwaysEvaluate="True">
						<Rule Name="szProblemStatement" Query="string(@Title)" Title="Impossibile continuare l'analisi delle prestazioni. È necessario fornire il nome del server Exchange e quello del server Active Directory.">
							<Variable Name="Problem"/>
						</Rule>
						<Rule Name="iNewNoServerLoopCount" Query="$iNoServerLoopCount + 1" AlwaysEvaluate="True">
							<Variable Name="NoServerLoopCount"/>
						</Rule>
					</Rule>
					<Rule Name="fThreeStrikesNoCredentials" Query="not($fGotCredentials) and $iNoServerLoopCount = 3" Error="Error" Sev="1" Priority="1" Title="Errore irreversibile: è necessario sia il nome del server Exchange che quello del server Active Directory" Text="Non è stato fornito il nome del server Exchange nella finestra di dialogo relativa alla richiesta di annullamento RPC né il nome di un server Active Directory nello stesso dominio."/>
				</Setting>
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Risoluzione problemi di prestazioni di Exchange"/>

				<Object Type="Control" SubType="Label" Name="EXLabel" Position="LeftBelow" Text="Nome server"/>
				<Object Type="Control" SubType="TextBox" Name="EXName" Position="400," Default="%SERVERNAME%" Display="Hide">
					<Setting Key1="SERVERNAME">
						<Rule Name="fServer" Query="$.">
							<Variable Name="SERVERNAME" Scope="Global"/>
							<Variable Name="DEFEXSERVER" Scope="Global"/>
						</Rule>
						<Rule Name="fCNServerName" Query="if(contains($.,'.'),substring-before($.,'.'),$.)">
							<Variable Name="EXSRVNAME" Scope="Global"/>
						</Rule>
						<Rule Name="fSetServerName" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','ServerSpecified',$.)"/>
						<Rule Name="szDefaultLabelWithNewServerName" Query="if(string-length(@S2) = 0, concat($.,@S1), @S2)" S1=" - %varCurrentDateTime%" S2="%varLabel%">
							<Variable Name="varLabel" Scope="Global"/>
						</Rule>
						<Rule Name="fSetDefaultLabel2" Query="setLabel($szDefaultLabelWithNewServerName)"/>
					</Setting>
				</Object>

				<Object Type="Control" SubType="Label" Name="DCLabel" Position="LeftBelow" Text="Nome server di catalogo globale"/>
				<Object Type="Control" SubType="TextBox" Name="DCName" Position="At(EXName)," Default="%DCName%" Display="Hide">
					<Setting Key1="DCName">
						<Rule Name="fADServer" Query="$.">
							<Variable Name="DCName" Scope="Global"/>
							<Variable Name="DEFADSERVER" Scope="Global"/>
						</Rule>
						<Rule Name="fSetDCName" Query="($. != @S0) and regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','DCSpecified',$.)" S0="%DCName%"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="InvalidCredentials" Position="Below" Text="Credenziali non valide. Fornire credenziali valide." ForeColor="Red" FontStyle="Bold" Flags="Visible=False"/>

				<Object Type="Control" SubType="GradiatedBox" Name="MidLine1" Position="LeftBelow"/>
				<Object Type="Control" SubType="ShowHide" Name="ShowHideCreds" Position="Below" Text="Mostra opzioni di accesso avanzate, Nascondi opzioni di accesso avanzate">
					<Object Type="Control" SubType="Label" Name="EXLabel2" Position="Top" Text="Se le credenziali in uso non dispongono di autorizzazioni sufficienti per leggere le informazioni di configurazione del server di Exchange, immettere di seguito credenziali alternative."/>
					<Object Type="Credentials" Name="EXLOGON" Position="Below" Key1="385"/>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="MidLine2" Position="Below"/>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Precedente"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="At(EXName)," Text="Avanti">
					<Event Type="Click">
						<Action Type="Proceed" Query="validate-credentials('EXLOGON')"/>
						<Action Type="Visible" ControlName="InvalidCredentials" Query="not(validate-credentials('EXLOGON'))"/>
					</Event>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="BusyUsersInformation" Title="Profilo di utilizzo" Display="Left">
		<Object Type="Variable" Key1="Scalar" Key2="%varDataAction%" Key3="%varUserDataDoc%" Display="Hide">
			<Setting Key1="%BUSYUSERTEXT%" Substitution="BUSYUSERTEXT" Display="Hide"/>
			<Setting Key1="%SERVERNAME%" Substitution="SERVERNAME" Display="Hide"/>
			<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="User Profile" Class="Area" GroupingClass="True">
					<Object Type="Group" Name="All" Class="Intervallo di tempo" GroupingClass="True">
						<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Attività utente"/>
						<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="%BUSYUSERTEXT%"/>
						<Object Type="Control" SubType="Label" Name="label2a" Position="Below" Default="High RPC rates may be normal for the users on server %SERVERNAME%, although sometimes high activity is due to problems with an application such as a third party Outlook add-in, synchronization device, or desktop search application. For information about how to distinguish between these cases, please select the options that apply to users on this server."/>

						<Object Type="Control" SubType="CheckBox" Name="SyncDevices" Position="Below" Text="Gli utenti di %SERVERNAME% utilizzano dispositivi palmari che sincronizzano con la cassetta postale">
							<Setting Key1="SyncDevices">
								<Rule NextStep="UsingSyncDevices" Name="fUsingSyncDevices" Query="$. = 1" Text="Gli utenti dispongono di dispositivi palmari sincronizzati con la cassetta postale." Display="Hide"/>
								<Rule Name="fOrgUsesSyncDevices" Query="$.">
									<Variable Name="OrgUsesSyncDevices" Scope="Global"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="CheckBox" Name="Third-party plugins" Position="Below" Text="Gli utenti di %SERVERNAME% utilizzano componenti aggiuntivi di Outlook di terze parti.">
							<Setting Key1="plugin">
								<Rule Name="fUsingThirdParty" Query="$. = 1" Text="Gli utenti dispongono di componenti aggiuntivi di Outlook di terze parti."/>
								<Rule Query="$.">
									<Variable Name="OrgUsesThirdParty" Scope="Global"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="CheckBox" Name="DesktopSearch" Position="Below" Text="Gli utenti di %SERVERNAME% utilizzano applicazioni di ricerca desktop quali MSN(tm) Search o Google(tm) Desktop Search">
							<Setting Key1="plugin">
								<Rule Name="fUsingDesktopSearch" Query="$. = 1"/>
								<Rule Query="$.">
									<Variable Name="OrgUsesDesktopSearch" Scope="Global"/>
								</Rule>
								<Rule Name="fUsingDesktopSearchError" Query="$. = 1" Error="Error" Sev="3" ReportIssue="Issue" Title="Ricerca su desktop" Text="È stato specificato che gli utenti possono eseguire applicazioni di ricerca sul desktop. I motori di ricerca sul desktop possono causare problemi di prestazioni sui server di messaggistica. Se per tale motivo il carico RPC del server è recentemente è aumentato, valutare la possibilità di richiedere agli utenti di non eseguire ricerche sul desktop rispetto al server Exchange o di eseguire l'aggiornamento alla modalità cache di Outlook." GUID="3a699339-7043-4610-9fad-d662580914c2"/>
							</Setting>
						</Object>
						<Object Type="Control" SubType="Label" Name="label2b" Position="Below" Default="(Leave the options unchecked if you are uncertain.)"/>

						<Object Type="Group" Name="User Info" Display="Hide">
							<Rule Name="szBusyUsersInformation" Query="'BusyUsersInformation'">
								<Variable Name="PreviousName" Scope="Children"/>
							</Rule>
							<Rule Name="fUsingSyncDevicesError" Query="$fUsingSyncDevices or $fUsingThirdParty" Error="Error" Sev="3" ReportIssue="Issue" Title="Componenti aggiuntivi di terze parti" Text="È stato specificato che gli utenti possono eseguire applicazioni o dispositivi di terze parti che eseguono la sincronizzazione con il server. Alcune applicazioni che accedono al server Exchange impiegano molte risorse sul server in quanto emettono un numero elevato di richieste o di richieste che utilizzano una grande quantità di risorse. Se il carico sul server di messaggistica è eccessivamente elevato, potrebbe causare problemi di prestazioni. Se il carico RPC del server recentemente è aumentato, potrebbe essere necessario analizzare i componenti aggiuntivi o i programmi di terze parti che eseguono la sincronizzazione della posta elettronica come origine del maggiore carico. Se non è possibile ridurre il carico sul server ed è stata superata la capacità, potrebbe essere necessario spostare alcuni utenti su un altro server." GUID="8d42dba9-8b17-4142-a690-76de45cb3322"/>
							<Rule Name="fDisplayIssueStep" NextStep="DisplayResultsStep" Priority="1" Query="$fBusyUserIssueFound" AlwaysEvaluate="True"/>
							<Rule Name="szDisplayClntProfileSummary" Query="string(@Title)" Title="Riepilogo del profilo dell'applicazione client">
								<Variable Name="DISPLAYTITLE" Scope="Global"/>
							</Rule>
							<Rule Query="if($fBusyUserIssueFound, string(@Title))" Title="È noto che alcuni tipi di client provocano un carico elevato sui server Exchange. Se non è possibile ridurre il carico sul server ed è stata superata la capacità prevista, potrebbe essere necessario spostare alcuni utenti su un altro server. Alla fine di questo strumento sono riportate ulteriori informazioni sul carico esercitato sul client." AlwaysEvaluate="True">
								<Variable Name="ErrorStateText" Scope="Global"/>
							</Rule>
							<Rule Name="fBusyUserIssueFound" Query="$fUsingSyncDevices or $fUsingThirdParty or $fUsingDesktopSearchError" AlwaysEvaluate="True"/>
						</Object>
						<Object Type="Control" SubType="Label" Name="label3" Position="Below" Text=""/>
						<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Precedente"/>
						<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="Avanti"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckStoreProcess" Title="Controllo della connettività" Display="Left">
		<Object Type="Variable" Key1="Scalar" Key2="%varDataAction%" Key3="%varDataDoc%" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%EXSRVNAME%" Substitution="EXSRVNAME" Display="Hide"/>
			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%iLARGESERVERMBXCOUNT%" Substitution="iLARGESERVERMBXCOUNT" Display="Hide"/>
			<Setting Key1="%iMEDIUMSERVERMBXCOUNT%" Substitution="iMEDIUMSERVERMBXCOUNT" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varPrettyDateTime%" Substitution="varPrettyDateTime" Display="Hide"/>
			<Setting Key1="%varServerRootDataDirectory%" Substitution="varServerRootDataDirectory" Display="Hide"/>
			<Setting Key1="%varDataFolderName%" Substitution="varDataFolderName" Display="Hide"/>
			<Object Type="Progress" Text="Attendere. Verifica delle connessioni al server di Exchange %SERVER% e al server di Active Directory %DC% in corso..." Title="Controllo della connettività ai server Exchange e Active Directory" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="Connectivity Results and Machine Data" Class="Area" GroupingClass="True">
					<Object Type="Group" Name="All" Class="Intervallo di tempo" GroupingClass="True">
						<!-- Find out the language of the local computer -->
						<Object Type="Group" Name="Local Machine Info">
							<Object Type="WMI" Key1="" Key3="Win32_OperatingSystem">
								<Setting Key1="OSLanguage">
									<Rule Name="fNonEnglishOS" Query="$. !=1033"/>
								</Setting>
								<Setting Key1="MaxProcessMemorySize">
									<Rule Name="f3GB" Query="$.&gt; 2097024" AlwaysEvaluate="True">
										<Variable Name="f3GB" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="OSProductSuite">
									<Rule Name="fWin2003Dtc" Query="$fLocalMachineWinVer2003 and bitwise-and($.,128)" Error="None" Text="Questo strumento è in esecuzione su Windows Server 2003 Datacenter Edition."/>
									<Rule Name="fWin2003Ent" Query="$fLocalMachineWinVer2003 and bitwise-and($.,2)" Error="None" Text="Questo strumento è in esecuzione su Windows Server 2003 Enterprise Edition."/>
									<Rule Name="fWin2003Sbs" Query="$fLocalMachineWinVer2003 and bitwise-and($.,1)" Error="None" Text="Questo strumento è in esecuzione su Windows Small Business Server 2003."/>
									<Rule Name="fWin2003Std" Query="$fLocalMachineWinVer2003 and not (bitwise-and($.,2)) and not (bitwise-and($.,1))" Error="None" Text="Questo strumento è in esecuzione su Windows Server 2003 Standard Edition."/>
									<Rule Name="fWin2000Dtc" Query="$fLocalMachineWinVer2000 and bitwise-and($.,128)" Error="None" Text="Questo strumento è in esecuzione su Windows 2000 Datacenter Server."/>
									<Rule Name="fWin2000Adv" Query="$fLocalMachineWinVer2000 and bitwise-and($.,2)" Error="None" Text="Questo strumento è in esecuzione su Windows 2000 Advanced Server."/>
									<Rule Name="fWin2000Sbs" Query="$fLocalMachineWinVer2000 and bitwise-and($.,1)" Error="None" Text="Questo strumento è in esecuzione su Microsoft Small Business Server 2000."/>
									<Rule Name="fWin2000Std" Query="$fLocalMachineWinVer2000 and not (bitwise-and($.,2)) and not (bitwise-and($.,1))" Error="None" Text="Questo strumento è in esecuzione su Windows 2000 Server Standard Edition."/>
								</Setting>
							</Object>
							<Object Type="Registry" Key1="" Key3="Software\Microsoft\Windows NT\CurrentVersion">
								<Setting Key1="SystemRoot" Format="(.*?):(.*)----$1:">
									<Rule Name="szWindowsPathDrive" Query="$.">
										<Variable Name="varWindowsPathDrive" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="CurrentVersion">
									<Rule Name="szLocalMachineWinVer" Query="$."/>
									<Rule Name="fLocalMachineWinNT4" Query="$.='4.0'"/>
									<Rule Name="fLocalMachineWinVer2000" Query="$.='5.0'"/>
									<Rule Name="fLocalMachineWinXP" Query="$.='5.1'"/>
									<Rule Name="fLocalMachineWinVer2003" Query="$.='5.2'"/>
									<Rule Name="fLocalMachineWinVer2008" Query="$.='6.0'"/>
									<Rule Name="fWinXPAndNotSP2" Query="$fLocalMachineWinXP and not($fIsSP2)" Title="Sul computer locale non è in esecuzione il Service Pack aggiornato" Text="Sul computer locale non è in esecuzione Windows XP Service Pack 2 o versioni successive. La raccolta dei dati sulle prestazioni non sarà eseguita su questa versione di Windows." Error="Warning" AlwaysEvaluate="True">
										<Variable Name="LOCALWINXPANDNOTSP2" Scope="Children"/>
									</Rule>
									<Rule Name="fWin2000" Query="$fLocalMachineWinVer2000" Title="La raccolta e l'analisi dei dati sulle prestazioni non saranno eseguite su questa versione di Windows" Text="Sul computer locale è in esecuzione Windows 2000. L'analisi e la raccolta dei dati sulle prestazioni non saranno eseguite su questa versione di Windows." Error="Error" AlwaysEvaluate="True">
										<Variable Name="LOCALWIN2000" Scope="Children"/>
									</Rule>
									<Rule Name="fWinVerIncompatible" Query="not($fLocalMachineWinVer2008) and $fExWinVer2008" Error="Warning" Title="Versioni incompatibili di Windows" Text="La versione del sistema operativo presente sul server '{0}' è successiva rispetto a quella installata nel computer locale. È probabile che la raccolta e l'analisi dei dati non siano eseguite correttamente dal computer locale." S0="%SERVER%" AlwaysEvaluate="True"/>
								</Setting>
								<Setting Key1="ProductName">
									<Rule Name="fIsSP2" Query="starts-with($.,'Microsoft Windows XP') and $fLocalMachineWinXP"/>
									<Rule Name="fWin2008Version" Query="$fLocalMachineWinVer2008" Error="None" Text="Nel computer su cui è in esecuzione questo strumento è installato '{0}'." P0="$."/>
								</Setting>
							</Object>
						</Object>
						<Object Type="Group" Name="Server Info">
							<Rule Name="fDisplayStoreProcessStep" NextStep="DisplayResultsStep" Query="@S1=0" S1="%varContinueRun%" Priority="1" AlwaysEvaluate="True"/>
							<Rule Name="szCheckStoreProcess" Query="'CheckStoreProcess'">
								<Variable Name="PreviousName" Scope="Children"/>
							</Rule>
							<!-- Overall success or failure? -->
							<Rule Name="szError2" Query="string(@Title)" Title="Sono stati rilevati uno o più errori."/>
							<Rule Name="szErrorStateText" Query="if($fNoErrorCheckStoreProcessStep,string(@Title),$szError2)" Title="Test della connettività superato." AlwaysEvaluate="True">
								<Variable Name="ErrorStateText" Scope="Global"/>
							</Rule>
							<Rule Name="szConnectivityTestResult" Query="string(@Title)" Title="Risultati del test della connettività">
								<Variable Name="DISPLAYTITLE" Scope="Global"/>
							</Rule>
							<Rule Name="fFatalErrorWMI" Query="not($szHardwareManufacturer)" Error="Error" Sev="1" Title="Errore durante l'accesso al server Exchange mediante WMI." Text="Impossibile interrogare Win32_ComputerSystem mediante la Strumentazione gestione Windows (WMI, Windows Management Instrumentation) sul server {0}. Impossibile raccogliere i dati mediante WMI. È possibile che le credenziali utente non siano corrette, le autorizzazioni per l'esecuzione di questo strumento non siano sufficienti o si sia verificato un problema con il servizio WMI sul computer." S0="%SERVER%" AlwaysEvaluate="True"/>
							<Object Type="Directory" Key1="LDAP://%DC%/" Name="cn" SecurityContext="EXLOGON">
								<Rule Name="szExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
								<Rule Name="fDirectoryException" Query="../Exception or ../Instance/Object/Exception"/>
								<Rule Name="fFatalErrorDirectory" Query="($fDirectoryException or $fFailedToGetMailboxCount)" Error="Error" Sev="1" Title="Errore durante l'accesso ad Active Directory" Text="Impossibile interrogare il server {0}. Le credenziali utente potrebbero essere errate o le autorizzazioni per l'esecuzione di questo strumento potrebbero non essere sufficienti. È stato restituito l'errore seguente: {1}" S0="%DC%" P1="$szExceptionText" AlwaysEvaluate="True"/>

								<Setting Key1="configurationNamingContext" Substitution="CONFIGDN">
									<Rule Name="szConfigDN" Query="$.">
										<Variable Name="varConfigDN" Scope="Children"/>
									</Rule>
								</Setting>
								<Object Type="Resolve" Name="Server Name" Key1="%SERVER%">
									<Setting Key1="Dns" Substitution="RESOLVEDSRV" Format="^$----%SERVER%">
										<Rule Name="fCTExServerDNSResolve" Query="$."/>
									</Setting>
									<Rule Name="iTotalMailboxMDBs" Query="sum($iStatMailboxMDB)" Error="None" AlwaysEvaluate="True" Text="Su questo server sono presenti {1} database con cassette postali." P1="sum($iStatMailboxMDB)"/>
									<Rule Name="iStatTotalMailboxes" Query="if(count($iMailboxes) &gt; 0,sum($iMailboxes),0)" Error="None" Text="Su questo server risiedono {9} cassette postali." P9="sum($iMailboxes)" AlwaysEvaluate="True">
										<Variable Name="MailboxCount" Scope="Children"/>
									</Rule>
									<Rule Name="fIsLargeServer" Query="if($iStatTotalMailboxes &gt;= @S1,1,0)" S1="%iLARGESERVERMBXCOUNT%">
										<Variable Name="fIsLargeServer" Scope="Children"/>
									</Rule>
									<Rule Name="fIsMediumServer" Query="if($iStatTotalMailboxes &lt;= @S1 and $iStatTotalMailboxes &gt; @S2,1,0)" S1="%iLARGESERVERMBXCOUNT%" S2="%iMEDIUMSERVERMBXCOUNT%">
										<Variable Name="fIsMediumServer" Scope="Children"/>
									</Rule>
									<Rule Name="fIsSmallServer" Query="if($iStatTotalMailboxes &lt; @S2,1,0)" S2="%iMEDIUMSERVERMBXCOUNT%">
										<Variable Name="fIsSmallServer" Scope="Children"/>
									</Rule>
									<Rule Name="fFailedToGetMailboxCount" Query="not($iStatTotalMailboxes or $fFailedToFindServerInDirectory or $fIsMailboxServer)" Error="Error" Sev="1" Title="Impossibile accedere alla directory" Text="Si è verificato un errore durante l'accesso alla directory sul server Active Directory {1}. Impossibile ottenere il conteggio delle cassette postali sul server {2}." S1="%DC%" S2="%SERVER%" AlwaysEvaluate="True"/>
									<Rule Name="fFailedToFindServerInDirectory" Query="not($szExchangeServerName) and not($fDirectoryException) and count($fErrorAccessServerInfo)=0" Error="Error" Sev="1" Title="Impossibile trovare il server Exchange {2} nella directory" Text="Impossibile trovare il server di Exchange {2} in Active Directory nel server {1}, oppure nel server {2} è in esecuzione Exchange Server 2010. In questo caso, rieseguire questo strumento da Exchange 2010 Management Console." S1="%DC%" S2="%SERVER%" GUID="b7def047-3b0d-4ed0-83b6-3a75f8db8b85" AlwaysEvaluate="True"/>
									<Object Type="Directory" Key1="LDAP://%DC%/" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%">
										<Setting Key1="distinguishedName" Substitution="DN"/>
										<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(|(cn=%RESOLVEDSRV%)(cn=%SERVER%)(cn=%EXSRVNAME%))(!serialNumber=Version 14*))" Async="100" TrackProgress="TrackProgress" MaxTime="ALL,1" MaxFailures="WMI,1" MaxTimeouts="ALL,1">
											<Rule Name="fErrorAccessServerInfo" Query="count(../Exception) &gt;0" Error="Error" Title="Errore durante l'accesso alle informazioni sul server di Exchange" Text="Errore durante l'accesso alle informazioni sul server in {0}. Messaggio di errore: {1}." S0="%DN%" S1="../Exception/@Message"/>
											<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True" Category="Security"/>
											<Setting Key1="distinguishedName" Substitution="DN">
												<Rule Name="szExchangeServerDN" Query="$."/>
											</Setting>
											<Setting Key1="name">
												<Rule Name="szExchangeServerName" Query="$.">
													<Variable Name="EXSRVNAME" Scope="Children"/>
												</Rule>
												<Rule Name="szExchangeServerNameCaps" Query="upper-case($.)"/>
												<!-- This rule needs to be outside the msExchCurrentServerRoles setting, since that setting won't exist on Ti servers -->
												<Rule Name="fIsMailboxServer" Query="$fIsMbxServer or (not($fExchange12) and $iStatTotalMailboxes &gt; 10)" Error="None" Title="Rilevato ruolo server Cassette postali" Text="&quot;{3}&quot; sul server {2} ha il ruolo Cassette postali." P2="$szExNetBIOSName" S3="%SERVER%" AlwaysEvaluate="True">
													<Variable Name="varIsMailboxServer" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="serialNumber">
												<Rule Name="fExchange200x" Query="contains ($., 'Version 6')"/>
												<Rule Name="fExchange2003" Query="if(contains ($., 'Version 6.5'),1,0)" AlwaysEvaluate="True">
													<Variable Name="varIsExchange2003" Scope="Global"/>
												</Rule>
												<Rule Name="fExchange2000Ex" Query="contains ($., 'Version 6.0')">
													<Variable Name="varIsExchange2000" Scope="Global"/>
												</Rule>
												<Rule Name="fExchange55" Query="contains ($., 'Version 5.5')"/>
												<Rule Name="fExchange2003SP2" Query="$fExchange2003='1' and contains ($., 'Service Pack 2')"/>
												<Rule Name="fExchange2003SP1" Query="$fExchange2003='1' and contains ($., 'Service Pack 1')"/>
												<Rule Name="fExchange2003SPn" Query="$fExchange2003='1' and contains ($., 'Service Pack')"/>
												<Rule Name="fExchange12" Query="contains ($., 'Version 8.')" Error="None" Title="Exchange Server 2007 installato" Text="Sul server {2} è in esecuzione Exchange Server 2007." S2="%SERVER%">
													<Variable Name="varIsExchange12" Scope="Children"/>
												</Rule>
												<Rule Name="fExchange12RTM" Query="contains ($., 'Version 8.0')" Error="None" Title="Exchange Server 2007 RTM installato" Text="Sul server {2} è in esecuzione Exchange Server 2007 RTM." S2="%SERVER%">
													<Variable Name="varIsExchange12RTM" Scope="Children"/>
												</Rule>
												<Rule Name="fExchange12SP1" Query="contains ($., 'Version 8.1')" Error="None" Title="Exchange Server 2007 SP1 installato" Text="Sul server {2} è in esecuzione Exchange Server 2007 Service Pack 1." S2="%SERVER%">
													<Variable Name="varIsExchange12SP1orHigher" Scope="Children"/>
												</Rule>
												<Rule Name="fExchange12SP2" Query="contains ($., 'Version 8.2')" Error="None" Title="Exchange Server 2007 SP2 installato" Text="Sul server {2} è in esecuzione Exchange Server 2007 Service Pack 2." S2="%SERVER%">
													<Variable Name="varIsExchange12SP1orHigher" Scope="Children"/>
												</Rule>
												<Rule Name="fExchange12SP3" Query="contains ($., 'Version 8.3')" Error="None" Title="Exchange Server 2007 SP3 installato" Text="Exchange Server 2007 Service Pack 3 è in esecuzione nel server {2}." S2="%SERVER%">
													<Variable Name="varIsExchange12SP1orHigher" Scope="Children"/>
												</Rule>
												<Rule Name="fExchange14" Query="contains ($., 'Version 14')">
													<Variable Name="varIsExchange12SP1orHigher" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="networkAddress">
												<Rule Name="szExFQDN" Query="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" Error="None" Title="Nome dominio completo (FQDN) del server" Text="Il nome dominio completo (FQDN) del server {2} è {1}" P1="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" P2="$szExNetBIOSName">
													<Variable Name="varExFQDN" Scope="Children"/>
												</Rule>
												<Rule Name="szExNetBIOSName" Query="substring-before($szExFQDN,'.')"/>
											</Setting>
											<Setting Key1="msExchCurrentServerRoles">
												<Rule Name="fIsMbxServer" Query="boolean(bitwise-and($.,2))"/>
												<Rule Name="fIsCASServer" Query="boolean(bitwise-and($.,4))"/>
												<Rule Name="fIsUMServer" Query="boolean(bitwise-and($.,16))"/>
												<Rule Name="fIsHubServer" Query="boolean(bitwise-and($.,32))"/>
												<Rule Name="fIsHubTransportServer" Query="$fIsHubServer" Error="None" Title="Rilevato ruolo server Hub" Text="&quot;{3}&quot; sul server {2} ha il ruolo Hub." P2="$szExNetBIOSName" S3="%SERVER%" AlwaysEvaluate="True">
													<Variable Name="varIsHubTransportServer" Scope="Children"/>
												</Rule>
												<Rule Name="fIsClientAccessServer" Query="$fIsCASServer" Error="None" Title="Rilevato ruolo Accesso client" Text="&quot;{3}&quot; sul server {2} ha il ruolo Accesso client." P2="$szExNetBIOSName" S3="%SERVER%" AlwaysEvaluate="True">
													<Variable Name="varIsClientAccessServer" Scope="Children"/>
												</Rule>
												<Rule Name="fIsUnifiedMessagingServer" Query="$fIsUMServer" Error="None" Title="Rilevato ruolo Messaggistica unificata" Text="&quot;{3}&quot; sul server {2} ha il ruolo Messaggistica unificata." P2="$szExNetBIOSName" S3="%SERVER%" AlwaysEvaluate="True">
													<Variable Name="varIsUnifiedMessagingServer" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="msExchInstallPath" Substitution="EXCHBINPATH">
												<Rule Name="fInstallPath" Query="string-length($.) &gt; 0" Error="None" Title="Percorso di installazione: '{1}'" Text="Server di Exchange installato nella directory '{1}'." P1="$."/>
												<Rule Name="szDefaultHubQueuePath" Query="concat($.,'TransportRoles\data\Queue\')">
													<Variable Name="varDefaultHubQueuePath" Scope="Children"/>
												</Rule>
											</Setting>
											<Object Type="Directory" Key2="%DN%" Key3="objectClass=msExchPrivateMDB" Display="Left" Class="MDB privato">
												<Setting Key1="msExchMaxCachedViews">
													<Rule Name="fMaxCachedViewsLow" Query="$. &lt;5" Error="Warning" Sev="2" Title="Il numero massimo di visualizzazioni memorizzate nella cache è impostato su un valore eccessivamente basso" Text="Il numero massimo di visualizzazioni memorizzate nella cache (&quot;msExchMaxCachedViews&quot;) per il database {3} sul server {2} è impostato su un valore eccessivamente basso. Ciò potrebbe provocare un carico eccessivo sul server e problemi di prestazioni del client. Valore corrente: {9}." P2="$szExchangeServerName" P3="$szMailboxStore" P9="$." ReportIssue="Issue" GUID="2c732be4-eb00-4cde-8c90-f5f1427575eb"/>
													<Rule Name="fMaxCachedViewsHigh" Query="$. &gt;20" Error="Warning" Sev="2" Title="Il numero massimo di visualizzazioni memorizzate nella cache è impostato su un valore eccessivamente elevato" Text="Il numero massimo di visualizzazioni memorizzate nella cache (msExchMaxCachedViews) per il database {3} sul server {2} è impostato su un valore eccessivamente alto. Ciò potrebbe provocare un carico eccessivo sul server e problemi di prestazioni del client. Valore corrente: {9}." P2="$szExchangeServerName" P3="$szMailboxStore" P9="$." ReportIssue="Issue" GUID="ba968256-3ae8-4c75-a889-448e3688545b"/>
												</Setting>
												<Setting Key1="distinguishedName" Substitution="DN"/>
												<Setting Key1="cn" Substitution="MDBNAME">
													<Rule Name="szMailboxStore" Query="$."/>
												</Setting>
												<Setting Key1="whenCreated" Format="System.DateTime"/>
												<Setting Key1="activationSchedule" Format="System.Byte[]">
													<Rule Name="fMailboxOnlineDefragScheduleNever" Query="$.='000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'" Error="Error" Sev="2" Title="Manutenzione in linea disabilitata" Text="La pianificazione della manutenzione in linea per l'archivio delle cassette postali &quot;{3}&quot; sul server {2} è stata impostata su &quot;Mai&quot;. Ciò provocherà problemi di prestazioni di Exchange." P2="$szExchangeServerName" P3="$szMailboxStore" GUID="143761ef-6bb2-448f-880a-ec59197a4ef1" ReportIssue="Issue"/>
													<Rule Name="fMailboxOnlineDefragScheduleSame" Query="$iTotalMailboxMDBs &gt;2 and $.='0FFFF00000000000000000000FFFF00000000000000000000FFFF00000000000000000000FFFF00000000000000000000FFFF00000000000000000000FFFF00000000000000000000FFFF0000000000000000000'"/>
												</Setting>
												<Setting Key1="garbageCollPeriod"/>
												<Setting Key1="homeMDBBL" Retrieve="CountOnly">
													<Rule Name="iMailboxes" Query="$."/>
												</Setting>
												<Setting Key1="legacyExchangeDn">
													<Rule Name="iStatMailboxMDB" Query="count($.)"/>
													<Rule Name="szMailboxStoreLegDn" Query="upper-case($.)"/>
												</Setting>
											</Object>
										</Object>
									</Object>
								</Object>
							</Object>
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_Service" Key4="Name='MSExchangeIS'" SecurityContext="EXLOGON">
								<Setting Key1="PathName">
									<Rule Name="szStorePath" Query="$." Title="Account di avvio dell'archivio"/>
								</Setting>
								<Setting Key1="Started">
									<Rule Name="fStoreStoppedBE" Query="$.='False' and $iStatTotalMailboxes &gt;20" Error="Error" Sev="1" Title="Servizio di archiviazione non in esecuzione" Text="Il servizio Archivio informazioni di Microsoft Exchange sul server {2} non è in esecuzione. Non sarà possibile accedere alle cassette postali su questo server." S2="%SERVER%" GUID="87f257cb-c7d9-4637-b777-b8364f34f339" ReportIssue="Issue"/>
									<Rule Name="fStoreStoppedBEWarn" Query="$.='False' and not($iStatTotalMailboxes &gt;20)" Error="Warning" Sev="1" Title="Servizio di archiviazione non in esecuzione" Text="Il servizio Archivio informazioni di Microsoft Exchange sul server {2} non è in esecuzione. Non sarà possibile accedere alle cassette postali su questo server." S2="%SERVER%" GUID="87f257cb-c7d9-4637-b777-b8364f34f339" ReportIssue="Issue"/>
								</Setting>
								<Setting Key1="StartMode"/>
								<Setting Key1="StartName">
									<Rule Name="fStoreNotLocalSystem" Query="$.!='LocalSystem'" Error="Error" Sev="2" Title="Account di avvio dell'archivio" Text="Il servizio Archivio informazioni di Microsoft Exchange sul server {2} non è impostato per essere avviato come account computer (LocalSystem). Questa configurazione non è supportata. L'account di avvio corrente è {1}." P1="$." P2="$szExchangeServerName" GUID="12061a98-6132-4725-8897-3af3bcdedb8f" ReportIssue="Issue"/>
								</Setting>
								<Setting Key1="State" Substitution="STATE"/>
								<Setting Key1="Status"/>
							</Object>
							<!-- test that WMI to the server works -->
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_Service" Key4="Name='ClusSvc'" SecurityContext="EXLOGON">
								<Setting Key1="StartName" Retrieve="FailHard"/>
								<Setting Key1="Started">
									<Rule Name="iStatExchangeCluster" Query="count($.)"/>
									<Rule Name="fClusterServiceRunning" Query="$.='True'" Error="None" Text="Questo è un server cluster Exchange."/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_ComputerSystem" SecurityContext="EXLOGON">
								<Setting Key1="Manufacturer">
									<Rule Name="szHardwareManufacturer" Query="normalize-space($.)"/>
								</Setting>
								<Setting Key1="NumberOfProcessors">
									<Rule Name="iRealProcs" Query="$." Error="None" Text="Sul server sono installati {9} processori." P9="$.">
										<Variable Name="varNumProcs" Scope="Global"/>
									</Rule>
									<Rule Name="fNumRealProcsOver8" Query="$. &gt; 8" Error="Warning" Sev="3" ReportIssue="Issue" Title="Configurazione del processore" Text="Sono stati rilevati più di 8 processori per il server Exchange {2}. Se su questo server sono installati oltre 8 processori fisici, è necessario perfezionare ulteriormente la configurazione. Se viene utilizzata la tecnologia hyper-threading, non è necessario intervenire. Sono stati rilevati {9} processori logici." S2="%SERVER%" P9="$." GUID="a59de247-8f05-419d-a4ea-fc4973788863"/>
								</Setting>
								<Object Type="WMI" Name="DeviceID" Key1="%SERVER%" Key3="Win32_Processor">
									<Setting Key1="MaxClockSpeed">
										<Rule Name="iMaxClockSpeed" Query="$."/>
									</Setting>
									<Setting Key1="CurrentClockSpeed">
										<Rule Name="iCurrentClockSpeed" Query="$." Error="None" Text="La velocità corrente del processore sul server {2} è {9}." S2="%SERVER%" P9="$.">
											<Variable Name="varClockSpeed" Scope="Global"/>
										</Rule>
									</Setting>
									<Setting Key1="AddressWidth">
										<Rule Name="szAddressWidth" Query="$."/>
									</Setting>
									<Rule Name="f32Bit" Query="$szAddressWidth[1]=32" Error="None" Title="Rilevato sistema operativo a 32 bit" Text="Il server Exchange {2} è in esecuzione su una versione a 32 bit del sistema operativo Windows Server." S2="%SERVER%"/>
									<Rule Name="f64Bit" Query="$szAddressWidth[1]=64" Error="None" Title="Rilevato sistema operativo a 64 bit" Text="Il server Exchange {2} è in esecuzione su una versione a 64 bit del sistema operativo Windows Server." S2="%SERVER%" AlwaysEvaluate="True">
										<Variable Name="varIs64Bit" Scope="Global"/>
									</Rule>
								</Object>

								<!-- Get a little info about the machine's setup - virtual server? -->
								<Setting Key1="Model">
									<Rule Name="szComputerModel" Query="normalize-space($.)" Error="None" Text="Produttore del server: {0}. Modello del server: {1}." P0="$szHardwareManufacturer" P1="normalize-space($.)"/>
									<Rule Name="fVirtualPC" Query="$.='Virtual Machine'" Error="None" Sev="2" Title="Rilevato computer virtuale" Text="Il server Exchange {2} è un computer virtuale." S2="%SERVER%" GUID="7e30d7fb-6218-498f-85c9-38281eb750f5"/>
									<Rule Name="fVirtualMachineBestPractices" Query="$fVirtualPC and $fExchange2003SP2 and not ($fClusterServiceRunning)" Error="BestPractice" Title="Configurazione computer virtuale" Text="Il server Exchange {2} è un computer virtuale. Per informazioni aggiornate sulla supportabilità e il perfezionamento delle prestazioni per questa configurazione, consultare l'articolo 320220 della Microsoft Knowledge Base." S2="%SERVER%" GUID="558ab53f-ce10-4a4d-aac6-44d55fcfd699" AlwaysEvaluate="True" ReportIssue="Issue"/>
									<Rule Name="fVirtualMachineBadExchangeVersion" Query="$fVirtualPC and ($fExchange55 or $fExchange200x) and not ($fExchange2003SP2)" Error="Error" Sev="2" Title="Configurazione computer virtuale non supportata - versione di Exchange" Text="Il server Exchange {2} è un computer virtuale ma Exchange Server 2003 SP2 o versione successiva non è installato. Questa configurazione non è supportata." S2="%SERVER%" GUID="d2739100-7206-43e7-a01f-ecb80ce243a2" ReportIssue="Issue"/>
									<Rule Name="fVirtualMachineCluster" Query="$fVirtualPC and $fClusterServiceRunning" Error="Error" Sev="2" Title="Configurazione computer virtuale non supportata - Clustering" Text="Il server Exchange {2} è un computer virtuale che esegue i servizi cluster Microsoft. Questa configurazione non è supportata." S2="%SERVER%" GUID="4683ccb0-6de5-4a4a-83f1-ab03596da6d1" ReportIssue="Issue"/>
								</Setting>
								<!-- quick test that Perf counters are accessible -->
								<!-- only run if WMI passes, since bad Pdh connections are cached ~2-3 minutes -->
								<Object Type="Pdh" Name="Performance Data" Key1="%SERVER%" Key2="2" Key3="1" Timeout="%1000">
									<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total" Format="Average">
										<Rule Name="iMDBPercentProcessorTimeTotalAvg" Query="ifnumber($.,roundto($.,2))"/>
									</Setting>

									<Rule Name="fFatalErrorPERFCTRS" Query="../Exception"/>
									<Rule Name="fUnknownERRORPERFCTRS" Query="../Exception and not($fErrorNoServerAccessingPerfCounters or $fBDBErrorAccessingSomeCounters or $fBB8ErrorNonEnglish)" Title="Errore durante l'accesso ai dati del contatore delle prestazioni Processore" Text="Errore durante l'accesso ai dati del contatore delle prestazioni sul server {0}. {1}." S0="%SERVER%" P1="../Exception/@Message" Error="Error" Sev="1"/>
									<Rule Name="fErrorNoServerAccessingPerfCounters" Query="contains(../Exception/@Message,'0xc00007d0')" Title="Impossibile contattare il server: Errore durante l'accesso ai dati del contatore delle prestazioni RPC" Text="Errore durante l'accesso ai dati del contatore delle prestazioni sul server {0}. Il server potrebbe non essere disponibile oppure il servizio Registro di sistema remoto potrebbe non essere in esecuzione sul server. {2}." S0="%SERVER%" P2="../Exception/@Message" Error="Error" Sev="1"/>

									<Rule Name="fBDBErrorAccessingSomeCounters" Query="contains(../Exception/@Message,'0xc0000bdb')" Title="Errore durante l'accesso ai dati del contatore delle prestazioni RPC" Text="L'accesso utente corrente potrebbe non disporre delle autorizzazioni sufficienti per accedere ai contatori delle prestazioni MSExchangeIS. {1}." P1="../Exception/@Message" Error="Error" Sev="1"/>
									<Rule Name="fBB8ErrorNonEnglish" Query="contains(../Exception/@Message,'0xc0000bb8') and $fNonEnglishOS" Title="Rilevato sistema operativo diverso da Inglese (Stati Uniti)" Text="Impossibile accedere ai contatori di monitoraggio delle prestazioni. Questo strumento deve essere eseguito su un sistema operativo in Inglese (Stati Uniti)." Error="Error" Sev="1"/>
								</Object>
							</Object>
							<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS\VirusScan" SecurityContext="EXLOGON">
								<Setting Key1="ScanningThreads">
									<Rule Name="iVirusScanningThreads" Query="$.">
										<Variable Name="varVirusThreads" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>
							<Object Type="Registry" Key1="%SERVER%" Key3="Software\Microsoft\Windows NT\CurrentVersion" SecurityContext="EXLOGON">
								<Setting Key1="CurrentVersion">
									<Rule Name="szExWinVer" Query="$."/>
									<Rule Name="fExWinVer2003" Query="$.='5.2'" AlwaysEvaluate="True">
										<Variable Name="fExWinVer2003" Scope="Children"/>
									</Rule>
									<Rule Name="fExWinVer2000" Query="$.='5.0'">
										<Variable Name="fExWinVer2000" Scope="Children"/>
									</Rule>
									<Rule Name="fExWinVer2008" Query="$.='6.0'">
										<Variable Name="varIsWinVer2008" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="ProductName">
									<Rule Name="fExWinProductName" Query="$." Error="None" Title="'{0}' installato nel server '{1}'" Text="Nel server '{1}' è installato '{0}'." P0="$." S1="%SERVER%"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_OperatingSystem">
								<Setting Key1="OSProductSuite">
									<Rule Name="fExWin2003Dtc" Query="$fExWinVer2003 and bitwise-and($.,128)" Error="None" Text="Sul server {1} è in esecuzione Windows Server 2003 Datacenter Edition." S1="%SERVER%"/>
									<Rule Name="fExWin2003Ent" Query="$fExWinVer2003 and bitwise-and($.,2)" Error="None" Text="Sul server {1} è in esecuzione Windows Server 2003 Enterprise Edition." S1="%SERVER%"/>
									<Rule Name="fExWin2003Sbs" Query="$fExWinVer2003 and bitwise-and($.,1)" Error="None" Text="Sul server {1} è in esecuzione Windows Small Business Server 2003." S1="%SERVER%">
										<Variable Name="fIsSBS" Scope="Children"/>
									</Rule>
									<Rule Name="fExWin2003Std" Query="$fExWinVer2003 and not (bitwise-and($.,2)) and not (bitwise-and($.,1))" Error="None" Text="Sul server {1} è in esecuzione Windows Server 2003 Standard Edition." S1="%SERVER%"/>
									<Rule Name="fExWin2000Dtc" Query="$fExWinVer2000 and bitwise-and($.,128)" Error="None" Text="Sul server {1} è in esecuzione Windows 2000 Datacenter Server." S1="%SERVER%"/>
									<Rule Name="fExWin2000Adv" Query="$fExWinVer2000 and bitwise-and($.,2)" Error="None" Text="Sul server {1} è in esecuzione Windows 2000 Advanced Server." S1="%SERVER%"/>
									<Rule Name="fExWin2000Sbs" Query="$fExWinVer2000 and bitwise-and($.,1)" Error="None" Text="Sul server {1} è in esecuzione Microsoft Small Business Server 2000." S1="%SERVER%">
										<Variable Name="fIsSBS" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>
							<Object Type="Registry" Key1="%SERVER%" Key3="SYSTEM\CurrentControlSet\Services\ESE\Performance" SecurityContext="EXLOGON">
								<Rule Name="fJetAdvancedCountersOn" Query="$fJetSqueakyLobster1 or $fJetSqueakyLobster2" AlwaysEvaluate="True">
									<Variable Name="SQUEAKYLOBSTER" Scope="Children"/>
								</Rule>
								<Setting Key1="Show Advanced Counters">
									<Rule Name="fJetSqueakyLobster1" Query="$.=1"/>
								</Setting>
								<Setting Key1="Squeaky Lobster">
									<Rule Name="fJetSqueakyLobster2" Query="$.=1"/>
								</Setting>
							</Object>
							<!-- Figure out where new BLG files can be created - one name on server, one name on client -->
							<Object Type="Group" Name="BLG File" SecurityContext="EXLOGON">
								<Rule Name="szPdhFileName" Query="@S1" S1="ExPTA.%SERVER%.%varPrettyDateTime%.PerfMon.blg">
									<Variable Name="varPDHFileNameShortServer" Scope="Global"/>
								</Rule>
								<Rule Name="szLogManName" Query="@S1" S1="ExPTA">
									<Variable Name="varLogManName" Scope="Children"/>
								</Rule>
								<Object Type="Registry" Key1="%SERVER%" Key3="Software\Microsoft\Windows NT\CurrentVersion">
									<Setting Key1="SystemRoot" Format="(.*?):(.*)----$1:"/>
									<Setting Key1="SystemRoot" Format="(.*?):(.*)----\\%SERVER%\$1$"/>
									<Object Type="Group" Name="Server perfmon log file names">
										<Rule Name="szServerPdhFileName" Query="concat(@S1,$szPdhFileName)" S1="%varServerRootDataDirectory%\">
											<Variable Name="varServerPdhFileName" Scope="Children"/>
										</Rule>
									</Object>
								</Object>
							</Object>

							<!-- Determine what to do next -->
							<Rule Name="fNoErrorCheckStoreProcessStep" Query="$szServerPdhFileName and not($fIsMailboxServer and ($fFailedToGetMailboxCount or $fNotExchangeServerInMDBCheck)) and not($fFatalErrorPERFCTRS or $fFatalErrorWMI or $fFatalErrorDirectory or $fFailedToFindServerInDirectory or $fWin2000)" AlwaysEvaluate="True"/>

							<Rule Name="fFatalErrorCheckStoreProcessStep" Query="not($fNoErrorCheckStoreProcessStep)" Error="Error" Title="Rilevati errori irreversibili" Text="Sono stati rilevati errori irreversibili, non sarà intrapresa alcuna ulteriore azione."/>
							<Rule NextStep="SetUpCollectionAndAnalysis" Name="fGotoCollectPerfMonData" Query="$fNoErrorCheckStoreProcessStep" Priority="2" Text="- Raccogliere o analizzare i dati sulle prestazioni." Display="Hide" AlwaysEvaluate="True"/>
							<Rule Name="szSetDataFile" Query="if(starts-with(@S1,'%'),string(@S2))" S1="%varDataFolderName%" S2="%SERVER%-%varPrettyDateTime%">
								<Variable Name="varDataFolderName" Scope="Children"/>
							</Rule>
							<Rule Name="fNotExchangeServerInMDBCheck" Query="($fIsMailboxServer) and string-length($szStorePath)=0 and not($fFatalErrorWMI or $fFatalErrorDirectory)" Error="Error" Sev="1" Priority="1" Title="Risoluzione dei problemi interrotta" Text="Sul server {0} non è installato Exchange Server. Questo strumento analizzerà solo i computer che eseguono Microsoft Exchange Server e interromperà l'analisi di questo server." S0="%SERVER%" AlwaysEvaluate="True"/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="DisplayResultsStep" Title="Risultati" Display="HideAll">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%DISPLAYTITLE%" Substitution="DISPLAYTITLE" Display="Hide"/>
			<Setting Key1="%ErrorStateText%" Substitution="ErrorStateText" Display="Hide"/>
			<Setting Key1="%PreviousName%" Substitution="PreviousName" Display="Hide"/>
 			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
 			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
 			<Setting Key1="%varSelectedSymptomIndex%" Substitution="varSelectedSymptomIndex" Display="Hide"/>

			<Object Type="Information" Hide="%varContinueRun%" HelpId="html\56921c4c-6bcc-4f83-9dd0-dccfded2d8f0.htm">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="%DISPLAYTITLE%"/>

				<!-- Only display the server name if we are in the first symptom. For the second and third symptoms, the SERVERNAME and DCNAME will be
				archived from a previous run, and may not be relevant.
					-->
				<Object Type="If" Key1="'%varSelectedSymptomIndex%'='0' and not('%SERVER%'='%SERVERNAME%' or '%DC%'='%DCName%')">
					<Object Type="Control" SubType="Label" Name="ErrorState" Position="Below" Width="FullWidth" Text="Risultati per il server {0} e per il server Active Directory {1}" S0="%SERVER%" S1="%DC%"/>
 				</Object>
				<Object Type="Control" SubType="Label" Name="ErrorState2" Position="Below" Width="FullWidth" Text="%ErrorStateText%"/>
				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="400">
					<Report Title="Riepilogo prestazioni" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Summary']"/>
					<Report Title="Dettagli prestazioni" ArrangeByText="Time Range" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Issue' and not(@Display='Hide')]"/>
					<Report Title="Altri problemi" ArrangeByText="Time Range" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[not(@ReportIssue) and not (@NextStep) and not(@Display='Hide') and not(@Error='None' or not(@Error))]"/>
					<Report Title="Elementi informativi" ArrangeByText="Time Range" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[not(@ReportIssue) and not (@NextStep) and not(@Display='Hide') and (@Error='None' or not(@Error))]"/>
				</Object>

				<Object Type="IfResults" Name="DoNext" Key1="count(/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Rule[@NextStep and @Pass='True' and not(string-length(@Text)=0)]) &gt; 0">
					<Object Type="Control" SubType="Label" Name="Label" Position="Below" Text="Questo strumento effettuerà quanto segue: " BackColor="AliceBlue" FontStyle="Bold" Width="FullWidth"/>
					<Object Type="Control" SubType="Labels" Name="Labels" Position="Below" LineSpace="0" Width="FullWidth" FontFamily="Arial" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[@NextStep]"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="Below" LineSpace="2" Text="Precedente"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="Avanti"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<!-- The BPA Data Gathering Steps -->
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RPCPerfCounters" Title="Dati del contatore delle prestazioni RPC" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%MailboxCount%" Substitution="MAILBOXCOUNT" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%fIsLargeServer%" Substitution="fIsLargeServer" Display="Hide"/>
			<Setting Key1="%fIsSmallServer%" Substitution="fIsSmallServer" Display="Hide"/>
			<Setting Key1="%fIsMediumServer%" Substitution="fIsMediumServer" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%ANALYZEALLBADRPCS%" Substitution="ANALYZEALLBADRPCS" Display="Hide"/>
			<Object Type="Progress" Text="Attendere. Analisi dei dati del contatore delle prestazioni RPC per %SERVER% in corso..." Title="Analisi dei dati del contatore delle prestazioni RPC" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">

				<!-- Priority Logic:
			1. tell user what we found. (if there are errors, first loop back to get credentials)
			2. If users are super active, investigate that first
			3. next, check disk health.
			4. Next, check other perf counter health
					-->

				<Object Type="Group" Name="RPC Performance Counters" Class="Area" GroupingClass="True">
					<Rule Name="fDisplayRPCPerfCountsStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szRPCPerfCounters" Query="'RPCPerfCounters'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayRPCPerfData" Query="string(@Title)" Title="Risultati dei dati delle prestazioni RPC">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Query="''" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fExtremelyActiveUsersSummary" Error="Error" Sev="1" Query="$fExtremelyActiveUsers" Title="Rilevata attività utente particolarmente elevata" Text="Le operazioni RPC al secondo indicano che uno o più utenti su questo server sono particolarmente attivi." GUID="24bf01bd-6580-450c-9d3e-478b3c0cdc16" Priority="2" ReportIssue="Summary"/>
					<Rule Name="fActiveUsersSummary" Query="$fActiveUsers and not($fExtremelyActiveUsers)" Error="Warning" ReportIssue="Summary" Title="Moderare l'attività RPC dell'utente" Text="Poiché le operazioni RPC al secondo per utente sono superiori a 0,15, gli utenti sono considerati &quot;moderatamente attivi&quot;."/>
					<Rule Name="fNormalActiveUsersSummary" Query="not($fExtremelyActiveUsers) and not($fActiveUsersSummary)" Title="Attività RPC utente normale" Text="Poiché le operazioni RPC al secondo per utente sono inferiori o pari a 0,15, la frequenza RPC per utente è considerata normale." Error="None" ReportIssue="Summary"/>


					<Object Type="Cache" Name="RPC Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="Intervallo di tempo" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMERANGES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="RPC health during the time range: %szTIMERANGE%">
								<!-- First measure RPC performance counters -->
								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="RPC" Timeout="%1000">
									<Rule Name="fFailedToReadData" Query="not($iAvgRPCOps) and not($fRPCEntryNotInLogFile)" Error="Error" Title="Impossibile recuperare i dati del contatore delle prestazioni dal file" Text="Impossibile recuperare i dati del contatore delle prestazioni RPC 'MSExchangeIS' dal file {0}. Si è verificato un errore non specificato durante la lettura del file." S0="%szPDHFILE%" AlwaysEvaluate="True"/>
									<Setting Key1="MSExchangeIS" Key2="RPC Operations/sec" Key3="" Format="Average">
										<Rule Name="iAvgRPCOps" Query="ifnumber($.,$.)">
											<Variable Name="iRPCOpRate" Scope="Global"/>
										</Rule>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="RPC Averaged Latency" Key3="" Format="Average">
										<Rule Name="iAvgRPCLat" Query="ifnumber($.,$.)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="RPC Averaged Latency" Key3="" Format="Sigma">
										<Rule Name="iSigRPCLat" Query="$. &gt; 10" Text="La variazione nella latenza RPC è superiore al 10%."/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Active User Count" Key3="" Format="Average">
										<!-- We should have at least one active user.... force this to avoid NaN elsewhere -->
										<Rule Name="iActiveUserCount" Query="ifnumber($.,if($. &lt; 1, 1, round($.)),1)"/>
										<Rule Name="fActiveUserCountZero" Query="$. = 0" Text="'{0}' indica 0 utenti attivi." P0="localize-path('MSExchangeIS\Active User Count')"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="RPC Requests" Key3="" Format="Average">
										<Rule Name="iAvgRPCRequests" Query="ifnumber($.,roundto($.,1))"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="RPC Requests" Key3="" Format="Max">
										<Rule Name="iMaxRPCRequests" Query="ifnumber($.,$.)"/>
									</Setting>
									<Setting Key1="MSExchangeIS Mailbox" Key2="Client Logons" Key3="_Total" Format="Average">
										<Rule Name="iMbxClientLogons" Query="ifnumber($.,$.)"/>
									</Setting>
									<Setting Key1="MSExchangeIS Public" Key2="Client Logons" Key3="_Total" Format="Average">
										<Rule Name="iPublicClientLogons" Query="ifnumber($.,$.)"/>
									</Setting>

									<!-- Look for errors in gathering the RPC counters -->
									<Rule Name="fErrorAccessingPerformanceCounters" Query="../Exception and not($fBB8ErrorAccessingRPCPerformanceCounters or $fErrorBadServerNameInFile or $fRPCEntryNotInLogFile)" Title="Errore durante l'accesso ai dati del contatore delle prestazioni RPC" Text="Errore durante l'accesso ai contatori delle prestazioni RPC &quot;MSExchangeIS&quot;. {1}." P1="../Exception/@Message" Error="Error" Sev="1"/>
									<Rule Name="fBB8ErrorAccessingRPCPerformanceCounters" Query="contains(../Exception/@Message,'0xc0000bb8')" Error="Error" Sev="2" Title="Errore durante l'accesso ai dati del contatore delle prestazioni RPC" Text="Impossibile accedere ai contatori delle prestazioni RPC 'MSExchangeIS'. Il server {0} probabilmente non è un server di Exchange o esiste un problema con uno o più contatori delle prestazioni 'MSExchangeIS'." S0="%SERVER%"/>
									<Rule Name="fErrorBadServerNameInFile" Query="contains(../Exception/@Message,'Specified argument was out of the range of valid')" Title="Errore durante l'accesso ai dati delle prestazioni per il server {0}" Text="Errore durante l'accesso ai dati delle prestazioni per il server {0}. Il nome del server non è stato trovato nel file {1}." S0="%SERVER%" S1="%szPDHFILE%" Error="Error" Sev="1"/>
									<Rule Name="fRPCEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="Errore durante l'accesso ai dati delle prestazioni RPC" Text="Errore durante l'accesso ai dati delle prestazioni RPC. I contatori delle prestazioni RPC MSExchangeIS non sono presenti nel file {1}. Mancano i contatori seguenti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>

								</Object>

								<!-- Look for high RPC latencies or outstanding requests -->
								<Rule Name="fHighRPCLatency" Query="$iAvgRPCLat &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="Latenza RPC elevata" Text="Il valore di '{0}' supera la soglia di {7} secondi ({6} ms). Valore misurato: {9} secondi ({8} ms)." P0="localize-path('MSExchangeIS\RPC Averaged Latency')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iAvgRPCLat" P9="roundto($iAvgRPCLat div 1000,3)" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607"/>
								<Rule Name="fHighMaxRPCRequests" Query="$iMaxRPCRequests = 100" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="Le richieste RPC in attesa hanno raggiunto la soglia massima" Text="'{0}' ha raggiunto un picco di 100." P0="localize-path('MSExchangeIS\RPC Requests')" GUID="da412624-48a8-42ea-b167-093f82b7eba9"/>
								<Rule Name="fHighAvgRPCRequestsLarge" Query="@S2=1 and $iAvgRPCRequests &gt; @S4" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Valore medio di '{0}' superiore al valore consigliato di {4}. Valore misurato: {9}." P0="localize-path('MSExchangeIS\RPC Requests')" S2="%fIsLargeServer%" S4="50" P9="$iAvgRPCRequests" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607"/>
								<Rule Name="fHighAvgRPCRequestsMedium" Query="@S2=1 and $iAvgRPCRequests &gt; @S4" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Valore medio di '{0}' superiore al valore consigliato di {4}. Valore misurato: {9}." P0="localize-path('MSExchangeIS\RPC Requests')" S2="%fIsMediumServer%" S4="30" P9="$iAvgRPCRequests" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607"/>
								<Rule Name="fHighAvgRPCRequestsSmall" Query="@S2=1 and $iAvgRPCRequests &gt; @S4" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Valore medio di '{0}' superiore al valore consigliato di {4}. Valore misurato: {9}." P0="localize-path('MSExchangeIS\RPC Requests')" S2="%fIsSmallServer%" S4="15" P9="$iAvgRPCRequests" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607"/>
								<Rule Name="iRatioMailboxCountAndActiveLogon" Query="if(@S2 &gt; 0, ifnumber($iMbxClientLogons, $iMbxClientLogons div @S2))" Text="Il rapporto di accessi attivi per cassetta postale sul server è {1}." P1="roundto($iMbxClientLogons div @S2,2)" S2="%MAILBOXCOUNT%"/>
								<Rule Name="fHighRatioMailboxCountAndActiveLogon" Query="ifnumber($iMbxClientLogons, $iRatioMailboxCountAndActiveLogon &gt; 5 and not($fIsDedicatedPublicFolderServer) and not($fFatalError))" Title="Numero elevato di accessi per cassetta postale" Text="Il rapporto di accessi attivi per cassetta postale sul server è {1}. Questo valore potrebbe essere superiore a quanto previsto e indica un'elevata attività utente." P1="roundto($iActiveUserCount div @S2,2)" S2="%MAILBOXCOUNT%"/>

								<!-- Guess the activity level of user -->
								<Rule Name="iActivityLevel" Query="roundto($iAvgRPCOps div $iActiveUserCount,3)" Text="Il livello di attività degli utenti è {1} operazioni al secondo per utente. " P1="roundto($iAvgRPCOps div $iActiveUserCount,3)">
									<Variable Name="PERUSERRATE" Scope="Children"/>
								</Rule>
								<Rule Name="fActiveUsers" Query="$iActivityLevel &gt; 0.15 and $iActivityLevel &lt;= 0.25 and not($fExtremelyActiveUsers)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Attività degli utenti RPC attiva" Text="Poiché le operazioni RPC al secondo per utente sono superiori a 0,15, gli utenti sono considerati come &quot;moderatamente attivi&quot;. La frequenza di operazioni RPC misurate al secondo/per utente è {1}." P1="$iActivityLevel" GUID="24bf01bd-6580-450c-9d3e-478b3c0cdc16"/>
								<Rule Name="fExtremelyActiveUsers" Query="$iActivityLevel &gt; 0.25" Error="Error" Sev="1" ReportIssue="Issue" Priority="2" Title="Attività RPC degli utenti elevata" Text="Poiché le operazioni RPC al secondo per utente sono superiori a 0,25, la frequenza di operazioni RPC al secondo indica che uno o più utenti sul server sono insolitamente attivi. La frequenza di operazioni RPC misurate al secondo/per utente è {1}. " P1="$iActivityLevel" GUID="24bf01bd-6580-450c-9d3e-478b3c0cdc16"/>
								<Rule Name="fProblemFoundInThisTimeRange" Query="$fHighMaxRPCRequests or $fHighAvgRPCRequestsLarge or $fHighAvgRPCRequestsMedium or $fHighAvgRPCRequestsSmall or $fHighRPCLatency or $fActiveUsers or $fExtremelyActiveUsers"/>
								<Rule Name="szTimeRangeOfProblem" Query="if($fProblemFoundInThisTimeRange,@S1)" S1="%szTIMERANGE%"/>
							</Object>
						</Object>
					</Object>
					<Object Type="Group" Name="Summary of RPC results">
						<Setting Display="Hide">
							<Rule Name="fFatalError" Query="$fFailedToReadData or $fErrorAccessingPerformanceCounters or $fBB8ErrorAccessingRPCPerformanceCounters or $fErrorBadServerNameInFile or $fRPCEntryNotInLogFile" AlwaysEvaluate="True"/>
							<Rule Name="fRPCProblemFound" Query="$fHighMaxRPCRequests or $fHighAvgRPCRequestsLarge or $fHighAvgRPCRequestsMedium or $fHighAvgRPCRequestsSmall or $fHighRPCLatency or $fActiveUsers or $fExtremelyActiveUsers" Sev="1"/>
							<!-- Guess the type of server -->
							<Rule Name="fIsMBXandPublicFolderServer" Query="not($fIsDedicatedPublicFolderServer) and not($fIsDedicatedMailboxServer) and not($fIsNotExchangeServer) and not($fFatalError)" Error="None" Priority="1" Text="È probabile che il server sia un server cartelle pubbliche oltre a essere un server cassette postali." AlwaysEvaluate="True"/>
							<Rule Query="if($fIsMBXandPublicFolderServer,'MBXPF')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>

							<Rule Name="fIsDedicatedPublicFolderServer" Query="($iPublicClientLogons * .10 &gt; $iMbxClientLogons ) and not($fFatalError)" Error="None" Priority="1" Text="È probabile che il server sia un server cartelle pubbliche dedicato." AlwaysEvaluate="True"/>
							<Rule Query="if($fIsDedicatedPublicFolderServer,'PF')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>
							<Rule Name="fIsDedicatedMailboxServer" Query="($iMbxClientLogons * .10 &gt; $iPublicClientLogons) and not($fBB8ErrorAccessingRPCPerformanceCounters) and not($fFatalError) and @S2 &gt; 10" Error="None" Priority="1" Text="È probabile che il server sia un server cassette postali dedicato." S2="%MAILBOXCOUNT%" AlwaysEvaluate="True"/>
							<Rule Query="if($fIsDedicatedMailboxServer,'MBX')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>
							<Rule Name="fIsNotExchangeServer" Query="$fBB8ErrorAccessingRPCPerformanceCounters" Error="None" Priority="1" Text="Si è verificato un errore durante il tentativo di misurare i contatori di prestazioni RPC. Il server non è un server Exchange."/>
							<Rule Query="if($fIsNotExchangeServer,'NOTEXCHANGE')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>
							<Rule Name="fIsUnknownTypeServer" Query="$fFatalError and not($fIsMBXandPublicFolderServer) and not($fIsNotExchangeServer) and not($fFatalError)" Error="None" Priority="1" Text="Server di tipo sconosciuto." AlwaysEvaluate="True"/>
							<Rule Query="if($fIsUnknownTypeServer,'UNKNOWN')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>
							<Rule Name="fIsProbablyExchangeBEServer" Query="$fIsDedicatedMailboxServer or $fIsDedicatedPublicFolderServer or $fIsMBXandPublicFolderServer" Text="Il server potrebbe avere altri ruoli non rilevati dall'analisi."/>
						</Setting>
						<Rule Name="fRPCSymptomsFound" Query="$fHighMaxRPCRequests or $fHighAvgRPCRequestsLarge or $fHighAvgRPCRequestsMedium or $fHighAvgRPCRequestsSmall or $fHighRPCLatency" Error="Error" Sev="1" ReportIssue="Summary" Title="Sono state rilevate sul server latenze RPC elevate o frequenze RPC elevate" Text="È stato rilevato un problema di latenze RPC o richieste RPC elevate sul server {0}. Le latenze RPC o richieste RPC elevate indicano che gli utenti del server riscontreranno ritardi durante l'accesso alla posta." S0="%SERVER%" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607" AlwaysEvaluate="True">
							<Variable Name="varRPCSymptomFound" Scope="Global"/>
						</Rule>

						<!-- Inform the user that no issue was found. -->
						<Rule Name="fNoRPCProblemFound" Query="not($fRPCProblemFound) and not($fFatalError) and not($fIsNotExchangeServer)" Error="None" ReportIssue="Summary" Priority="1" Title="Non sono stati rilevati problemi con l'attività degli utenti" Text="Non sono stati rilevati problemi con le latenze RPC, le richieste in attesa o l'attività degli utenti sul server {0}." S0="%SERVER%" AlwaysEvaluate="True"/>

						<!-- NO ISSUE WAS FOUND - continue anyway -->
						<Rule Name="fNORPCPRoblemFoundContinue" Query="not($fRPCProblemFound) and not($fFatalError) and not($fIsNotExchangeServer)" AlwaysEvaluate="True"/>

						<!-- ISSUE WAS FOUND... Now check to see if it was caused by disk or any other system resource... -->
						<Rule Name="fRPCProblemFoundContinue" Query="$fRPCProblemFound and not($fFatalError) and not($fIsNotExchangeServer)"/>
						<Rule Name="szTimeRangesWithRPCProblem" Query="join(',',$szTimeRangeOfProblem)">
							<Variable Name="RPCPROBLEMTIMERANGES" Scope="Global"/>
						</Rule>
						<Rule Name="fResetTimeRanges" Query="if(@S1=1,$szTimeRangesWithRPCProblem,@S2)" S1="%ANALYZEALLBADRPCS%" S2="%szSELECTEDLISTOFTIMERANGES%">
							<Variable Name="szSELECTEDLISTOFTIMERANGES" Scope="Global"/>
						</Rule>
						<Rule Name="fRPCProblemFoundCheckUserActivity" Query="$fRPCProblemFound and not($fFatalError) and not($fIsNotExchangeServer) and not($fExtremelyActiveUsers) and not($fActiveUsers)" Text="- Esaminare l'attività RPC degli utenti sul server." Display="Hide" AlwaysEvaluate="True"/>
						<Rule Name="fRPCProblemFoundCheckUserActivityFCL" Query="$fRPCSymptomsFound" Text="- Esaminare il registro Chiamata di funzione per verificare se i problemi noti stanno causando ritardi nelle richieste del client." Display="Hide" AlwaysEvaluate="True"/>
						<Rule Name="fBusyUsersInformation" Query="$fActiveUsers or $fExtremelyActiveUsers and not($fFatalError) and not($fIsNotExchangeServer) " AlwaysEvaluate="True"/>
						<Rule Name="fBusyUserMessage" Query="$fBusyUsersInformation" Error="BestPractice" ReportIssue="Recommendation" Title="Consiglio per utenti attivi su un server caricato: spostare gli utenti su un altro server" Text="Se gli utenti che stanno accedendo al server Exchange sono estremamente attivi, non è possibile ridurre il carico sul server e sono stati rilevati colli di bottiglia sul server, valutare la possibilità di spostare alcuni utenti su un altro server."/>
						<Rule NextStep="BusyUsersInformation" Name="fBusyUserInfoNS" Query="$fBusyUsersInformation" Priority="2" Text="- Esaminare l'attività degli utenti per verificare se l'elevato utilizzo dipende da un singolo utente o è distribuito tra più utenti." Display="Hide"/>
						<Rule Name="szActiveUserText" Query="string(@Title)" Title="Sul server è stata rilevata un'attività RPC moderatamente elevata."/>
						<Rule Name="szExtremelyActiveUserText" Query="string(@Title)" Title="Sul server è stata rilevata un'attività RPC estremamente elevata."/>
						<Rule Name="szNormalUserActivityText" Query="string(@Title)" Title="Anche se per il momento lo strumento non ha rilevato operazioni RPC elevate al secondo, la frequenza di operazioni RPC elevate al secondo potrebbe causare problemi di prestazioni."/>
						<Rule Name="szTypeOfUserText" Query="if($fActiveUsers, $szActiveUserText, if($fExtremelyActiveUsers, $szExtremelyActiveUserText, $szNormalUserActivityText))">
							<Variable Name="BUSYUSERTEXT" Scope="Children"/>
						</Rule>

						<!-- Add ServerRole info for list box -->
						<Rule Query="string(@Title)" Title="un server cassette postali e cartelle pubbliche">
							<Variable Name="ROLES[MbxPub]" Scope="Global"/>
						</Rule>
						<Rule Query="string(@Title)" Title="un server cassette postali">
							<Variable Name="ROLES[Mbx]" Scope="Global"/>
						</Rule>
						<Rule Query="string(@Title)" Title="un server cartelle pubbliche">
							<Variable Name="ROLES[Pub]" Scope="Global"/>
						</Rule>
						<Rule Query="string(@Title)" Title="un server Active Directory">
							<Variable Name="ROLES[AD]" Scope="Global"/>
						</Rule>
						<Rule Query="string(@Title)" Title="di tipo sconosciuto (altro/gateway/server front-end)">
							<Variable Name="ROLES[Other]" Scope="Global"/>
						</Rule>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CollectExmon" Title="Raccolta dati ExMon" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SAMPLESECONDS%" Substitution="SAMPLESECONDS" Display="Hide"/>
			<Object Type="Progress" Text="Attendere. Raccolta di una traccia ETL di Exchange Server User Monitor (ExMon) relativa all'attività RPC sul server in corso. Lo strumento raccoglierà i dati per %SAMPLESECONDS% secondi." Title="Raccolta dati sulla traccia ETL ExMon" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="ExMon" Name="ExMon Collection" Key1="" Key2="%SAMPLESECONDS%" Key3="Collect" Key4="-cmsecCPU">
					<Setting Key1="__FILENAME" Substitution="FILENAME">
						<Rule Name="szEtlFile" Query="$.">
							<Variable Name="varExMonFileName" Scope="Global"/>
						</Rule>
						<Rule NextStep="CheckUserActivity" Name="fOk" Query="string-length($szEtlFile) &gt; 0"/>
						<Rule Query="not($fOk)" Title="Impossibile raccogliere i dati ExMon" Text="Impossibile raccogliere i dati Exchange Server User Monitor (ExMon)." Error="Error" Sev="1" AlwaysEvaluate="True"/>
					</Setting>
					<!-- If there is a failure to collect, display it -->
					<Rule NextStep="DisplayResultsStep" Name="fDisplayResultsStep" Query="not($szEtlFile)" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szStepNameCE" Query="'CollectExmon'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayTextCE" Query="string(@Title)" Title="Risultati della raccolta di dati RPC ExMon">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Query="if(not($szEtlFile),string(@Title))" Title="Impossibile raccogliere i dati ExMon." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fCollectionException" Query="../Exception" Text="Impossibile raccogliere i dati ExMon. ExMon ha segnalato l'errore seguente: {1}" Title="Impossibile raccogliere i dati ExMon" P1="../Exception/@Message" Error="Error" Sev="1"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckUserActivity" Title="Analisi dell'attività degli utenti ExMon" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExMonFileName%" Substitution="ETLFILE" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varExMonLongLatency%" Substitution="varExMonLongLatency" Display="Hide"/>

			<Object Type="Progress" Text="Attendere. Verifica delle attività RPC degli utenti sul server mediante Exchange Server User Monitor (ExMon) in corso..." Title="Controlli attività RPC" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<!-- STEP InvestigateUsers -->
				<!--- Goal 1, part 1: Determine if the problem is due to a few users or is distributed across all users -->
				<Object Type="Group" Name="Detailed User Activity Analysis" Class="Area" GroupingClass="True">
					<Rule Name="fDisplayUserActivityStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szCheckUserActivity" Query="'CheckUserActivity'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayExMonRPCAnalysis" Query="string(@Title)" Title="Risultati dell'analisi RPC ExMon">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szNoError3" Query="string(@Title)" Title="Nessun singolo utente è responsabile dell'elevato carico della CPU."/>
					<Rule Name="szError3" Query="string(@Title)" Title="È stato identificato un possibile problema con l'attività di utenti specifici."/>
					<Rule Name="szErrorStateText3" Query="if($fFailed,string(@Title),if($fBadUserFound, $szError3,$szNoError3))" Title="Impossibile analizzare il file ETL." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fFailed" Query="$fNoDuration or $fNoUserData or $fOtherFailure" AlwaysEvaluate="True"/>
					<Rule Name="fNoUserData" Query="not(count($iPercentCPU) + count($iUserOpRate) &gt; 0) and not($fOtherFailure)" Error="Error" Sev="1" Title="Impossibile leggere i dati ExMon dal file di traccia ETL" Text="Non sono stati rilevati dati utente nel file di traccia ETL Exchange Server User Monitor (ExMon) &quot;{0}&quot;. Ciò può dipendere dal fatto che lo strumento non viene eseguito su una versione di Windows uguale o più recente rispetto al server sul quale è stata raccolta la traccia o dall'assenza di dati RPC nel file di traccia." S0="%ETLFILE%" AlwaysEvaluate="True"/>
					<Rule Name="fNoDuration" Query="not($iETLDuration &gt; 0) and not($fOtherFailure)" Error="Error" Sev="1" Title="Impossibile leggere i dati ExMon dal file di traccia ETL" Text="Impossibile leggere la durata dell'acquisizione ETL dal file &quot;{0}&quot;." S0="%ETLFILE%" AlwaysEvaluate="True"/>

					<!-- Summary info -->
					<Rule Name="fHighTotalCPUOfTopUsers" Query="sum($iPercentCPU) &gt; 20" Error="Warning" ReportIssue="Summary" Title="I 6 utenti principali sono responsabili del {1}% dell'utilizzo MAPI della CPU sul server." Text="I 6 utenti principali sono responsabili del {1}% dell'utilizzo MAPI della CPU sul server." P1="round(sum($iPercentCPU))" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
					<Rule Name="fBadUserFound" Query="count($fHighLogRecordRate) + count($fFoundHighCPUUser) + count($fFoundHighOpsUser) &gt; 0" Error="Error" Sev="1" ReportIssue="Summary" Title="Rilevati utenti particolarmente attivi" Text="Il campione di utilizzo mostra che l'attività RPC è elevata per uno o più utenti anziché essere distribuita." GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
					<Rule Name="fLongLatencyUserFound" Query="count($fFoundHighLatencyUser) &gt; 0" Error="Warning" Sev="1" ReportIssue="Summary" Title="Rilevate operazioni MAPI a esecuzione prolungata" Text="Il campione di utilizzo mostra alcune operazioni MAPI a esecuzione prolungata. Ciò non sempre indica un problema." GUID="949b206c-fb81-48d4-a51e-bce89d9821cd"/>
					<Rule Name="fIsDistributedProblem" Query="not($fBadUserFound or $fFailed)" AlwaysEvaluate="True" Title="Attività RPC distribuita tra più utenti" Text="Il campione di utilizzo mostra che l'attività RPC è distribuita tra più utenti anziché essere causata da un singolo utente." Error="None" ReportIssue="Summary"/>

					<Object Type="ExMon" Name="Duration of ETL capture" Key1="" Key2="%ETLFILE%" Key3="Summary">
						<Setting Key1="StartTime" Substitution="STARTTIME">
							<Rule Name="iStartTime" Query="(date-parse(substring($.,1,19), 'MM/dd/yyyy HH:mm:ss'))"/>
						</Setting>
						<Setting Key1="EndTime" Substitution="ENDTIME">
							<Rule Name="iEndTime" Query="(date-parse(substring($.,1,19), 'MM/dd/yyyy HH:mm:ss'))"/>
							<Rule Name="szExmonFileTimeRange" Query="concat($iStartTime,' - ',$iEndTime)">
								<Variable Name="EXMONTIMERANGE" Scope="Children"/>
							</Rule>
						</Setting>
						<Rule Name="fOtherFailure" Query="../Exception" Error="Error" Sev="1" Title="Impossibile analizzare i dati ExMon" Text="Impossibile analizzare i dati di traccia ETL Exchange Server User Monitor (ExMon) {0}. ExMon ha restituito l'errore seguente: {1}" S0="%ETLFILE%" P1="../Exception/@Message"/>
						<Object Type="Group" Name="%STARTTIME% - %ENDTIME%" Class="Intervallo di tempo" GroupingClass="True">
							<Object Type="ExMon" Name="RPC load by user" Key1="" Key2="%ETLFILE%" Key3="User" Key4="-opstats.cmsecCPU" Key5="5" Class="Utente attivo" GroupingClass="True">
								<Rule Name="iETLDuration" Query="get-seconds(date-difference($iEndTime, $iStartTime))" AlwaysEvaluate="True"/>
								<Rule Name="fShortDuration" Query="$iETLDuration &lt; 50" Title="ExMon è stato eseguito per un periodo breve di tempo" Text="La traccia ExMon è stata acquisita per {1} secondi. Poiché è normale per alcuni utenti utilizzare grandi quantità di CPU per qualche minuto, un'acquisizione ExMon breve potrebbe erroneamente indicare che gli utenti stanno causando un carico elevato. Se lo strumento sta analizzando acquisizioni brevi, ricercare gli utenti che stanno inducendo in modo coerente un utilizzo elevato delle risorse per diverse acquisizioni ExMon." P1="$iETLDuration" Error="Warning" Sev="3"/>
								<Setting Key1="opstats.cOps">
									<Rule Name="iUserOpRate" Query="round(100* $. div $iETLDuration) div 100" Text="L'utente {0} sta emettendo {1} operazioni MAPI al secondo." P0="$szUserName" P1="$iUserOpRate"/>
									<Rule Name="fFoundHighOpsUser" Query="$iUserOpRate &gt; 20" Error="Error" Sev="1" ReportIssue="Issue" Title="Rilevato utente attivo" Text="L'utente '{0}' stava emettendo {1} operazioni MAPI al secondo. Il valore è superiore al valore previsto. Se un utente emette più di 10 operazioni al secondo per più di qualche minuto alla volta, in genere ciò indica che sta eseguendo un'applicazione che richiede un elevato utilizzo di risorse.{4}" P0="$szUserName" P1="$iUserOpRate" P4="$szExtraUserInfo" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8" AlwaysEvaluate="True"/>
									<Rule Name="szExtraUserInfo" Query="concat($szClientVersionsText,$szIPAddressesText,$szProcessesText,$szSomeExchangeVersionText,$szAllExchangeVersionText)" AlwaysEvaluate="True"/>
								</Setting>
								<Setting Key1="opstats.pctCPU">
									<Rule Name="iPercentCPU" Query="round($.*100) div 100"/>
								</Setting>
								<Setting Key1="vecIPAddresses">
									<Rule Name="szIPAddresses" Query="join(', ',$.)"/>
									<Rule Name="szIPAddressesText" Query="if(string-length($szIPAddresses) &gt; 0,concat(string(@Title),$szIPAddresses,'. '))" Title=" Indirizzi IP utente: "/>
								</Setting>
								<Setting Key1="vecClientVersions">
									<Rule Name="szClientVersions" Query="join(', ',$.)" Text="Versioni del client MAPI: {0}" P0="join(', ',$.)"/>
									<Rule Name="szClientVersionsText" Query="if(string-length($szClientVersions) &gt; 0,concat(string(@Title),$szClientVersions,'. '))" Title=" Versioni del client MAPI: "/>
									<Rule Name="fAllExchangeVersions" Query="$fAllExchange and (substring-before($.,'.')=8 or substring-before($.,'.')=6)" Error="None" Sev="3" ReportIssue="Issue" Title="Caricamento MAPI eseguito per conto dell'utente" Text="Il caricamento da parte dell'utente '{0}' rappresenta le operazioni MAPI eseguite dai servizi per conto dell'utente." P0="$szUserName"/>
									<Rule Name="szSomeExchangeVersions" Query="$fSomeExchange and (substring-before($.,'.')=8 or substring-before($.,'.')=6)" Error="None" Sev="3" ReportIssue="Issue" Title="Parte del caricamento MAPI eseguito per conto dell'utente" Text="Parte del caricamento da parte dell'utente '{0}' rappresenta le operazioni MAPI eseguite dai servizi per conto dell'utente." P0="$szUserName"/>
									<Rule Name="fAllExchange" Query="count($.)=1"/>
									<Rule Name="fSomeExchange" Query="count($.)&gt;1"/>
									<Rule Name="szAllExchangeVersionText" Query="if($fAllExchangeVersions,string(@Title))" Title="Il caricamento da parte dell'utente rappresenta le operazioni MAPI eseguite dai servizi per conto dell'utente." AlwaysEvaluate="True"/>
									<Rule Name="szSomeExchangeVersionText" Query="if($fAllExchangeVersions,string(@Title))" Title="Parte del caricamento dell'utente rappresenta le operazioni MAPI eseguite dai servizi per conto dell'utente." AlwaysEvaluate="True"/>
								</Setting>
								<Setting Key1="vecProcesses">
									<Rule Name="szProcesses" Query="join(', ',$.)" Text=" Processi: {0}" P0="join(', ',$.)"/>
									<Rule Name="szProcessesText" Query="if(string-length($szProcesses) &gt; 0,concat(string(@Title),$szProcesses,'. '))" Title="Nomi dei processi MAPI: "/>
								</Setting>
								<Setting Key1="opstats.jetstats.cbLogRecord">
									<Rule Name="iLogRecordRate" Query="round($. div $iETLDuration)" Text="Byte record di registro al secondo: {0}" P0="round($.)"/>
									<Rule Name="iLogBytesRateThreshold" Query="round(5*1024*1024 div 60)"/>
									<Rule Name="fHighLogRecordRate" Query="$iLogRecordRate &gt; $iLogBytesRateThreshold" Error="Error" Sev="1" ReportIssue="Issue" Title="Byte record di registro al secondo oltre la soglia di errore" Text="L'utente {0} ha causato la scrittura di {1} byte di record di registro al secondo, valore superiore alla soglia di {3} MB al secondo.{4}" P0="$szUserName" P1="$iLogRecordRate" P3="$iLogBytesRateThreshold" P4="$szExtraUserInfo" GUID="a06bffb4-8f20-4fb7-8e33-a696539d8fa1" AlwaysEvaluate="True"/>
								</Setting>
								<Setting Key1="opstats.cmsecCPU">
									<Rule Name="fFoundHighCPUUser" Query="$. div $iETLDuration &gt; 20 or ($. div $iETLDuration &gt; 10 and $iPercentCPU &gt; 40)" Error="Error" Sev="1" ReportIssue="Issue" Title="Identificato utente particolarmente attivo" Text="Le RPC emesse dall'utente '{0}' stanno utilizzando una quantità elevata ({1}%) di tempo del processore RPC del server.{4}" P0="$szUserName" P1="round($iPercentCPU)" P4="$szExtraUserInfo" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
									<Rule Name="szBadUser" Query="if($fFoundHighCPUUser or $fFoundHighOpsUser or $fHighLogRecordRate, string($szUserName))" AlwaysEvaluate="True"/>
								</Setting>
								<Setting Key1="__NAME">
									<Rule Name="szUserName" Query="$."/>
									<Rule Name="szUserCPU" Query="ifnumber($.)" Error="None" Text="L'utente '{0}' sta utilizzando {1}% del tempo della CPU dedicato all'elaborazione delle RPC.{4}" P0="$." P1="round($iPercentCPU)" P4="$szExtraUserInfo" AlwaysEvaluate="True"/>
								</Setting>
								<!-- Determine the next steps -->
								<Rule Name="szListOfUsers" Query="join('#xef',$szBadUser)">
									<Variable Name="ListOfUsers" Scope="Children"/>
								</Rule>
								<Rule Name="szListOfUsersSpaced" Query="join(', ',$szBadUser)"/>
								<Rule Name="szEtlFile2" Query="@S1" S1="%ETLFILE%">
									<Variable Name="ETLFILE" Scope="Children"/>
								</Rule>
								<Rule Name="iETLDurationVar" Query="$iETLDuration">
									<Variable Name="SAMPLESECONDS" Scope="Children"/>
								</Rule>
								<Rule Name="iTotalCPUOfTopUsers" Query="sum($iPercentCPU)"/>
								<Rule Name="fTotalCPUOfTopUsersText" Query="not($fHighTotalCPUOfTopUsers)" Text="I 6 utenti principali sono responsabili del {1}% dell'utilizzo MAPI della CPU sul server." P1="round(100*sum($iPercentCPU)) div 100"/>
								<Rule NextStep="InvestigateHighCPUUsers" Query="$fBadUserFound" Text="- Esaminare l'attività dell'utente o degli utenti seguenti: {1}." Display="Hide" P1="$szListOfUsersSpaced"/>
								<Rule NextStep="InvestigateDistributedProblem" Query="$fIsDistributedProblem" Text="- Verificare se il carico elevato è causato da un particolare tipo di operazione." Display="Hide"/>
							</Object>

							<!-- Check for long latency rpcs. -->
							<Object Type="ExMon" Name="High Latency RPCs" Key1="" Key2="%ETLFILE%" Key3="User" Key4="-opstats.cmsecElapsed" Key5="5" Class="Utente attivo" GroupingClass="True">
								<Setting Key1="opstats.cmsecElapsed">
									<Rule Name="iUserLatency" Query="roundto($. div 1000,2)" Text="L'operazione MAPI eseguita dall'utente {0} ha richiesto {1} secondi." P0="$szUserNameLatency" P1="roundto($. div 1000,2)"/>
									<Rule Name="fFoundHighLatencyUser" Query="$iUserLatency &gt; @S3" Error="Warning" Sev="1" ReportIssue="Issue" Title="Rilevato utente con RPC prolungata" Text="L'operazione MAPI eseguita dall'utente '{0}' ha richiesto {1}, cioè un valore che supera la soglia di {3} secondi. Le operazioni che impiegano più di 5 - 15 secondi possono provocare il blocco di Outlook o la visualizzazione di una finestra di dialogo di annullamento.{4}" P0="$szUserNameLatency" P1="$iUserLatency" S3="%varExMonLongLatency%" P4="$szExtraUserInfo" GUID="949b206c-fb81-48d4-a51e-bce89d9821cd" AlwaysEvaluate="True"/>
								</Setting>
								<Setting Key1="opstats.cOps">
									<Rule Name="iUserOpRateLatency" Query="roundto($. div $iETLDuration,2)" Text="L'utente {0} sta emettendo {1} operazioni MAPI al secondo." P0="$szUserNameLatency" P1="roundto($. div $iETLDuration,2)"/>
								</Setting>
								<Setting Key1="__NAME">
									<Rule Name="szUserNameLatency" Query="$."/>
									<Rule Name="szBadLatencyUser" Query="if($fFoundHighLatencyUser,string($.))"/>
								</Setting>
								<Rule Name="szListOfLatencyUsers" Query="join('#xef',$szBadLatencyUser)">
									<Variable Name="ListOfLatencyUsers" Scope="Children"/>
								</Rule>
								<Rule Name="szListOfLatencyUsersSpaced" Query="join(', ',$szBadLatencyUser)"/>
								<Setting Key1="vecIPAddresses">
									<Rule Name="szExtraUserInfoLat" Query="concat(concat($szClientVersionsTextLat,$szIPAddressesTextLat,$szProcessesTextLat),$szSomeExchangeVersionTextLat,$szAllExchangeVersionTextLat)" AlwaysEvaluate="True"/>
									<Rule Name="szIPAddressesLat" Query="join(', ',$.)"/>
									<Rule Name="szIPAddressesTextLat" Query="if(string-length($szIPAddressesLat) &gt; 0,concat(string(@Title),$szIPAddressesLat,'. '))" Title=" Indirizzi IP utente: "/>
								</Setting>
								<Setting Key1="vecClientVersions">
									<Rule Name="szClientVersionsLat" Query="join(', ',$.)" Text="Versioni del client MAPI: {0}" P0="join(', ',$.)"/>
									<Rule Name="szClientVersionsTextLat" Query="if(string-length($szClientVersionsLat) &gt; 0,concat(string(@Title),$szClientVersionsLat,'. '))" Title=" Versioni del client MAPI: "/>
									<Rule Name="fAllExchangeLat" Query="count($.)=1"/>
									<Rule Name="fSomeExchangeLat" Query="count($.)&gt;1"/>
									<Rule Name="fAllExchangeVersionsLat" Query="$fAllExchangeLat and (substring-before($.,'.')='8' or substring-before($.,'.')='6')" Error="None" Sev="3" ReportIssue="Issue" Title="Caricamento MAPI eseguito per conto dell'utente con operazioni ad alta latenza" Text="Il caricamento da parte dell'utente '{0}' rappresenta le operazioni MAPI eseguite dai servizi per conto dell'utente." P0="$szUserNameLatency"/>
									<Rule Name="fSomeExchangeVersionsLat" Query="$fSomeExchangeLat and (substring-before($.,'.')='8' or substring-before($.,'.')='6')" Error="None" Sev="3" ReportIssue="Issue" Title="Parte del caricamento MAPI eseguito per conto dell'utente con operazioni ad alta latenza" Text="Parte del caricamento dell'utente '{0}' rappresenta le operazioni MAPI eseguite dai servizi per conto dell'utente." P0="$szUserNameLatency"/>

									<Rule Name="szAllExchangeVersionTextLat" Query="if($fAllExchangeVersionsLat,string(@Title))" Title="Il caricamento da parte dell'utente rappresenta le operazioni MAPI eseguite dai servizi per conto dell'utente." AlwaysEvaluate="True"/>
									<Rule Name="szSomeExchangeVersionTextLat" Query="if($fAllExchangeVersionsLat,string(@Title))" Title="Parte del caricamento dell'utente rappresenta le operazioni MAPI eseguite dai servizi per conto dell'utente." AlwaysEvaluate="True"/>
								</Setting>
								<Setting Key1="vecProcesses">
									<Rule Name="szProcessesLat" Query="join(', ',$.)" Text=" Processi: {0}" P0="join(', ',$.)"/>
									<Rule Name="szProcessesTextLat" Query="if(string-length($szProcessesLat) &gt; 0,concat(string(@Title),$szProcessesLat,'. '))" Title="Nomi dei processi MAPI: "/>
								</Setting>
								<Setting Key1="opstats.jetstats.cbLogRecord">
									<Rule Name="iLogRecordRateLat" Query="round($. div $iETLDuration)" Text="Byte record di registro al secondo: {0}" P0="round($.)"/>
									<Rule Name="iLogBytesRateThresholdLat" Query="round(5*1024*1024 div 60)"/>
									<Rule Name="fHighLogRecordRateLat" Query="$iLogRecordRateLat &gt; $iLogBytesRateThresholdLat" Error="Error" Sev="1" ReportIssue="Issue" Title="Byte record di registro al secondo oltre la soglia di errore" Text="L'utente {0} ha causato la scrittura di {1} byte di record di registro al secondo, cioè di un valore superiore alla soglia di {3} MB al secondo.{4}" P0="$szUserNameLatency" P1="$iLogRecordRateLat" P3="$iLogBytesRateThresholdLat" P4="$szExtraUserInfoLat" GUID="a06bffb4-8f20-4fb7-8e33-a696539d8fa1" AlwaysEvaluate="True"/>
								</Setting>
								<Rule NextStep="InvestigateHighLatencyUsers" Name="fInvestigateLatency" Query="$fFoundHighLatencyUser" Text="- Verificare le operazioni MAPI ad alta latenza per l'utente o gli utenti riportati di seguito: {1}." P1="$szListOfLatencyUsersSpaced" Display="Hide"/>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="InvestigateHighCPUUsers" Title="Analisi utenti ExMon attivi" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%ETLFILE%" Substitution="ETLFILE" Display="Hide"/>
			<Setting Key1="%ListOfUsers%" Substitution="LISTOFUSERS" Display="Hide"/>
			<Setting Key1="%SAMPLESECONDS%" Substitution="SAMPLESECONDS" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%EXMONTIMERANGE%" Substitution="EXMONTIMERANGE" Display="Hide"/>
			<Object Type="Progress" Text="Attendere. Verifica dell'attività RPC di utenti specifici in corso..." Title="Controlli dell'attività RPC sugli utenti con attività elevata" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<!-- STEP InvestigateHighCPUUsers -->
				<!-- Goal 1, part 2: Find out what ops the user is doing... is it expected high load, or unusual? -->
				<Object Type="Group" Name="Detailed User Activity Analysis" Class="Area" GroupingClass="True">
					<Rule Name="fDisplayHighCPUUsersStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szHighCPUUsers" Query="'InvestigateHighCPUUsers'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayExMonUserAnalysis" Query="string(@Title)" Title="Risultati dell'analisi RPC ExMon degli utenti attivi">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Query="if($fUserIssueFound,'',string(@Title))" Title="Non sono stati rilevati problemi noti con le attività di questi utenti." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fUserIssueFound" Query="$fAbnormalHighUsagebyUser" AlwaysEvaluate="True"/>
					<Rule Name="fNotUserIssueFound" Query="not($fUserIssueFound)" Title="Non sono stati rilevati problemi noti con le attività degli utenti." Text="Benché per alcuni utenti siano state rilevate frequenze RPC elevate, non sono stati identificati problemi noti con l'attività di utenti specifici." Error="None" ReportIssue="Summary" AlwaysEvaluate="True"/>
					<Object Type="Group" Name="%EXMONTIMERANGE%" Class="Intervallo di tempo" GroupingClass="True">
						<Object Type="Cache" Name="Problem Users" Key1="Add" Key2="ListOfUsers" Key3="%LISTOFUSERS%" Key4="#xef" Class="Utente attivo" GroupingClass="True">
							<Setting Substitution="USER" Display="Hide"/>
							<Object Type="Group" Name="%USER%, Top MAPI ops sorted by CPU usage">
								<Object Type="ExMon" Key1="" Key2="%ETLFILE%" Key4="-cmsecCPU" Key5="3" Key3="Op:User=%USER%">
									<Setting Key1="cmsecCPU">
										<Rule Name="imsCPUperSec" Query="$. div @S1" S1="%SAMPLESECONDS%"/>
										<Rule Name="fBadOp" Query="$iBusyUserPercentCPU &gt; 30 or $imsCPUperSec &gt; 5"/>
									</Setting>
									<Setting Key1="pctCPU">
										<Rule Name="iBusyUserPercentCPU" Query="round($.*100) div 100"/>
									</Setting>
									<Setting Key1="__NAME" Substitution="NAME"/>
									<Setting Key1="cOps" Substitution="COPS"/>
									<Setting Key1="__ROP">
										<Rule Name="fCPUUsageSummary" Query="$iBusyUserPercentCPU &gt; 4" Error="None" Text="L'utente &quot;{3}&quot; sta utilizzando {0}% della CPU nell'operazione MAPI &quot;{4}&quot;. L'utente ha emesso {1} richieste di questo tipo." P0="$iBusyUserPercentCPU" S1="%COPS%" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserHighFindRowUsage" Query="$. = 79 and $fBadOp" Title="Utilizzo elevato della CPU a causa delle limitazioni MAPI" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che l'utente &quot;{3}&quot; sta causando un elevato carico sul server. Le richieste FindRow emesse dall'utente rappresentano il {0}% dell'utilizzo del processore RPC. Ciò indica che l'utente ha un numero elevato di elementi nella cartella su cui sta lavorando FindRow. Valutare la possibilità di ridurre il numero di elementi per cartella." P0="$iBusyUserPercentCPU" S3="%USER%" Error="Error" Sev="2" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserHighRestrictUsage" Query="$. = 20 and $fBadOp" Error="Error" Sev="2" ReportIssue="Issue" Title="Utilizzo elevato della CPU a causa delle limitazioni MAPI" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' sta causando un carico elevato sul server. Le restrizioni emesse dall'utente corrispondono al {0}% dell'utilizzo del processore RPC. L'operazione 'Restrict' potrebbe causare la creazione di visualizzazioni sul server e incidere in modo significativo sulle prestazioni presso l'utente finale. Valutare la possibilità di aggiornare l'utente alla modalità cache di Outlook." P0="$iBusyUserPercentCPU" S3="%USER%" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserHighSetColumnsUsage" Query="$. = 18 and $fBadOp" Title="Utilizzo elevato della CPU causato da SetColumns MAPI" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che l'utente &quot;{3}&quot; potrebbe creare nuove visualizzazioni, causando un elevato carico sul server. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente." P0="$iBusyUserPercentCPU" S3="%USER%" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserBulkOp" Query="not($fBadOp) and ($. = 30 or $. = 51 or $. = 102)" Error="None" Title="Utilizzo elevato delle operazioni globali MAPI" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che l'utente &quot;{3}&quot; sta eseguendo normali operazioni globali di tipo operazione MAPI &quot;{4}&quot;. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente." P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserSyncOp" Query="not($fBadOp) and ($. = 75 or $. = 78 or $. = 114 or $. = 116 or $. = 117 or $. = 118 or $. = 119 or $. = 120 or $. = 128)" Error="None" Title="Utilizzo elevato delle operazioni di sincronizzazione MAPI" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che l'utente &quot;{3}&quot; sta eseguendo normali operazioni di sincronizzazione di tipo operazione MAPI &quot;{4}&quot;. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente." P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserOnlineOp" Query="not($fBadOp) and ($. = 3 or $. = 7 or $. = 10 or $. = 12 or $. = 20 or $. = 21 or $. = 23 or $. = 44 or $. = 79)" Error="None" Title="Utilizzo elevato delle azioni in linea MAPI" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che l'utente &quot;{3}&quot; sta eseguendo operazioni in linea di tipo MAPI &quot;{4}&quot;. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente." P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserOddBulkOp" Query="$fBadOp and ($. = 30 or $. = 51 or $. = 102)" Error="Error" Sev="3" ReportIssue="Issue" Title="Utilizzo elevato di operazioni globali MAPI" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che l'utente &quot;{3}&quot; sta eseguendo operazioni globali di tipo MAPI &quot;{4}&quot;. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente. In genere, le operazioni globali sono molto costose ma hanno durata breve e non indicano un problema." P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserOddSyncOp" Query="$fBadOp and ($. = 75 or $. = 78 or $. = 114 or $. = 116 or $. = 117 or $. = 118 or $. = 119 or $. = 120 or $. = 128)" Error="None" Title="Utilizzo elevato delle operazioni di sincronizzazione MAPI" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' sta eseguendo normali operazioni di sincronizzazione del tipo di operazione MAPI &quot;{4}&quot;. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente. In genere, le operazioni di sincronizzazione sono costose, ma hanno durata breve e non indicano un problema." P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserOddOnlineOp" Query="$fBadOp and ($. = 3 or $. = 7 or $. = 10 or $. = 21 or $. = 23 or $. = 44 )" Title="Utilizzo elevato delle operazioni in linea MAPI" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che l'utente &quot;{3}&quot; sta eseguendo operazioni in linea di tipo MAPI &quot;{4}&quot;, che corrispondono al il {0}% del carico MAPI della CPU dell'utente. Quando un singolo tipo di operazione MAPI rappresenta una percentuale elevata del carico, è probabile che l'utente stia eseguendo un'applicazione dalle scarse prestazioni." P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserSaveChangesMessages" Query="$fBadOp and ($. = 12)" Error="None" Title="Utilizzo elevato delle operazioni in linea MAPI" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che l'utente &quot;{3}&quot; sta eseguendo un'operazione MAPI &quot;{4}&quot; costosa. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente. In genere, questa operazione è molto costosa ma non indica un problema." P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserTaskQUserKnown" Query="$fBadOp and ($. = 202)" Title="Utilizzo elevato delle attività TaskQ" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che l'utente &quot;{3}&quot; sta eseguendo un'operazione MAPI &quot;{4}&quot; costosa. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente. Se questa operazione viene visualizzata insieme all'operazione MAPI &quot;QueryRows&quot;, è probabile che il client stia richiedendo un numero elevato di elementi o di proprietà per ciascun elemento. È normale vedere costi elevati in questa operazione in combinazione con &quot;MoveCopyMessages&quot;, &quot;DeleteMessages&quot; o altre operazioni MAPI globali." Error="Warning" Sev="1" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserOtherTypeofOp" Query="$fBadOp and not($fBusyUserBulkOp or $fBusyUserSyncOp or $fBusyUserOnlineOp or $fBusyUserOddBulkOp or $fBusyUserOddSyncOp or $fBusyUserOddOnlineOp or $fBusyUserSaveChangesMessages or $fBusyUserTaskQUserKnown or $fBusyUserHighRestrictUsage) and not($. = 200 or $. = 201)" Title="Utilizzo elevato delle operazioni MAPI" Text="L'utente &quot;{3}&quot; sta causando un carico RPC elevato con l'operazione MAPI &quot;{4}&quot;. Quando un singolo tipo di operazione MAPI è responsabile di una grande percentuale del carico, è probabile che l'utente stia eseguendo un'applicazione dalle scarse prestazioni. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente." P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
									</Setting>
									<Rule Name="fAbnormalHighUsagebyUser" Query="$fBusyUserOtherTypeofOp or $fBusyUserOddBulkOp or $fBusyUserOddOnlineOp or $fBusyUserHighRestrictUsage or $fBusyUserHighSetColumnsUsage" Error="Error" Sev="1" ReportIssue="Summary" Title="Attività utente insolita rilevata da '{0}'" Text="Esaminare ulteriormente l'attività di posta elettronica dell'utente &quot;{0}&quot;" S0="%USER%" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
									<Rule Name="fNormalUsagebyUser" Query="not($fAbnormalHighUsagebyUser)" Title="Operazioni RPC in linea elevate" Text="L'attività RPC per l'utente &quot;{0}&quot; sembra essere normale." S0="%USER%" ReportIssue="Issue"/>
								</Object>
							</Object>

							<!-- Look for a large number of failures -->
							<Object Type="Group" Name="%USER%, MAPI operations sorted by number of failures">
								<Object Type="ExMon" Name="%USER%, by number of failures" Key1="" Key2="%ETLFILE%" Key4="-cOpsFailed" Key5="5" Key3="Op:User=%USER%">
									<Setting Key1="cOps">
										<Rule Name="iUsercOps" Query="$."/>
									</Setting>
									<Setting Key1="pctCPU">
										<Rule Name="iUserFailedCPU" Query="round($.*100) div 100"/>
									</Setting>
									<Setting Key1="cOpsFailed">
										<Rule Name="fUserSummaryOfFailures" Query="$iUserFailedCPU &gt; 4 and $. * 100 div $iUsercOps &gt; 5" Title="Frequenza di errori delle operazioni MAPI" Text="{0}% di operazioni MAPI &quot;{4}&quot; non riuscite." P0="round($. * 100 div $iUsercOps)" P4="$szUserOpName" GUID="47e41cad-c842-4914-adf1-2816c6a7c63b"/>
										<Rule Name="fUserHighFailures" Query="$. &gt; 0.20 * $iUsercOps and $. &gt; 20 and $iUsercOps &gt; 0 and $iUserFailedCPU &gt; 4 and not($szUserOpNumber = 2 or $szUserOpNumber = 3 or $szUserOpNumber = 43 or $szUserOpNumber = 79 or $szUserOpNumber = 86 or $szUserOpNumber = 97 or $szUserOpNumber = 120 or $szUserOpNumber = 254)" Title="Numero elevato di errori RPC" Text="Le RPC per l'utente &quot;{1}&quot; presentavano un numero elevato di errori. {2} operazioni su {3} non sono state eseguite correttamente. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente." P0="$iUserFailedCPU" S1="%USER%" P2="$." P3="$iUsercOps" Error="None" Sev="1" GUID="47e41cad-c842-4914-adf1-2816c6a7c63b"/>
										<Rule Name="fUserReallyHighFailures" Query="$. &gt; 0.50 * $iUsercOps and $. &gt; 20 and $iUserFailedCPU &gt; 4 and not($szUserOpNumber = 120 or $szUserOpNumber = 97 or $szUserOpNumber = 79)" Title="Numero elevato di errori RPC" Text="Le RPC per l'utente &quot;{1}&quot; presentavano un numero elevato di errori. {2} operazioni su {3} non sono state eseguite correttamente. Tale attività corrisponde al {0}% dell'utilizzo del processore RPC dell'utente." P0="$iUserFailedCPU" S1="%USER%" P2="$." P3="$iUsercOps" Error="None" Sev="1" GUID="47e41cad-c842-4914-adf1-2816c6a7c63b"/>
										<Rule Name="iUserOpsFailed" Query="$."/>
									</Setting>
									<Setting Key1="__ROP">
										<Rule Name="szUserOpNumber" Query="$."/>
									</Setting>
									<Setting Key1="__NAME">
										<Rule Name="szUserOpName" Query="$."/>
									</Setting>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="InvestigateHighLatencyUsers" Title="Utenti ad alta latenza" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%ETLFILE%" Substitution="ETLFILE" Display="Hide"/>
			<Setting Key1="%ListOfLatencyUsers%" Substitution="LISTOFUSERS" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%EXMONTIMERANGE%" Substitution="EXMONTIMERANGE" Display="Hide"/>
			<Setting Key1="%varExMonLongLatency%" Substitution="varExMonLongLatency" Display="Hide"/>
			<Object Type="Progress" Title="Controlli attività RPC per operazioni MAPI ad alta latenza" Text="Attendere. Verifica della latenza RPC di alcune operazioni MAPI in corso..." HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<!-- STEP InvestigateHighLatencyUsers -->
				<Object Type="Group" Name="Detailed User Activity Analysis" Class="Area" GroupingClass="True">
					<Rule NextStep="DisplayResultsStep" Name="fDisplayHighLatencyUsersStep" Query="@S1=0" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szHighLatencyUsers" Query="'InvestigateHighLatencyUsers'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayExMonUserAnalysis2" Query="string(@Title)" Title="Risultati dell'analisi RPC ExMon degli utenti con operazioni MAPI a esecuzione prolungata">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szErrorHighLatency" Query="if($fUserLatencyIssueFound,'',string(@Title))" Title="Non sono stati rilevati problemi noti con le attività di questi utenti." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fUserLatencyIssueFound" Query="$fAbnormalLongLatency or $fWarnAbnormalLongLatency" AlwaysEvaluate="True"/>
					<Rule Name="fNotUserIssueFound2" Query="not($fUserLatencyIssueFound)" Error="None" ReportIssue="Summary" Title="Non sono stati rilevati problemi noti con le attività degli utenti" Text="Benché siano state rilevate alcune operazioni MAPI ad alta latenza, non sono stati identificati problemi noti con le attività di utenti specifici." AlwaysEvaluate="True"/>
					<Object Type="Group" Name="%EXMONTIMERANGE%" Class="Intervallo di tempo" GroupingClass="True">
						<Object Type="Cache" Name="Problem Users" Key1="Add" Key2="ListOfUsers" Key3="%LISTOFUSERS%" Key4="#xef" Class="Utente attivo" GroupingClass="True">
							<Setting Substitution="USER" Display="Hide"/>
							<Object Type="Group" Name="%USER%, Top MAPI ops sorted by Latency">
								<Object Type="ExMon" Key1="" Key2="%ETLFILE%" Key3="Op:User=%USER%" Key4="-cmsecElapsed" Key5="3">
									<Setting Key1="cmsecElapsed">
										<Rule Name="iLatency" Query="$. div 1000"/>
										<Rule Name="fHighLatencyOp" Query="$iLatency &gt; @S3" S3="%varExMonLongLatency%"/>
									</Setting>
									<Setting Key1="__NAME" Substitution="NAME"/>
									<Setting Key1="cOps"/>
									<Setting Key1="__ROP">
										<Rule Name="fLongLatencySaveChanges" Query="$. = 12 and $fHighLatencyOp" Error="Error" Sev="2" ReportIssue="Issue" Title="Operazione MAPI '{4}' a esecuzione prolungata" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' stava eseguendo un'operazione MAPI a esecuzione prolungata di tipo '{4}'. L'operazione '{4}' a esecuzione più prolungata emessa da questo utente ha richiesto {0} secondi. Questa operazione richiede la scrittura dei dati su disco. Se è in corso il salvataggio di un messaggio o di un allegato di grandi dimensioni, questo ritardo può essere normale. Tuttavia, lunghe attese possono anche indicare la presenza di un collo di bottiglia del disco." P0="$iLatency" S3="%USER%" S4="%NAME%" GUID="715c4068-d99e-4053-907b-a24ec54a7329"/>
										<Rule Name="fLongLatencyFindRow" Query="$. = 79 and $fHighLatencyOp" Error="Error" Sev="2" ReportIssue="Issue" Title="Operazione MAPI '{4}' a esecuzione prolungata" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' stava eseguendo un'operazione MAPI a esecuzione prolungata di tipo '{4}'. L'operazione 'FindRow' a esecuzione più prolungata emessa da questo utente ha richiesto {0} secondi. Ciò indica che l'utente ha un numero elevato di elementi nella cartella su cui si sta eseguendo FindRow. Valutare la possibilità di ridurre il numero di elementi per cartella." P0="$iLatency" S3="%USER%" S4="%NAME%" GUID="d483beea-7336-4460-a6f5-2481f4538bc2"/>
										<Rule Name="fLongLatencyRestrict" Query="$. = 20 and $fHighLatencyOp" Error="Error" Sev="2" ReportIssue="Issue" Title="Operazione a esecuzione prolungata dovuta a restrizioni MAPI" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' stava eseguendo un'operazione MAPI a esecuzione prolungata di tipo '{4}'. La restrizione a esecuzione più prolungata emessa da questo utente ha richiesto {0} secondi. L'operazione 'Restrict' può causare la creazione di visualizzazioni sul server e incidere in modo significativo sulle prestazioni presso l'utente finale. Valutare la possibilità di aggiornare l'utente alla modalità cache di Outlook. Si consiglia inoltre di verificare l'applicazione che ha provocato la restrizione." P0="$iLatency" S3="%USER%" S4="%NAME%" GUID="a6fb999a-71f2-49d3-87f3-08f7e9af7aae"/>
										<Rule Name="fLongLatencySetColumns" Query="$. = 18 and $fHighLatencyOp" Error="Error" Sev="1" ReportIssue="Issue" Title="Operazione MAPI '{4}' a esecuzione prolungata" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' stava eseguendo un'operazione MAPI a esecuzione prolungata di tipo '{4}'. Ciò indica la probabilità che l'utente stia creando nuove visualizzazioni. L'operazione 'SetColumns' a esecuzione più prolungata emessa da questo utente ha richiesto {0} secondi." P0="$iLatency" S3="%USER%" S4="%NAME%" GUID="dfa1e3ce-d33a-44a6-81e2-e0dda6e0ea3f"/>
										<Rule Name="fLongLatencyOnlineOp" Query="$fHighLatencyOp and ($. = 3 or $. = 7 or $. = 10 or $. = 21 or $. = 23 or $. = 44 )" Error="Error" Sev="3" ReportIssue="Issue" Title="Operazione in linea MAPI a esecuzione prolungata" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' stava eseguendo un'operazione MAPI a esecuzione prolungata di tipo '{4}'. L'operazione in linea a esecuzione più prolungata emessa da questo utente ha richiesto {0} secondi." P0="$iLatency" S3="%USER%" S4="%NAME%" GUID="715c4068-d99e-4053-907b-a24ec54a7329"/>
										<Rule Name="fLongLatencySyncOp" Query="$fHighLatencyOp and ($. = 75 or $. = 78 or $. = 114 or $. = 116 or $. = 117 or $. = 118 or $. = 119 or $. = 120 or $. = 128)" Error="Error" Sev="3" ReportIssue="Issue" Title="Operazione di sincronizzazione MAPI a esecuzione prolungata" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' stava eseguendo un'operazione di sincronizzazione MAPI a esecuzione prolungata di tipo '{4}'. L'operazione di sincronizzazione a esecuzione più prolungata emessa da questo utente ha richiesto {0} secondi. Le operazioni di sincronizzazione possono essere costose." P0="$iLatency" S3="%USER%" S4="%NAME%" GUID="d4398b5a-8b16-4e34-ae3d-517e351fbfb5"/>
										<Rule Name="fLongLatencyOtherOp" Query="$fHighLatencyOp and not($fLongLatencyBulkOp or $fLongLatencySyncOp or $fLongLatencyOnlineOp or $fLongLatencyBulkOp or $fLongLatencySyncOp or $fLongLatencyOnlineOp or $fLongLatencyTaskQUserKnown or $fLongLatencyRestrict) and not($. = 200 or $. = 201)" Error="Error" Sev="3" ReportIssue="Issue" Title="Operazione MAPI a esecuzione prolungata" Text="L'utente '{3}' stava eseguendo un'operazione MAPI a esecuzione prolungata di tipo '{4}'. L'operazione MAPI a esecuzione più prolungata emessa da questo utente ha richiesto {0} secondi." P0="$iLatency" S3="%USER%" S4="%NAME%" GUID="0a84ae72-c99d-4bcf-90e5-3233f009f28e"/>
										<!-- WARNING RULES. -->
										<Rule Name="fLongLatencyBulkOp" Query="$fHighLatencyOp and ($. = 30 or $. = 51 or $. = 102)" Error="Warning" Sev="3" ReportIssue="Issue" Title="Operazione globale MAPI a esecuzione prolungata" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' stava eseguendo un'operazione globale MAPI a esecuzione prolungata di tipo '{4}'. L'operazione globale a esecuzione più prolungata emessa da questo utente ha richiesto {0} secondi. In genere, le operazioni globali sono costose, ma non sempre indicano un problema." P0="$iLatency" S3="%USER%" S4="%NAME%"/>

										<Rule Name="fLongLatencyTaskQUserKnown" Query="$fHighLatencyOp and ($. = 202)" Error="Warning" Sev="3" ReportIssue="Issue" Title="Attività 'TaskQ' a esecuzione prolungata" Text="I dati RPC di Exchange Server User Monitor (ExMon) indicano che l'utente '{3}' stava eseguendo un'operazione MAPI a esecuzione prolungata di tipo '{4}'. L'attività 'TaskQ' a esecuzione più prolungata emessa da questo utente ha richiesto {0} secondi. Se questa operazione viene rilevata insieme all'operazione MAPI 'QueryRows', può indicare che il client richiede un considerevole numero di elementi o di proprietà per ciascun elemento. È normale riscontrare un costo elevato e, sporadicamente, un'alta latenza in questa operazione in associazione con le operazioni 'MoveCopyMessages', 'DeleteMessages' o altre operazioni MAPI globali." P0="$iLatency" S3="%USER%" S4="%NAME%" GUID="cfe0ca1a-01dd-4949-91e7-db7b1391d73c"/>
									</Setting>
									<Rule Name="fAbnormalLongLatency" Query="$fLongLatencySaveChanges or $fLongLatencyFindRow or $fLongLatencyRestrict or $fLongLatencySetColumns or $fLongLatencyOtherOp or $fLongLatencySyncOp or $fLongLatencyOnlineOp" Error="Error" Sev="2" ReportIssue="Summary" Title="Operazioni MAPI ad alta latenza per l'utente '{0}'" Text="Alcune delle operazioni MAPI emesse dall'utente '{0}' hanno richiesto più di {1} secondi." S0="%USER%" S1="%varExMonLongLatency%" GUID="0a84ae72-c99d-4bcf-90e5-3233f009f28e"/>
									<Rule Name="fWarnAbnormalLongLatency" Query="$fLongLatencyBulkOp or $fLongLatencyTaskQUserKnown" Error="Warning" Sev="3" ReportIssue="Summary" Title="Operazioni MAPI ad alta latenza per l'utente '{0}'" Text="Alcune delle operazioni MAPI emesse dall'utente '{0}' hanno richiesto più di {1} secondi." S0="%USER%" S1="%varExMonLongLatency%" GUID="0a84ae72-c99d-4bcf-90e5-3233f009f28e"/>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="InvestigateDistributedProblem" Title="Attività degli utenti in base all'operazione MAPI" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%ETLFILE%" Substitution="ETLFILE" Display="Hide"/>
			<Setting Key1="%LISTOFUSERS%" Substitution="LISTOFUSERS" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Text="Attendere, lo strumento determina se il carico elevato è dovuto a operazioni RPC particolari" Title="Controlli attività RPC" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<!-- Goal 2, part 1: Determine if the high load is due to a particular operation. (ONLY if distributed) -->
				<Object Type="Group" Name="User Activity by MAPI Operation" Display="Hide">

					<Rule Name="fDisplayDistributedProblemStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szDistributedProblem" Query="'InvestigateDistributedProblem'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayExMonDistributedRPCAnalysis" Query="string(@Title)" Title="Risultati dell'analisi RPC ExMon del carico RPC distribuito">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szError4" Query="string(@Title)" Title="È stato identificato un possibile problema con l'attività RPC sul server."/>

					<Rule Query="if($fDistributedIssueFound,$szError4, string(@Title))" Title="Non sono stati riscontrati problemi noti con il carico RPC. Benché alcune operazioni RPC possano consumare notevoli risorse CPU, ciò non indica necessariamente un problema di prestazioni." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fDistributedIssueFound" Query="$fOddOpsFound or $fHighFailuresFound" Title="Rilevato possibile problema con l'attività RPC" Text="È stato identificato un possibile problema con l'attività RPC per alcune operazioni MAPI." Error="Error" ReportIssue="Summary" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
					<Rule Name="fNotIssueFound" Query="not($fDistributedIssueFound)" Title="Non sono stati rilevati problemi con l'attività RPC" Text="Non sono stati riscontrati problemi noti con il carico RPC. Benché alcune operazioni RPC possano consumare notevoli risorse CPU, ciò non indica necessariamente un problema di prestazioni." Error="None" ReportIssue="Summary"/>

					<Rule Name="fNoIssuesFound" Query="not($fOddOpsFound)" Text="Non sono stati rilevati problemi di prestazioni."/>

					<Object Type="ExMon" Name="RPC load by MAPI operation" Key1="" Key2="%ETLFILE%" Key3="Op" Key4="-cmsecCPU" Key5="5" Class="Operazione MAPI" GroupingClass="True">
						<Setting Key1="pctCPU">
							<Rule Name="iOpPercentCPU" Query="round($.*100) div 100"/>
							<Rule Name="fBadRPCOp" Query="$. &gt; 40"/>
						</Setting>
						<Setting Key1="__NAME" Substitution="NAME"/>
						<Setting Key1="__ROP">
							<Rule Name="szCPUOpUsageSummary" Query="$iOpPercentCPU &gt; 4" Text="Utilizzo CPU per operazione: {0}% nell'operazione MAPI &quot;{4}&quot;" P0="$iPercentCPU" S4="%NAME%"/>
							<Rule Name="fHighRestrictUsage" Query="$. = 20 and $fBadRPCOp" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che le limitazioni del client stanno causando un carico elevato sul server. Le limitazioni corrispondono al {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC. Tale condizione è prevista per un breve intervallo di tempo subito dopo aver spostato un numero elevato di cassette postali. Ricercare la causa se recentemente non è stata spostata alcuna cassetta postale." Title="Le limitazioni MAPI stanno causando un carico elevato sul server" P0="$iOpPercentCPU" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fHighFindRowUsage" Query="$. = 79 and $fBadRPCOp" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che le limitazioni del client stanno causando un carico elevato sul server. Le limitazioni FindRow corrispondono al {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC. La riduzione dei conteggi degli elementi per cartella può indurre una riduzione del costo delle operazioni FindRow." Title="Le limitazioni FindRow MAPI stanno causando un carico elevato sul server" P0="$iOpPercentCPU" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fHighSetColumnsUsage" Query="$. = 18 and $fBadRPCOp" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che i client stanno creando nuove visualizzazioni, causando un carico elevato sul server. Tale attività rappresenta il {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC." Title="SetColumns MAPI stanno causando un carico elevato sul server" P0="$iOpPercentCPU" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fBulkOp" Query="not($fBadRPCOp) and ($. = 30 or $. = 51 or $. = 102)" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che i client stanno eseguendo operazioni globali. Tali operazioni rappresentano il {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC." P0="$iOpPercentCPU" Error="None" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fSyncOp" Query="not($fBadRPCOp) and ($. = 30 or $. = 75 or $. = 78 or $. = 114 or $. = 116 or $. = 117 or $. = 118 or $. = 119 or $. = 120 or $. = 128)" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che i client stanno eseguendo operazioni di sincronizzazione. Per l'operazione MAPI &quot;{4}&quot; tali operazioni rappresentano il {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC." P0="$iOpPercentCPU" S4="%NAME%" Error="None" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOnlineOp" Query="not($fBadRPCOp) and ($. = 12 or $. = 3 or $. = 7 or $. = 10 or $. = 12 or $. = 20 or $. = 21 or $. = 23 or $. = 44 or $. = 79)" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che i client stanno eseguendo operazioni in linea. Per l'operazione MAPI &quot;{4}&quot; tali operazioni rappresentano il {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC." P0="$iOpPercentCPU" S4="%NAME%" Error="None" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOddBulkOp" Query="$fBadRPCOp and ($. = 30 or $. = 51 or $. = 102)" Text="I dati RPC Exchange Server User Monitor (ExMon) RPC indicano che i client stanno eseguendo operazioni globali costose. Tali operazioni potrebbero causare un carico significativo del server e di conseguenza rallentare le prestazioni degli altri utenti. Le operazioni globali per l'operazione MAPI &quot;{4}&quot; rappresentano il {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC." P0="$iOpPercentCPU" S4="%NAME%" Error="Error" Sev="1" Title="Operazioni RPC globali elevate" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOddSyncOp" Query="$fBadRPCOp and ($. = 30 or $. = 75 or $. = 78 or $. = 114 or $. = 116 or $. = 117 or $. = 118 or $. = 119 or $. = 120 or $. = 128)" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che i client stanno eseguendo operazioni di sincronizzazione. Per l'operazione MAPI &quot;{4}&quot; tali operazioni corrispondono al {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC." P0="$iOpPercentCPU" S4="%NAME%" Error="Error" Sev="1" Title="Operazioni di sincronizzazione RPC elevate" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOddOnlineOp" Query="$fBadRPCOp and ($. = 3 or $. = 7 or $. = 10 or $. = 12 or $. = 21 or $. = 23 or $. = 44)" Text="I dati RPC Exchange Server User Monitor (ExMon) indicano che i client stanno eseguendo operazioni in linea, che per l'operazione MAPI &quot;{4}&quot; corrispondono al {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC. Quando un singolo tipo di operazione MAPI è responsabile di una grande percentuale del carico, è probabile che l'utente stia eseguendo un'applicazione dalle scarse prestazioni" P0="$iOpPercentCPU" S4="%NAME%" Title="Operazioni RPC in linea elevate" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOtherTypeofOp" Query="$fBadRPCOp and not($fBulkOp or $fSyncOp or $fOnlineOp or $fOddBulkOp or $fOddSyncOp or $fOddOnlineOp) and not($. = 200 or $. = 201)" Title="Singolo tipo di operazione MAPI responsabile di una percentuale elevata del carico" Text="Le operazioni RPC relative all'operazione MAPI {4} corrispondono al {0}% dell'utilizzo del processore dedicato all'elaborazione delle richieste RPC. Quando un singolo tipo di operazione MAPI è responsabile di una percentuale elevata del carico, è probabile che l'utente stia eseguendo un'applicazione dalle scarse prestazioni." Error="Error" P0="$iOpPercentCPU" S4="%NAME%" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOddOpsFound" Query="$fOddSyncOp or $fOddOnlineOp or $fOddBulkOp"/>
						</Setting>
					</Object>

					<!-- Look for a large number of failures -->
					<Object Type="ExMon" Name="MAPI operation errors" Key1="" Key2="%ETLFILE%" Key3="Op" Key4="-cOpsFailed" Key5="5">
						<Setting Key1="cOps">
							<Rule Name="icOps" Query="$."/>
						</Setting>
						<Setting Key1="pctCPU">
							<Rule Name="iFailedCPU" Query="round($.*100) div 100"/>
							<Rule Name="fBadFailedRPCOp" Query="$. &gt; 20 and $icOps &gt; 0 and $. &gt; 20"/>
						</Setting>
						<Setting Key1="cOpsFailed">
							<Rule Name="szSummaryOfFailures" Query="$iFailedCPU &gt; 4" Text="{0}% dell'operazione MAPI &quot;{4}&quot; non eseguito correttamente. Il numero totale di errori per questa operazione è {2}." P0="round($. * 100 div $icOps)" P2="$." P4="$szExTopOpName"/>
							<Rule Name="fHighFailures" Query="$. &gt; 0.20 * $icOps and $fBadFailedRPCOp and not($szOpNumber = 2 or $szOpNumber = 3 or $szOpNumber = 43 or $szOpNumber = 79 or $szOpNumber = 86 or $szOpNumber = 97 or $szOpNumber = 120 or $szOpNumber = 254)" Title="Numero elevato di errori RPC" Text="È stato rilevato un numero elevato di errori RPC."/>
							<Rule Name="fReallyHighFailures" Query="$. &gt; 0.50 * $icOps and $fBadFailedRPCOp and not($szOpNumber = 120 or $szOpNumber = 97 or $szOpNumber = 79)" Title="Numero elevato di errori RPC" Text="È stato rilevato un numero elevato di errori RPC."/>
							<Rule Name="iOpsFailed" Query="$."/>
						</Setting>
						<Setting Key1="__ROP">
							<Rule Name="szOpNumber" Query="$."/>
						</Setting>
						<Setting Key1="__NAME">
							<Rule Name="szExTopOpName" Query="$."/>
						</Setting>
						<Rule Name="fHighFailuresFound" Query="count($fHighFailures) &gt; 0 or count($fReallyHighFailures) &gt; 0 "/>



						<!-- TODO report that nothing unusual was found. -->
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MiscBasicChecks" Title="Controlli tracce delle prestazioni" Display="Left">
		<Object Type="Variable" Key1="Scalar" Key2="%varDataAction%" Key3="%varMiscBasicChecksDataDoc%" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Text="Attendere. Verifica se l'analisi RegTrace o Store è in esecuzione su %SERVER% in corso..." Title="Controlli vari" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<!-- Add openmessage counts, event log checks here temporarily -->
				<Object Type="Group" Name="Performance Tracing Checks" Class="Area" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule Name="fDisplayMiscBasicCheckStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szMiscBasicChecks" Query="'MiscBasicChecks'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szRegTraceCheck" Query="string(@Title)" Title="Controllo traccia">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szError5" Query="string(@Title)" Title="È stato identificato un possibile problema con la traccia."/>
					<Rule Query="if($fRegTraceActiveEnabledTraces or $fEnableTracing,$szError5,string(@Title))" Title="Non è stato identificato alcun problema con la traccia." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Object Type="Registry" Key1="%SERVER%" Key3="Software\Microsoft\MosTrace\CurrentVersion\DebugAsyncTrace">
						<Setting Key1="EnabledTraces">
							<Rule Name="fRegTraceActiveEnabledTraces" Query="$.!=0" Error="Error" Sev="2" Title="RegTrace è abilitato" Text="RegTrace è attualmente abilitato sul server {2}. Dovrebbe essere abilitato solo durante la risoluzione dei problemi. Lasciare abilitata la traccia potrebbe causare problemi di prestazioni." S2="%SERVER%" GUID="90b3eb47-ad77-4ae4-87b0-8d8ac5b575fb" ReportIssue="Issue"/>
						</Setting>
					</Object>
					<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem">
						<Setting Key1="Enable Tracing">
							<Rule Name="fEnableTracing" Query="$.&gt;0" Error="Warning" Sev="2" Title="Traccia dell'archivio abilitata" Text="La traccia è stata abilitata per il processo di archiviazione sul server {2}. Ciò potrebbe influenzare negativamente le prestazioni." S2="%SERVER%" ReportIssue="Issue" GUID="f77ea24e-5482-4ce9-86a7-60bcd0d71614"/>
						</Setting>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MainPerfCounters" Title="Stato della memoria e del processore" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%iRPCOpRate%" Substitution="RPCOpRate" Display="Hide"/>
			<Setting Key1="%f3GB%" Substitution="f3GB" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%fExWinVer2003%" Substitution="fExWinVer2003" Display="Hide"/>
			<Setting Key1="%varNumProcs%" Substitution="varNumProcs" Display="Hide"/>
			<Setting Key1="%varClockSpeed%" Substitution="varClockSpeed" Display="Hide"/>
			<Setting Key1="%varIs64Bit%" Substitution="varIs64Bit" Display="Hide"/>
			<Setting Key1="%varIsExchange2000%" Substitution="varIsExchange2000" Display="Hide"/>
			<Setting Key1="%varIsExchange2003%" Substitution="varIsExchange2003" Display="Hide"/>
			<Setting Key1="%MailboxCount%" Substitution="MailboxCount" Display="Hide"/>

			<Object Type="Progress" Text="Attendere. Analisi dei dati sulle prestazioni del processore e della memoria su %SERVER% in corso. L'operazione richiede alcuni minuti." Title="Analisi dati sulle prestazioni del processore e della memoria" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Memory and Processor Health" Class="Area" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule Name="fDisplayMainPerfCountsStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szCorePerfCounts" Query="string(@Title)" Title="Risultati del contatore del processore e della memoria">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szMainPerfCounters" Query="'MainPerfCounters'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="fIssueFound" Query="$fProcessorBottleneckFound or $fMemoryBottleneckFound" AlwaysEvaluate="True"/>
					<Rule Name="fWarningFound" Query="$fWarnMemoryBottleneckFound or $fProcessorWarningFound" AlwaysEvaluate="True"/>
					<Rule Name="fErrorFound" Query="$fPerfCounterErrorFound" AlwaysEvaluate="True"/>

					<Rule Name="fProcessorBottleneckFound" Query="$fProcessorProblemFound" AlwaysEvaluate="True" Title="Rilevato collo di bottiglia del processore" Text="Sul server è stato rilevato un collo di bottiglia del processore." Error="Error" ReportIssue="Summary"/>
					<Rule Name="fHighProcessFound" Query="$fNoProcessorBottleneckGetProcess" AlwaysEvaluate="True" Title="Rilevato utilizzo intenso del processore non Exchange" Text="Benché sul server non venga rilevato un collo di bottiglia del processore, un processo non Exchange Server stava consumando una quantità significativa di CPU." Error="Warning" ReportIssue="Summary"/>
					<Rule Name="fMemoryBottleneckFound" Query="$fHMemoryProblemFound or $fKMemoryProblemFound or $fMemoryProblemFound or $fVMemoryProblemFound" AlwaysEvaluate="True" Title="Rilevato collo di bottiglia della memoria" Text="Sul server {0} è stato rilevato un collo di bottiglia della memoria." S0="%SERVER%" Error="Error" ReportIssue="Summary"/>
					<Rule Name="fWarnMemoryBottleneckFound" Query="$fKMemoryWarningFound and not($fMemoryBottleneckFound)" AlwaysEvaluate="True" Title="Rilevato possibile problema di memoria" Text="Un possibile problema di prestazioni con l'utilizzo della memoria è stato rilevato sul server {0}." S0="%SERVER%" Error="Warning" ReportIssue="Summary"/>
					<Rule Name="fWarnProcessorBottleneckFound" Query="$fProcessorWarningFound and not($fProcessorBottleneckFound)" Error="Warning" ReportIssue="Summary" Title="Rilevato problema del processore" Text="Sul server potrebbe essere presente un collo di bottiglia del processore; è stato rilevato un possibile problema di utilizzo del processore." AlwaysEvaluate="True"/>

					<Rule Name="fNoIssueFound" Query="not($fIssueFound) and not($fWarningFound) and not($fErrorFound)" Error="None" ReportIssue="Summary" Title="Non sono stati rilevati colli di bottiglia del processore o della memoria" Text="Non sono stati rilevati colli di bottiglia del processore o della memoria sul server {0}." S0="%SERVER%" AlwaysEvaluate="True"/>
					<Rule Name="fMemIssueText" Query="if($fMemoryBottleneckFound,string(@Title))" Title="Sul server è stato rilevato un collo di bottiglia della memoria."/>
					<Rule Name="fProcIssueText" Query="if($fProcessorBottleneckFound,string(@Title))" Title="Sul server è stato rilevato un collo di bottiglia del processore."/>

					<Rule Name="fProcessorBottleneckGetProcess" NextStep="GetHighestCPUProcess" Query="$fWarnProcessorBottleneckFound or $fProcessorBottleneckFound" Text="- Lo strumento esaminerà i processi che stanno consumando CPU." Display="Hide"/>
					<Rule Name="fNoProcessorBottleneckGetProcess" NextStep="GetHighestCPUProcess" Query="$fHighProcessUnaccountedAndNoBottleneck" Text="- Benché non siano stati rilevati colli di bottiglia del processore, lo strumento esaminerà i processi che stanno consumando quantità significative di CPU." Display="Hide"/>
					<Rule Query="if($fErrorFound,string(@Title),'')" Title="È stato rilevato un problema durante la raccolta dei contatori delle prestazioni." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>

					<!-- Set up the variable to say whether or not a processor problem was found -->
					<Rule Name="fFindProcessProblem" Query="$fProcessorBottleneckFound or $fWarnProcessorBottleneckFound" AlwaysEvaluate="True">
						<Variable Name="VARfProcessorProblem" Scope="Children"/>
					</Rule>

					<!-- First measure main system performance counters -->
					<Object Type="Cache" Name="Memory and Processor Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="Intervallo di tempo" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="Memory and Processor health during the time range: %szTIMERANGE%">

								<!--- Measure PROCESSOR health -->
								<Rule Name="iMCCPUPerRPCOP" Query="if(@S1 &gt; 0,$iProcessorPercentProcessorTimeTotalAvg * @S7 * @S2 div (100* @S1))" Text="Il numero medio di megacicli del processore richiesto per operazione RPC sul server è {3} MC/operazione RPC." S1="%RPCOpRate%" S2="%varNumProcs%" P3="round($iProcessorPercentProcessorTimeTotalAvg * '%varClockSpeed%' * @S2 div @S1) div 100" S7="%varClockSpeed%"/>

								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="Processor" Timeout="%1000">
									<Rule Name="fFailedToReadProcessorData" Query="not($iProcessorPercentProcessorTimeTotalAvg) and not($fProcessorDataNotInFile)" Error="Error" Title="Impossibile recuperare i dati del contatore delle prestazioni dal file" Text="Impossibile recuperare i dati del contatore delle prestazioni di processore e memoria dal file {0}. Si è verificato un errore non specificato durante la lettura del file." S0="%szPDHFILE%" AlwaysEvaluate="True"/>
									<Rule Name="fProcessorDataNotInFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="Errore durante l'accesso ai dati delle prestazioni del processore" Text="Uno o più contatori delle prestazioni non sono presenti nel file {1}. I seguenti contatori non sono disponibili: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>
									<Setting Key1="System" Key2="Context Switches/sec" Key3="" Format="Average">
										<Rule Name="iProcessorContextSwitchespersec" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="localize-path('System\Context Switches/sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total" Format="Average">
										<Rule Name="iProcessorPercentProcessorTimeTotalAvg" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Processor(_Total)\% Processor Time')" P9="roundto($.,1)"/>
									</Setting>
									<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total" Format="Max">
										<Rule Name="iProcessorProcessorTimeTotalMax" Query="ifnumber($.,roundto($.,1))" Text="Valore massimo di '{0}' = {9}." P0="localize-path('Processor(_Total)\% Processor Time')" P9="roundto($.,1)"/>
									</Setting>
									<Setting Key1="System" Key2="Processor Queue Length" Key3="" Format="Average">
										<Rule Name="iSystemProcessorQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="localize-path('System\Processor Queue Length')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="Idle" Format="Average">
										<Rule Name="iProcessIdleProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(Idle)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="_Total" Format="Average">
										<Rule Name="iProcessTotalProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(_Total)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>

									<Setting Key1="Process" Key2="% Processor Time" Key3="store" Format="Average">
										<Rule Name="iProcessStoreProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(store)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="inetinfo" Format="Average">
										<Rule Name="iProcessInetinfoProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(inetinfo)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="emsmta" Format="Average">
										<Rule Name="iProcessEmsmtaProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(emsmta)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="lsass" Format="Average">
										<Rule Name="iProcessLsassProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(lsass)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="mad" Format="Average">
										<Rule Name="iProcessMadProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(mad)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="System" Format="Average">
										<Rule Name="iProcessSystemProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(System)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="w3wp" Format="Average">
										<Rule Name="iProcessW3wpProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(w3wp)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="exmgmt" Format="Average">
										<Rule Name="iProcessExmgmtProcessorTime" Query="ifnumber($.,roundto($. div @S2,1))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Process(exmgmt)\% Processor Time')" S2="%varNumProcs%" P9="roundto($. div @S2,1)"/>
									</Setting>

									<Rule Name="fProcessorContextSwitchespersec20000" Query="ifnumber($iProcessorContextSwitchespersec,not($iProcessorContextSwitchespersec &lt; 20000))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni delle commutazioni di contesto processore" Text="Il valore medio di '{0}', {9}, è superiore al valore massimo consigliato {8}. Ciò indica che sul server è presente un collo di bottiglia del processore." P0="localize-path('System\Context Switches/sec')" S8="20000" P9="$iProcessorContextSwitchespersec" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessorProcessorTimeTotal90always" Query="ifnumber($iProcessorPercentProcessorTimeTotalAvg,not($iProcessorPercentProcessorTimeTotalAvg &lt; 90))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore" Text="Il valore medio di '{0}' deve essere sempre inferiore a {8}%. Il valore misurato è {9}% e indica la presenza di un collo di bottiglia del processore sul server." P0="localize-path('Processor(_Total)\% Processor Time')" S8="90" P9="round($iProcessorPercentProcessorTimeTotalAvg)" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessorProcessorTimeTotal70always" Query="ifnumber($iProcessorPercentProcessorTimeTotalAvg,not($iProcessorPercentProcessorTimeTotalAvg &lt; 70) and not($fProcessorProcessorTimeTotal90always))" Error="Warning" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni per utilizzo elevato del processore" Text="Il valore medio di '{0}' deve essere sempre inferiore a {8}% e idealmente essere in media inferiore a {7}%. Valore misurato: {9}%." P0="localize-path('Processor(_Total)\% Processor Time')" S7="70" S8="90" P9="round($iProcessorPercentProcessorTimeTotalAvg)" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fSystemProcessorQueueLength2" Query="ifnumber($iSystemProcessorQueueLength,ifnumber($iProcessorPercentProcessorTimeTotalAvg,not($iSystemProcessorQueueLength &lt; 2) and $iProcessorPercentProcessorTimeTotalAvg &gt; 50))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problemi di prestazioni della coda del processore" Text="Il valore medio di '{0}' deve essere inferiore a {8}. Il valore misurato è {9} e indica la presenza di un collo di bottiglia del processore sul server." P0="localize-path('System\Processor Queue Length')" S8="2" P9="$iSystemProcessorQueueLength" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessStoreProcessorTime90" Query="ifnumber($iProcessStoreProcessorTime,not($iProcessStoreProcessorTime &lt; 90))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore nel processo '{4}'" Text="Il valore medio di '{0}' deve essere inferiore a {8}%. Utilizzo effettivo misurato del processore: {9}%" P0="localize-path('Process(store)\% Processor time')" S4="store" S8="90" P9="$iProcessStoreProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessInetinfoProcessorTime20" Query="ifnumber($iProcessInetinfoProcessorTime,not($iProcessInetinfoProcessorTime &lt; 20 * @S2))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore processo '{4}'" Text="Il valore medio di '{0}' deve essere inferiore a {8}% su un server di back-end. Utilizzo effettivo misurato del processore: {9}%. Se il server è anche front-end, ciò può essere normale." P0="localize-path('Process(inetinfo)\% Processor time')" S2="%varNumProcs%" S4="inetinfo" P8="20*@S2" P9="$iProcessInetinfoProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessEmsmtaProcessorTime40" Query="ifnumber($iProcessEmsmtaProcessorTime,not($iProcessEmsmtaProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore processo '{4}'" Text="Il valore medio di '{0}' deve essere inferiore a {8}% su un server di back-end. Utilizzo effettivo misurato del processore: {9}%." P0="localize-path('Process(emsmta)\% Processor time')" S4="emsmta" S8="40" P9="$iProcessEmsmtaProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessSystemProcessorTime40" Query="ifnumber($iProcessSystemProcessorTime,not($iProcessSystemProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore processo '{4}'" Text="Il valore medio di '{0}' deve essere inferiore a {8}% su un server di back-end. Utilizzo effettivo misurato del processore: {9}%." P0="localize-path('Process(System)\% Processor time')" S4="System" S8="40" P9="$iProcessSystemProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessLsassProcessorTime40" Query="ifnumber($iProcessLsassProcessorTime,not($iProcessLsassProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore processo '{4}'" Text="'{0}' deve essere inferiore a {8}% su un server di back-end. Utilizzo effettivo misurato del processore: {9}%." P0="localize-path('Process(lsass)\% Processor time')" S4="lsass" S8="40" P9="$iProcessLsassProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessMadProcessorTime40" Query="ifnumber($iProcessMadProcessorTime,not($iProcessMadProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore processo '{4}'" Text="'{0}' deve essere inferiore a {8}% su un server di back-end. Utilizzo effettivo misurato del processore: {9}%." P0="localize-path('Process(mad)\% Processor time')" S4="mad" S8="40" P9="$iProcessMadProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
									<Rule Name="fProcessExmgmtProcessorTime20" Query="ifnumber($iProcessExmgmtProcessorTime,not($iProcessExmgmtProcessorTime &lt; 20))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore processo '{4}'" Text="'{0}' deve essere inferiore a {8}% su un server di back-end. Utilizzo effettivo misurato del processore: {9}%." P0="localize-path('Process(exmgmt)\% Processor time')" S4="exmgmt" S8="20" P9="$iProcessExmgmtProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessW3wpProcessorTime40" Query="ifnumber($iProcessW3wpProcessorTime,not($iProcessW3wpProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del processore processo '{4}'" Text="'{0}' deve essere inferiore a {8}% su un server di back-end. Utilizzo effettivo misurato del processore: {9}%. Se il server funziona anche come server di front-end, un utilizzo superiore del processore è normale." P0="localize-path('Process(w3wp)\% Processor time')" S4="w3wp" S8="40" P9="$iProcessW3wpProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
									<Rule Name="iProcessUnaccounted" Query="round($iProcessTotalProcessorTime - $iProcessIdleProcessorTime - $iProcessStoreProcessorTime - $iProcessInetinfoProcessorTime - $iProcessEmsmtaProcessorTime - $iProcessLsassProcessorTime - $iProcessMadProcessorTime - $iProcessW3wpProcessorTime - $iProcessExmgmtProcessorTime)" Text="{1}% del tempo processore è impiegato in processi diversi dai processi store.exe, inetinfo.exe, emsmta.exe, lsass.exe, w3wp.exe, exmgmt.exe o mad.exe." P1="round($iProcessTotalProcessorTime - $iProcessIdleProcessorTime - $iProcessStoreProcessorTime - $iProcessInetinfoProcessorTime - $iProcessEmsmtaProcessorTime - $iProcessLsassProcessorTime - $iProcessMadProcessorTime - $iProcessW3wpProcessorTime - $iProcessExmgmtProcessorTime)"/>
									<Rule Name="fHighProcessUnaccounted" Query="$iProcessUnaccounted &gt; 0.35* $iProcessTotalProcessorTime" AlwaysEvaluate="True"/>
									<Rule Name="fHighProcessUnaccountedAndBottleneck" Query="($fWarnProcessorBottleneckFound or $fProcessorBottleneckFound) and $iProcessUnaccounted &gt; 0.35* $iProcessTotalProcessorTime" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevato tempo processore non considerato" Text="La quantità di tempo del processore non utilizzata per i processi store.exe, inetinfo.exe, emsmta.exe, lsass.exe, w3wp.exe o mad.exe è superiore al 35%. Valore '{0}' non calcolato da questi processi: {1}%." P0="localize-path('Process\% Processor time')" P1="$iProcessUnaccounted" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7" AlwaysEvaluate="True"/>
									<Rule Name="fHighProcessUnaccountedAndNoBottleneck" Query="$fHighProcessUnaccounted and not($fWarnProcessorBottleneckFound or $fProcessorBottleneckFound)" AlwaysEvaluate="True"/>
									<Rule Name="fModeratelyHighProcessUnaccountedAndBottleneck" Query="($fWarnProcessorBottleneckFound or $fProcessorBottleneckFound) and $iProcessUnaccounted &gt; 0.20 * $iProcessTotalProcessorTime and not($fHighProcessUnaccountedAndBottleneck)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Tempo processore non considerato" Text="La quantità di tempo del processore non utilizzata per i processi store.exe, inetinfo.exe, emsmta.exe, lsass.exe, w3wp.exe o mad.exe è superiore al 35%. Valore '{0}' non calcolato da questi processi: {1}%. Si consiglia di esaminare gli altri processi che utilizzano tempo CPU del server." P0="localize-path('Process\% Processor time')" P1="$iProcessUnaccounted" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7" AlwaysEvaluate="True"/>
									<Rule Name="fWarnNonStoreProcessUnaccountedAndBottleneck" Query="$fWarnProcessorBottleneckFound and $iProcessStoreProcessorTime &lt; 0.70* $iProcessTotalProcessorTime and $iProcessStoreProcessorTime &gt; 0.30* $iProcessTotalProcessorTime and not($fHighProcessUnaccountedAndBottleneck)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Utilizzo processore inferiore a {8}% nei processi di Exchange" Text="È presente un collo di bottiglia del processore e una percentuale inferiore a {8}% del tempo del processore è impiegata nel processo store.exe di Exchange. Si consiglia di esaminare gli altri processi che utilizzano tempo CPU del server." S8="70" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7" AlwaysEvaluate="True"/>
									<Rule Name="fNonStoreProcessUnaccountedAndBottleneck" Query="$fProcessorBottleneckFound and $iProcessStoreProcessorTime &lt; 0.70* $iProcessTotalProcessorTime and $iProcessStoreProcessorTime &gt; 0.40* $iProcessTotalProcessorTime" Error="Error" Sev="1" ReportIssue="Issue" Title="Tempo processore non considerato" Text="È presente un collo di bottiglia del processore e una percentuale inferiore a {8}% del tempo del processore è impiegata nel processo store.exe di Exchange. Si consiglia di esaminare gli altri processi che utilizzano tempo CPU del server." S8="70" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7" AlwaysEvaluate="True"/>

									<Rule Name="fProcessorProblemFound" Query="$fProcessorContextSwitchespersec20000 or $fProcessorProcessorTimeTotal90always or $fSystemProcessorQueueLength2 or $fProcessStoreProcessorTime90 or $fProcessInetinfoProcessorTime20 or $fProcessEmsmtaProcessorTime40 or $fProcessSystemProcessorTime40 or $fProcessLsassProcessorTime40 or $fProcessMadProcessorTime40 or $fProcessExmgmtProcessorTime20 or $fProcessW3wpProcessorTime40" AlwaysEvaluate="True"/>
									<Rule Name="fProcessorWarningFound" Query="$fProcessorProcessorTimeTotal70always" AlwaysEvaluate="True"/>
								</Object>

								<Object Type="If" Name="32 Bit Memory Health" Key1="not('%varIs64Bit%'='1')">

									<!--- Measure USER MEMORY health -->
									<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="Memory" Timeout="%1000">
										<Rule Name="fUserMemoryDataNotInFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore durante l'accesso ai dati sulle prestazioni dei processi" Text="Uno o più contatori di memoria non presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
										<Setting Key1="Process" Key2="Private Bytes" Key3="store" Format="Average">
											<Rule Name="fProcessStorePrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore medio di '{0}' = {9} MB." P0="localize-path('Process(store)\Private Bytes')" P9="round($. div 1048576)"/>
										</Setting>
										<Setting Key1="Process" Key2="Private Bytes" Key3="inetinfo" Format="Average">
											<Rule Name="fProcessInetinfoPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore medio di '{0}' = {9} MB." P0="localize-path('Process(inetinfo)\Private Bytes')" P9="round($. div 1048576)"/>
										</Setting>
										<Setting Key1="Process" Key2="Private Bytes" Key3="emsmta" Format="Average">
											<Rule Name="fProcessEmsmtaPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore medio di '{0}' = {9} MB." P0="localize-path('Process(emsmta)\Private Bytes')" P9="round($. div 1048576)"/>
										</Setting>
										<Setting Key1="Process" Key2="Private Bytes" Key3="System" Format="Average">
											<Rule Name="fProcessSystemPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore medio di '{0}' = {9} MB." P0="localize-path('Process(System)\Private Bytes')" P9="roundto($. div 1048576,2)"/>
										</Setting>
										<Setting Key1="Process" Key2="Private Bytes" Key3="lsass" Format="Average">
											<Rule Name="fProcessLsassPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore medio di '{0}' = {9} MB." P0="localize-path('Process(lsass)\Private Bytes')" P9="roundto($. div 1048576,2)"/>
										</Setting>
										<Setting Key1="Process" Key2="Private Bytes" Key3="mad" Format="Average">
											<Rule Name="fProcessMadPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore medio di '{0}' = {9} MB." P0="localize-path('Process(mad)\Private Bytes')" P9="round($. div 1048576)"/>
										</Setting>
										<Object Type="If" Name="Check database cache for 2000/2003 servers" Key1="('%varIsExchange2000%'='1' or '%varIsExchange2003%'='1')">
											<Setting Key1="Database" Key2="Database Cache Size" Key3="Information Store" Format="Max">
												<Rule Name="iDBCacheSizeMax" Query="ifnumber($.,round($. div 1048576))" Error="None" Sev="1" Text="Valore massimo di '{0}' = {9} MB." P0="localize-path('Database(Information Store)\Database Cache Size')" P1="round($. div 1048576)"/>
											</Setting>
										</Object>
										<Setting Key1="Memory" Key2="Available MBytes" Key3="" Format="Average">
											<Rule Name="iMemoryAvailableMbytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore medio di '{0}' = {9} MB." P0="localize-path('Memory\Available MBytes')" P9="round($.)"/>
										</Setting>
										<Setting Key1="Memory" Key2="Pages/sec" Key3="" Format="Average">
											<Rule Name="iMemoryPagessec" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore medio di '{0}' = {9} MB." P0="localize-path('Memory\Pages/sec')" P9="round($.)"/>
										</Setting>

										<Rule Name="fDBCacheSizeMaxError" Query="$iDBCacheSizeMax &gt; 1.2 * 1024" Error="Error" Sev="1" ReportIssue="Issue" Title="Dimensioni cache database superiori al valore massimo raccomandato" Text="Le dimensioni della cache del database sono {1} MB e superano il valore massimo consigliato di 1,2 GB." P1="$iDBCacheSizeMax" GUID="6a524cbf-f4a2-441d-90e5-987ffea42e80"/>
										<Rule Name="fMemoryAvailableMbytes50MB" Query="not($iMemoryAvailableMbytes &gt; 50)" Error="Error" Sev="1" ReportIssue="Issue" Title="Memoria utente: memoria disponibile insufficiente" Text="Memoria: il valore medio di '{0}' deve essere superiore a {6} MB. Valore misurato: {9}." P0="localize-path('Memory\Available MBytes')" S6="50" P9="round($iMemoryAvailableMbytes)" GUID="b29197b9-b206-4622-bfd6-92d9892e83fa"/>
										<Rule Name="fMemoryPagessec1000" Query="not($iMemoryPagessec &lt; 1000)" Error="Error" Sev="1" ReportIssue="Issue" Title="Memoria utente: pagine elevate al secondo" Text="Il valore medio di '{0}' deve essere inferiore a {6}. Valore misurato: {9}." P0="localize-path('Memory\Pages/sec')" S6="1000" P9="round($iMemoryPagessec)" GUID="b29197b9-b206-4622-bfd6-92d9892e83fa"/>
										<Rule Name="fMemoryProblemFound" Query="$fDBCacheSizeMaxError or $fMemoryAvailableMbytes50MB or $fMemoryPagessec1000" AlwaysEvaluate="True"/>

									</Object>

									<!--- Measure KERNEL MEMORY health -->
									<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="KernelMemory" Timeout="%1000">
										<Rule Name="fKernelMemoryDataNotInFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore durante l'accesso ai dati sulle prestazioni della memoria del kernel" Text="Uno o più contatori delle prestazioni non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
										<Setting Key1="Memory" Key2="Pool Nonpaged Bytes" Key3="" Format="Max">
											<Rule Name="iMemoryPoolNonpagedBytes" Query="ifnumber($.,round($.))" Text="Valore massimo di '{0}' = {9} MB." P0="localize-path('Memory\Pool Nonpaged Bytes')" P9="roundto($. div 1048576,2)"/>
										</Setting>
										<Setting Key1="Memory" Key2="Pool Paged Bytes" Key3="" Format="Max">
											<Rule Name="iMemoryPoolPagedBytes" Query="ifnumber($.,round($.))" Text="Valore massimo di '{0}' = {9} MB." P0="localize-path('Memory\Pool Paged Bytes')" P9="roundto($. div 1048576,2)"/>
										</Setting>
										<Setting Key1="Memory" Key2="Free System Page Table Entries" Key3="" Format="Max">
											<Rule Name="iMemoryFreeSystemPageTableEntries" Query="ifnumber($.,round($.))" Text="Valore massimo di '{0}' = {9} MB." P0="localize-path('Memory\Free System Page Table Entries')" P9="$."/>
										</Setting>
										<!-- NON PAGED POOL BYTES WARNING RULES -->
										<Rule Name="fPoolNonPaged3GBWarning" Query="(@S4) and ($iMemoryPoolNonpagedBytes div 1048576) &gt;99 and not($fPoolNonPaged3GBError)" Error="Warning" Sev="3" ReportIssue="Issue" Title="Memoria del pool non di paging" Text="La memoria massima del pool non di paging sul server {2} è superiore alla soglia di avviso di {8} MB. Il sistema potrebbe diventare instabile. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S8="100" P9="round($iMemoryPoolNonpagedBytes div 1048576)" GUID="3a16435d-462e-4e48-b59d-f983dd3f2cf0"/>
										<Rule Name="fPoolNonPaged2GBWarning" Query="(not (@S4)) and ($iMemoryPoolNonpagedBytes div 1048576) &gt;199 and not($fPoolNonPaged2GBError)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Avviso di memoria del pool non di paging" Text="La memoria massima del pool non di paging sul server {2} è superiore alla soglia di avviso di {8} MB. Il sistema potrebbe diventare instabile. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S8="200" P9="round($iMemoryPoolNonpagedBytes div 1048576)" GUID="3a16435d-462e-4e48-b59d-f983dd3f2cf0"/>

										<!-- NON PAGED POOL BYTES ERRORS RULES -->
										<Rule Name="fPoolNonPaged3GBError" Query="(@S4='1') and ($iMemoryPoolNonpagedBytes div 1048576) &gt;109" Error="Error" Sev="3" ReportIssue="Issue" Title="Memoria del pool non di paging" Text="La memoria massima del pool non di paging sul server {2} è superiore alla soglia di errore di {8} MB. Il sistema potrebbe diventare instabile. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S8="110" P9="round($iMemoryPoolNonpagedBytes div 1048576)" GUID="ba2ae55a-6bae-4d38-881b-696e7f255b4f"/>
										<Rule Name="fPoolNonPaged2GBError" Query="(not (@S4)) and ($iMemoryPoolNonpagedBytes div 1048576) &gt;219" Error="Error" Sev="2" ReportIssue="Issue" Title="Errore di memoria del pool non di paging" Text="La memoria massima del pool non di paging sul server {2} è superiore alla soglia di errore di {8} MB. Il sistema potrebbe diventare instabile. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S8="220" P9="round($iMemoryPoolNonpagedBytes div 1048576)" GUID="ba2ae55a-6bae-4d38-881b-696e7f255b4f"/>

										<!-- PAGED POOL BYTES WARNING RULES -->
										<Rule Name="fPoolPaged3GBW2k3Warning" Query="(@S4 and @S5) and ($iMemoryPoolPagedBytes div 1048576) &gt;199 and not($fPoolPaged3GBW2k3Error)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Memoria del pool di paging" Text="La memoria massima del pool di paging sul server {2} è superiore alla soglia di avviso di {8} MB. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="200" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
										<Rule Name="fPoolPaged2GBW2k3Warning" Query="(not (@S4) and @S5) and ($iMemoryPoolPagedBytes div 1048576) &gt;299 and not($fPoolPaged2GBW2k3Error)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Avviso di memoria del pool di paging" Text="La memoria massima del pool di paging sul server {2} è superiore alla soglia di avviso di {8} MB. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="300" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
										<Rule Name="fPoolPaged3GBWarning" Query="(@S4 and not (@S5)) and ($iMemoryPoolPagedBytes div 1048576) &gt;179 and not($fPoolPaged3GBError)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Memoria del pool di paging" Text="La memoria massima del pool di paging sul server {2} è superiore alla soglia di avviso di {8} MB. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="180" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
										<Rule Name="fPoolPaged2GBWarning" Query="(not (@S4) and not (@S5)) and ($iMemoryPoolPagedBytes div 1048576) &gt;179 and not($fPoolPaged2GBError)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Avviso di memoria del pool di paging" Text="La memoria massima del pool di paging sul server {2} è superiore alla soglia di avviso di {8} MB. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="180" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>

										<!-- PAGED POOL BYTES ERROR RULES -->
										<Rule Name="fPoolPaged3GBW2k3Error" Query="(@S4 and @S5) and ($iMemoryPoolPagedBytes div 1048576) &gt;219" Error="Error" Sev="2" ReportIssue="Issue" Title="Memoria del pool di paging" Text="La memoria del pool di paging sul server {2} è superiore alla soglia di errore di {8} MB. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="220" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
										<Rule Name="fPoolPaged2GBW2k3Error" Query="(not (@S4) and @S5) and ($iMemoryPoolPagedBytes div 1048576) &gt;329" Error="Error" Sev="2" ReportIssue="Issue" Title="Errore di memoria del pool di paging" Text="La memoria del pool di paging sul server {2} è superiore alla soglia di errore di {8} MB. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="330" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
										<Rule Name="fPoolPaged3GBError" Query="(@S4 and not (@S5)) and ($iMemoryPoolPagedBytes div 1048576) &gt;199" Error="Error" Sev="2" ReportIssue="Issue" Title="Memoria del pool di paging" Text="La memoria del pool di paging sul server {2} è superiore alla soglia di errore di {8} MB. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="200" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
										<Rule Name="fPoolPaged2GBError" Query="(not (@S4) and not (@S5)) and ($iMemoryPoolPagedBytes div 1048576) &gt;199" Error="Error" Sev="2" ReportIssue="Issue" Title="Errore di memoria del pool di paging" Text="La memoria del pool di paging sul server {2} è superiore alla soglia di errore di {8} MB. Valore corrente: {9} MB." S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="200" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>

										<Rule Name="fMemoryFreeSystemPageTableEntries5000" Query="not($iMemoryFreeSystemPageTableEntries &gt; 5000)" Error="Error" Sev="1" ReportIssue="Issue" Title="Numero critico voci tabella pagine" Text="Le voci libere della tabella pagine (PTE) hanno raggiunto la soglia critica. Il sistema potrebbe diventare instabile. Il numero di voci libere della tabella pagine di sistema in memoria deve essere superiore a 5000. Il valore misurato delle voci libere della tabella pagine di sistema in memoria è {1}." P1="round($iMemoryFreeSystemPageTableEntries)" GUID="67920b35-5e5a-41b2-a118-8016b5149cef"/>
										<Rule Name="fMemoryFreeSystemPageTableEntries8000" Query="not($iMemoryFreeSystemPageTableEntries &gt; 8000) and $iMemoryFreeSystemPageTableEntries &gt; 5000" Error="Error" Sev="1" ReportIssue="Issue" Title="Voci tabella pagine insufficienti" Text="Le voci libere della tabella pagine (PTE) hanno raggiunto la soglia critica. Il sistema potrebbe diventare instabile. Il numero di voci libere della tabella pagine di sistema in memoria deve essere superiore a 8000. Il valore misurato delle voci libere della tabella pagine di sistema in memoria è {1}." P1="round($iMemoryFreeSystemPageTableEntries)" GUID="36e04508-7cd5-44e6-a6b5-551c4b98613c"/>
										<Rule Name="fKMemoryProblemFound" Query="$fPoolNonPaged3GBError or $fPoolNonPaged2GBError or $fPoolPaged3GBW2k3Error or $fPoolPaged2GBW2k3Error or $fPoolPaged3GBError or $fPoolPaged2GBError or $fMemoryFreeSystemPageTableEntries5000" AlwaysEvaluate="True"/>
										<Rule Name="fKMemoryWarningFound" Query="$fPoolNonPaged3GBWarning or $fPoolNonPaged2GBWarning or $fPoolPaged3GBW2k3Warning or $fPoolPaged2GBW2k3Warning or $fPoolPaged3GBWarning or $fPoolPaged2GBWarning or $fMemoryFreeSystemPageTableEntries8000" AlwaysEvaluate="True"/>
									</Object>
							
									<!--- Measure VIRTUAL MEMORY health -->
									<Object Type="If" Name="VM Health" Key1="%MailboxCount% &gt; 0">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="VirtualMemory" Timeout="%1000">
											<Setting Key1="MSExchangeIS" Key2="VM Largest Block Size" Key3="" Format="Min">
												<Rule Name="iMSExchangeISVMLargestBlockSize" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore minimo di '{0}' = {9} MB." P0="localize-path('MSExchangeIS\VM Largest Block Size')" P9="roundto($. div 1048576,2)"/>
											</Setting>
											<Setting Key1="MSExchangeIS" Key2="VM Total 16MB Free Blocks" Key3="" Format="Min">
												<Rule Name="iMSExchangeISVMTotal16MBFreeBlocks" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore minimo di '{0}' = {9} MB." P0="localize-path('MSExchangeIS\VM Total 16 MB Free Blocks')" P9="$."/>
											</Setting>
											<Setting Key1="MSExchangeIS" Key2="VM Total Free Blocks" Key3="" Format="Min">
												<Rule Name="iMSExchangeISVMTotalFreeBlocks" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore minimo di '{0}' = {9} MB." P0="localize-path('MSExchangeIS\VM Total Free Blocks')" P9="$."/>
											</Setting>
											<Setting Key1="MSExchangeIS" Key2="VM Total Large Free Block Bytes" Key3="" Format="Min">
												<Rule Name="iMSExchangeISVMTotalLargeFreeBlockBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="Valore minimo di '{0}' = {9} MB." P0="localize-path('MSExchangeIS\VM Total Large Free Block Bytes')" P9="roundto($. div 1048576,2)"/>
											</Setting>

											<Rule Name="fMSExchangeISVMLargestBlockSize32MB" Query="not($iMSExchangeISVMLargestBlockSize &gt; 32* 1048576)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema della memoria virtuale: '{0}' sotto la soglia" Text="Il valore minimo di '{0}' deve essere superiore a {8} MB. Valore misurato: {9} MB." P0="localize-path('MSExchangeIS\VM Largest Block Size')" S8="32" P9="roundto($iMSExchangeISVMLargestBlockSize div 1048576,3)" GUID="268a3b3f-e683-4c97-b256-bd0d43f79131"/>

											<Rule Name="fMSExchangeISVMTotal16MBFreeBlocks1" Query="not($iMSExchangeISVMTotal16MBFreeBlocks &gt; 0)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema della memoria virtuale: '{0}' sotto la soglia" Text="Il valore minimo di '{0}' deve essere sempre uguale o maggiore di uno. Valore misurato: {9}." P0="localize-path('MSExchangeIS\VM Total 16 MB Free Blocks')" P9="$iMSExchangeISVMTotal16MBFreeBlocks" GUID="268a3b3f-e683-4c97-b256-bd0d43f79131"/>

											<Rule Name="fMSExchangeISVMTotalFreeBlocks1" Query="not($iMSExchangeISVMTotalFreeBlocks &gt; 0)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema della memoria virtuale: '{0}' sotto la soglia" Text="Il valore minimo di '{0}' deve essere sempre uguale o maggiore di uno. Valore misurato: {9}." P0="localize-path('MSExchangeIS\VM Total Free Blocks')" P9="$iMSExchangeISVMTotal16MBFreeBlocks" GUID="268a3b3f-e683-4c97-b256-bd0d43f79131"/>

											<Rule Name="fMSExchangeISVMTotalLargeFreeBlockBytes50MB" Query="not($iMSExchangeISVMTotalLargeFreeBlockBytes &gt; 50* 1048576)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema della memoria virtuale: '{0}' sotto la soglia" Text="Valore minimo di '{0}' inferiore a {8}. Valore misurato: {9} MB." P0="localize-path('MSExchangeIS\VM Total Large Free Block Bytes')" S8="50" P9="roundto($iMSExchangeISVMTotalLargeFreeBlockBytes div 1048576,3)" GUID="268a3b3f-e683-4c97-b256-bd0d43f79131"/>

											<Rule Name="fVMemoryProblemFound" Query="$fMSExchangeISVMLargestBlockSize32MB or $fMSExchangeISVMTotal16MBFreeBlocks1 or $fMSExchangeISVMTotalFreeBlocks1 or $fMSExchangeISVMTotalLargeFreeBlockBytes50MB" AlwaysEvaluate="True"/>

											<Rule Name="fNoEMSMTA" Query="contains(../Exception/@Message,'Process(emsmta)') and (contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4'))"/>

											<Rule Name="fErrorAccessingPerformanceCounters1" Query="../Exception and $fNoEMSMTA and not($fErrorAccessingPerformanceCounters2 or $fErrorAccessingPerformanceCountersBB8 or $fErrorAccessingSomeCounters or $fMemProcEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni del processore e della memoria" Text="Errore durante l'accesso al contatore delle prestazioni. {1}." P1="../Exception/@Message" AlwaysEvaluate="True"/>
											<Rule Name="fErrorAccessingPerformanceCounters2" Query="../Exception and $fNoEMSMTA and not($fErrorAccessingPerformanceCountersBB8 or $fErrorAccessingSomeCounters or $fMemProcEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni del processore e della memoria" Text="Errore durante l'accesso al contatore delle prestazioni {2}. {1}." P1="../Exception/@Message" P2="../Exception/@Path"/>
											<Rule Name="fErrorAccessingSomeCounters" Query="contains(../Exception/@Message,'0xc0000bdb')" Error="Error" Sev="1" Title="Errore durante l'accesso ai contatori delle prestazioni della memoria virtuale" Text="L'accesso utente corrente potrebbe non disporre delle autorizzazioni sufficienti per accedere al contatore delle prestazioni {2}. {1}." P1="../Exception/@Message" P2="../Exception/@Path"/>
											<Rule Name="fErrorAccessingPerformanceCountersBB8" Query="contains(../Exception/@Message,'0xc0000bb8')" Error="Error" Sev="2" Title="Errore durante l'accesso ai contatori delle prestazioni della memoria virtuale" Text="Impossibile accedere ai dati sulle prestazioni del contatore {2}. {1}" P1="../Exception/@Message" P2="../Exception/@Path"/>
											<Rule Name="fPerfCounterErrorFound" Query="../Exception or $fFailedToReadProcessorData" AlwaysEvaluate="True"/>
											<Rule Name="fMemProcEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore durante l'accesso ai dati sulle prestazioni della memoria virtuale" Text="Uno o più contatori delle prestazioni della memoria virtuale non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
										</Object>
									</Object>

									<!--- Measure HEAP MEMORY health -->
									<Object Type="If" Name="E2003 Counters" Key1="%varIsExchange2003%">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="HeapMemory" Timeout="%1000">
											<Setting Key1="MSExchangeIS" Key2="Exchmem: Number of heaps with memory errors" Key3="" Format="Average">
												<Rule Name="iMSExchangeISExchmemNumberofHeapsWithMemoryErrors" Query="ifnumber($.,$.)" Error="None" Text="Valore medio di '{0}' = {9}." P0="localize-path('MSExchangeIS\Exchmem: Number of heaps with memory errors')" P9="$."/>
											</Setting>
											<Setting Key1="MSExchangeIS" Key2="Exchmem: Number of memory errors" Key3="" Format="Average">
												<Rule Name="iMSExchangeISExchmemNumberofmemoryerrors" Query="ifnumber($.,$.)" Error="None" Text="Valore medio di '{0}' = {9}." P0="localize-path('MSExchangeIS\Exchmem: Number of memory errors')" P9="$."/>
											</Setting>
											<Setting Key1="MSExchangeIS" Key2="Exchmem: Number of Additional Heaps" Key3="" Format="Average">
												<Rule Name="iMSExchangeISExchmemNumberofAdditionalHeaps" Query="ifnumber($.,$.)" Error="None" Text="Valore medio di '{0}' = {9}." P0="localize-path('MSExchangeIS\Exchmem: Number of Additional Heaps')" P9="$."/>
											</Setting>
											<Rule Name="fMSExchangeISExchmemNumberofHeapsWithMemoryErrors0" Query="$iMSExchangeISExchmemNumberofHeapsWithMemoryErrors &gt; 5" Error="None" Sev="1" Title="Errore memoria virtuale - Heap con errori di memoria" Text="'{0}' deve essere 0. Numero misurato: {9}." P0="localize-path('MSExchangeIS\Exchmem: Number of heaps with memory errors')" P9="$iMSExchangeISExchmemNumberofHeapsWithMemoryErrors" GUID="74a9c209-6259-4433-80cf-da90d470846c"/>
											<Rule Name="fMSExchangeISExchmemNumberofmemoryerrors0Warn" Query="$iMSExchangeISExchmemNumberofHeapsWithMemoryErrors &gt; 0 and not($fMSExchangeISExchmemNumberofHeapsWithMemoryErrors0)" Error="None" Title="Errore memoria virtuale - Errori di memoria" Text="'{0}' deve essere 0. Numero misurato: {9}." P0="localize-path('MSExchangeIS\Exchmem: Number of memory errors')" P9="$iMSExchangeISExchmemNumberofmemoryerrors" GUID="74a9c209-6259-4433-80cf-da90d470846c"/>
											<Rule Name="fMSExchangeISExchmemNumberofmemoryerrors500" Query="$iMSExchangeISExchmemNumberofmemoryerrors &gt; 500" Error="None" Sev="1" Title="Errore memoria virtuale - Errori di memoria" Text="'{0}' deve essere 0. Numero misurato: {9}." P0="localize-path('MSExchangeIS\Exchmem: Number of memory errors')" P9="$iMSExchangeISExchmemNumberofmemoryerrors" GUID="74a9c209-6259-4433-80cf-da90d470846c"/>
											<Rule Name="fMSExchangeISExchmemNumberofAdditionalHeaps4" Query="not($iMSExchangeISExchmemNumberofAdditionalHeaps &lt; 4)" Error="Error" Sev="1" ReportIssue="Issue" Title="Errore memoria virtuale" Text="Il valore '{0}' non deve essere superiore a {8}. Valore misurato: {9}." P0="localize-path('MSExchangeIS\Exchmem: Number of Additional Heaps')" S8="4" P9="$iMSExchangeISExchmemNumberofAdditionalHeaps" GUID="74a9c209-6259-4433-80cf-da90d470846c"/>

											<Rule Name="fHMErrorAccessingPerformanceCounters" Query="../Exception and not($fBB8ErrorAccessingHMPerformanceCounters or $fHMEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore durante l'accesso ai dati sulle prestazioni della memoria heap" Text="Errore durante l'accesso ai contatori delle prestazioni della memoria heap. {1}." P1="../Exception/@Message"/>
											<Rule Name="fHMERRORAccessingSomeCounters" Query="contains(../Exception/@Message,'0xc0000bdb')" Error="Error" Sev="1" Title="Errore durante l'accesso ai dati sulle prestazioni della memoria heap" Text="L'accesso utente corrente potrebbe non disporre delle autorizzazioni sufficienti per accedere ai contatori delle prestazioni. {1}." P1="../Exception/@Message"/>
											<Rule Name="fBB8ErrorAccessingHMPerformanceCounters" Query="contains(../Exception/@Message,'0xc0000bb8')" Error="None" Sev="2" Title="Errore durante l'accesso ai dati sulle prestazioni della memoria heap" Text="Si è verificato un errore durante l'accesso ai contatori delle prestazioni della memoria heap per il processo di archiviazione sul server {0}. Il server potrebbe non essere un server Exchange oppure il processo store.exe potrebbe non essere avviato." S0="%SERVER%"/>
											<Rule Name="fHMEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore durante l'accesso ai dati sulle prestazioni della memoria heap" Text="Uno o più contatori delle prestazioni non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
											<Rule Name="fHMemoryErrorFound" Query="$fHMErrorAccessingPerformanceCounters or $fHMERRORAccessingSomeCounters or $fBB8ErrorAccessingHMPerformanceCounters" AlwaysEvaluate="True"/>
											<Rule Name="fHMemoryProblemFound" Query="$fMSExchangeISExchmemNumberofAdditionalHeaps4" AlwaysEvaluate="True"/>
											<Rule Name="fHMemoryWarningFound" Query="$fHMEntryNotInLogFile" AlwaysEvaluate="True"/>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="BasicDiskData" Title="Dati unità disco" Display="Left">
		<Object Type="Variable" Key1="Scalar" Key2="%varDataAction%" Key3="%varBasicDiskDataDataDoc%" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Text="Attendere, lo strumento raccoglie i dati di configurazione dell'unità disco per %SERVER%." Title="Raccolta dati del disco" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Disk configuration data" Class="Area" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule Name="fDisplayBasicDiskDataStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szBasicDiskData" Query="'BasicDiskData'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayDiskDrives" Query="string(@Title)" Title="Elenco unità disco su Exchange Server">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szError1" Query="string(@Title)" Title="Impossibile recuperare elenco dei dischi."/>
					<Rule Name="szDidNotFindExchangeObjectsText" Query="if(not($fFindExchangeObjects),$szError1,string(@Title))" Title="Lo strumento ha recuperato correttamente l'elenco dei dischi." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Object Type="Group" Name="All" Class="Intervallo di tempo" GroupingClass="True">
						<!-- The purpose of this group is to have all rules under the Time Range: All class. Without this group, the rules directly under the object are listed as 'Unclassified' -->
						<Object Type="Group">

							<!-- GET VOLUME DISKS -->
							<Object Type="Group" Name="Volumes/Mountpoints" SecurityContext="EXLOGON">
								<Setting Key1="Mountpoint Check">
									<Rule Name="fMountpointsExist" Query="count($fVolumeMountpoint) &gt;0" AlwaysEvaluate="True"/>
									<Rule Name="fNotMountpointsExist" Query="not($fMountpointsExist)" Text="Il server non utilizza punti di montaggio." AlwaysEvaluate="True"/>

									<Rule Name="szWMILogicalDisk" AlwaysEvaluate="True" Query="if($fMountpointsExist, 'Win32_Volume','Win32_LogicalDisk')">
										<Variable Name="WMILogicalDisk" Scope="Children"/>
									</Rule>
									<Rule Name="szWMILogicalDiskSize" Query="if($fMountpointsExist, 'Capacity','Size')" AlwaysEvaluate="True">
										<Variable Name="varWMISize" Scope="Children"/>
									</Rule>
									<Rule Name="szWMILogicalDiskPostPend" Query="if($fMountpointsExist, '\\','')" AlwaysEvaluate="True">
										<Variable Name="varWMILogicalDiskPostPend" Scope="Children"/>
									</Rule>
								</Setting>
								<Object Type="WMI" Key1="%SERVER%" Key3="Win32_Volume" SecurityContext="EXLOGON">
									<Setting Key1="Name" Substitution="DEVICEID">
										<Rule Name="szVolumeDiskName" Query="$."/>
										<Rule Name="fVolumeMountpoint" Query="string-length($.) &gt;3 and substring($., 2,1)=':'" Error="None" Text="Il volume {5} è un punto di montaggio." P5="$." AlwaysEvaluate="True"/>

										<Rule Name="szUseMountpoint" AlwaysEvaluate="True" Query="if($fMountpointsExist, string($.))">
											<Variable Name="LogicalDisks[%DEVICEID%]" Scope="Children"/>
										</Rule>

									</Setting>
									<Setting Key1="Capacity"/>
									<Setting Key1="DriveType">
										<Rule Name="fVolumeDiskFixed" Query="$.=3"/>
									</Setting>
									<Setting Key1="FileSystem"/>
									<Setting Key1="FreeSpace">
										<Rule Name="fVolumeDiskSpaceUnder3GBWarn" Query="$fVolumeMountpoint and $fVolumeDiskFixed and ($. div 1073741824) &lt;3 and not($fVolumeDiskSpaceUnder500MBErr)" Error="Warning" Sev="3" Title="Spazio su disco insufficiente" Text="Spazio su disco insufficiente. Il punto di montaggio {3} sul server {2} dispone di {9} GB ({8} MB) di spazio libero." S2="%SERVER%" P3="$szVolumeDiskName" P8="round($. div 1048576)" P9="round($. div 1073741824)" GUID="620c733e-ce53-43ca-bd34-d2242de77795" ReportIssue="Issue"/>
										<Rule Name="fVolumeDiskSpaceUnder500MBErr" Query="$fVolumeMountpoint and $fVolumeDiskFixed and ($. div 1048576) &lt;500" Error="Error" Sev="2" Title="Spazio su disco insufficiente" Text="Spazio su disco insufficiente. Il punto di montaggio {3} sul server {2} dispone di {8} MB di spazio libero." S2="%SERVER%" P3="$szVolumeDiskName" P8="round($. div 1048576)" GUID="620c733e-ce53-43ca-bd34-d2242de77795" ReportIssue="Issue"/>
									</Setting>
								</Object>
							</Object>

							<!-- GET NON-VOLUME DISKS -->
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_LogicalDisk" SecurityContext="EXLOGON">
								<Setting Key1="DeviceId" Substitution="DEVICEID">
									<Rule Name="szLogicalDeviceID" Query="$."/>
									<Rule Name="szUseLogicalDisk" AlwaysEvaluate="True" Query="if(not($fMountpointsExist[1]), string($.))" Scope="Children">
										<Variable Name="LogicalDisks[%DEVICEID%]" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="DriveType">
									<Rule Name="fDiskFixed" Query="$.=3"/>
								</Setting>

								<Setting Key1="FreeSpace">
									<Rule Name="fLogicalDiskSpaceUnder3GBWarn" Query="not($fMountpointsExist) and $fDiskFixed and ($. div 1073741824) &lt;3 and not($fLogicalDiskSpaceUnder500MBErr)" Error="Warning" Sev="3" Title="Spazio su disco insufficiente" Text="Spazio su disco insufficiente. Il punto di montaggio {3} sul server {2} dispone di {9} GB ({8} MB) di spazio libero." S2="%SERVER%" P3="$szLogicalDeviceID" P8="round($. div 1048576)" P9="round($. div 1073741824)" GUID="5cea6596-470b-464a-be21-df6f5c83bc38" ReportIssue="Issue"/>
									<Rule Name="fLogicalDiskSpaceUnder500MBErr" Query="not($fMountpointsExist) and $fDiskFixed and ($. div 1048576) &lt;500" Error="Warning" Sev="3" Title="Spazio su disco insufficiente" Text="Spazio su disco insufficiente. Il punto di montaggio {3} sul server {2} dispone di {8} MB di spazio libero." S2="%SERVER%" P3="$szLogicalDeviceID" P8="round($. div 1048576)" GUID="5cea6596-470b-464a-be21-df6f5c83bc38" ReportIssue="Issue"/>
								</Setting>
							</Object>

							<Rule Name="szFullListOfLogicalDisks" Query="concat(join(',', $szUseMountpoint), join(',',$szUseLogicalDisk))" Text="Sul server sono disponibili i seguenti dischi logici: {4}." P4="concat(join(',', $szUseMountpoint), join(',',$szUseLogicalDisk))" AlwaysEvaluate="True">
								<Variable Name="FullListOfLogicalDisks" Scope="Children"/>
							</Rule>

							<Rule NextStep="FindExchangeObjects" Name="fFindExchangeObjects" Query="string-length($szFullListOfLogicalDisks) &gt; 0" Text="- Determinare se il percorso dei file di dati del server Exchange, delle directory TEMP e TMP e delle unità di sistema può creare problemi di prestazioni." Display="Hide"/>
							<Rule Query="not($fFindExchangeObjects)" Text="Si è verificato un errore durante l'accesso alle informazioni sul disco."/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="FindExchangeObjects" Title="Configurazione dati di Exchange Server" Display="Left">
		<Object Type="Variable" Key1="Scalar" Key2="%varDataAction%" Key3="%varFindExchangeObjectsDataDoc%" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%FullListOfLogicalDisks%" Substitution="ListofLogicalDisks" Display="Hide"/>
			<Setting Key1="%WMILogicalDisk%" Substitution="WMIDisk" Display="Hide"/>
			<Setting Key1="%varWMISize%" Substitution="varWMISize" Display="Hide"/>
			<Setting Key1="%varWMILogicalDiskPostPend%" Substitution="varWMILogicalDiskPostPend" Display="Hide"/>
			<Setting Key1="%fIsSBS%" Substitution="fIsSBS" Display="Hide"/>
			<Setting Key1="%EXSRVNAME%" Substitution="EXSRVNAME" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%fIsSmallServer%" Substitution="fIsSmallServer" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varIsHubTransportServer%" Substitution="varIsHubTransportServer" Display="Hide"/>
			<Setting Key1="%varIsMailboxServer%" Substitution="varIsMailboxServer" Display="Hide"/>
			<Setting Key1="%varNoPerfmonData%" Substitution="varNoPerfmonData" Display="Hide"/>

			<Object Type="Progress" Text="Attendere, lo strumento raccoglie i dati su %SERVER%." Title="Recupero metadati per database e file di registro" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Disk Drive and Exchange Data File Information" Class="Area" GroupingClass="True" SecurityContext="EXLOGON">

					<Rule Name="fDisplayExchangeObjectsStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szDiskAndDataFileInfo" Query="string(@Title)" Title="Informazioni su file di dati Exchange e unità disco">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szFindExchangeObjects" Query="'FindExchangeObjects'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Query="concat($szIssueFound, $szNoIssueFound,concat($szErrorFound,$szWarningFound))" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fSuppressSmallServerErrors" Query="@S1=1 or @S2=1" S1="%fIsSBS%" S2="%fIsSmallServer%"/>
					<Rule Name="fWarningFoundEx" Query="$fTempPathChg or $fTmpPathChg or $fSMTPAndSomethingShareDrive or $fPageFileDriveSharedByExchange or $fSystemDriveSharedByExchange or $fExchangeLogDriveIssueFoundSmallServer" Error="Warning" ReportIssue="Summary" Title="Rilevata configurazione non ottimale delle risorse" Text="Il percorso del file di paging, del server SMTP e della directory TEMP o TMP può contribuire a creare un collo di bottiglia delle prestazioni. Se sulle unità non sono presenti colli di bottiglia del disco, la configurazione potrebbe non costituire un problema." AlwaysEvaluate="True"/>
					<Rule Name="fExchangeDiskSpaceIssueFound" Query="$fSGDiskFreeSpaceLessThan10percent or $fSGDiskFreeSpaceBelow20MB or $fExchangeDiskFreeSpaceLessThan10percent or $fExchangeDiskFreeSpaceBelow20MB" AlwaysEvaluate="True" Title="Rilevato spazio su disco insufficiente" Text="Lo spazio su disco insufficiente può contribuire a creare un collo di bottiglia delle prestazioni. Se sull'unità con spazio su disco insufficiente non sono presenti colli di bottiglia del disco, è probabile che non si verifichi alcun problema." Error="Error" ReportIssue="Summary"/>
					<Rule Name="fExchangeLogDriveIssueFound" Query="$fLogAndSomethingShareDrive and not($fSuppressSmallServerErrors)" Title="Possibile problema con il percorso dei file di registro delle transazioni" Text="Il percorso di uno o più file di registro delle transazioni può contribuire a creare un collo di bottiglia delle prestazioni. Se non sono presenti colli di bottiglia del disco, è probabile che non si verifichino problemi." Error="Error" ReportIssue="Summary" AlwaysEvaluate="True"/>
					<Rule Name="fExchangeLogDriveIssueFoundSmallServer" Query="$fLogAndSomethingShareDrive and $fSuppressSmallServerErrors" AlwaysEvaluate="True" Title="Possibile problema con il percorso dei file di registro delle transazioni" Text="Il percorso di uno o più file di registro delle transazioni può contribuire a creare un collo di bottiglia delle prestazioni. Se non sono presenti colli di bottiglia del disco, è probabile che non si verifichino problemi." Error="Warning" ReportIssue="Summary"/>
					<Rule Name="fSummaryNoIssue" Query="not($fWarningFoundEx or $fExchangeDiskSpaceIssueFound or $fExchangeLogDriveIssueFound or $fErrorFoundFindExchange or $fExchangeLogDriveIssueFoundSmallServer)" Error="None" ReportIssue="Summary" Title="Nessun problema rilevato con il percorso dei file di dati Exchange" Text="Nessun problema rilevato con il percorso di file di dati Exchange, file di paging, directory TEMP o TMP o con la quantità di spazio su disco su una o più unità." AlwaysEvaluate="True"/>
					<Rule Name="fErrorFoundFindExchange" Query="$fFatalExchangeErrorDirectory or $fFatalExchangeErrorNotDirectory" AlwaysEvaluate="True"/>

					<Rule Name="szNoIssueFound" Query="if(not($fExchangeDiskSpaceIssueFound or $fExchangeLogDriveIssueFound or $fErrorFoundFindExchange or $fWarningFoundEx), string(@Title))" Title="Nessun problema di prestazioni rilevato con il percorso dei file di dati Exchange o con le unità." AlwaysEvaluate="True"/>
					<Rule Name="szIssueFound" Query="if($fExchangeDiskSpaceIssueFound or $fExchangeLogDriveIssueFound, string(@Title))" Title="È stato rilevato un potenziale problema di prestazioni con il percorso dei file di dati Exchange o del file di paging." AlwaysEvaluate="True"/>
					<Rule Name="szErrorFound" Query="if($fErrorFoundFindExchange,string(@Title))" Title="Si è verificato un errore durante la lettura delle informazioni dalla directory." AlwaysEvaluate="True"/>
					<Rule Name="szWarningFound" Query="if($fWarningFoundEx,string(@Title))" Title="È stato rilevato un possibile problema di prestazioni con il percorso dei file di dati Exchange, le code del server SMTP e le directory TEMP o TMP." AlwaysEvaluate="True"/>

					<Object Type="Group" Name="All" Class="Intervallo di tempo" GroupingClass="True">
						<Object Type="Group" Name="Detailed Disk Drive Information" SecurityContext="EXLOGON">

							<!-- Temp and TMP dirs -->
							<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Control\Session Manager" SecurityContext="EXLOGON">
								<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Control\Session Manager\Environment" Level="2">
									<Setting Key1="TEMP" Substitution="TEMPDIR" SubstitutionFormat="\\----\\">
										<Rule Name="fTempPathChg" Query="(starts-with(upper-case($.), '%SYSTEMROOT') or starts-with(upper-case($.), '%SYSTEMDRIVE')) and not($fSuppressSmallServerErrors)" Error="Warning" Sev="2" Title="Ottimizzazione del percorso file temporanei" Text="Il percorso {1} è situato sulla stessa unità della partizione di sistema. Potrebbero verificarsi problemi di prestazioni. Percorso {1} corrente: {5}." S1="TEMP" P5="$." GUID="dc0f01fb-7051-4679-885f-80e25838ccf0" ReportIssue="Issue"/>
										<Rule Name="fTempPathChgSmallServer" Query="(starts-with(upper-case($.), '%SYSTEMROOT') or starts-with(upper-case($.), '%SYSTEMDRIVE')) and $fSuppressSmallServerErrors" Error="None" Sev="2" Title="Ottimizzazione del percorso file temporanei" Text="Il percorso {1} è situato sulla stessa unità della partizione di sistema. Potrebbero verificarsi problemi di prestazioni. Percorso {1} corrente: {5}." S1="TEMP" P5="$." GUID="dc0f01fb-7051-4679-885f-80e25838ccf0" ReportIssue="Issue"/>
										<Rule Name="szTempDir" Query="upper-case($.)" Text=" Impostazione &quot;{5}&quot; del percorso {1} valida." S1="%TEMP%" P5="$.">
											<Variable Name="TEMPDIR" Scope="Children"/>
										</Rule>
										<Rule Name="szTEMPDrive" Query="if($fTempPathChg or $fTempPathChgSmallServer,string($szWinDirDrive),string(longest-starts-with($.,$szLogicalDiskID)))" Error="None" Text="La directory TEMP è situata sull'unità {0}." P0="$szTEMPDrive">
											<Variable Name="TEMPDrive" Scope="Children"/>
										</Rule>
									</Setting>
									<Setting Key1="TMP" Substitution="TMPDIR" SubstitutionFormat="\\----\\">

										<Rule Name="fTmpPathChg" Query="(starts-with(upper-case($.), '%SYSTEMROOT') or starts-with(upper-case($.), '%SYSTEMDRIVE')) and not($fSuppressSmallServerErrors)" Error="Warning" Sev="2" Title="Ottimizzazione del percorso file temporanei" Text="Il percorso {1} è situato sulla stessa unità della partizione di sistema. Potrebbero verificarsi problemi di prestazioni. Percorso {1} corrente: {5}." S1="TMP" P5="$." GUID="dc0f01fb-7051-4679-885f-80e25838ccf0" ReportIssue="Issue"/>
										<Rule Name="fTmpPathChgSmallServer" Query="(starts-with(upper-case($.), '%SYSTEMROOT') or starts-with(upper-case($.), '%SYSTEMDRIVE')) and $fSuppressSmallServerErrors" Error="None" Sev="2" Title="Ottimizzazione del percorso file temporanei" Text="Il percorso {1} è situato sulla stessa unità della partizione di sistema. Potrebbero verificarsi problemi di prestazioni. Percorso {1} corrente: {5}." S1="TMP" P5="$." GUID="dc0f01fb-7051-4679-885f-80e25838ccf0" ReportIssue="Issue"/>
										<Rule Name="szTmpDir" Query="upper-case($.)" Text=" Impostazione &quot;{5}&quot; del percorso {1} valida." S1="%TMP%" P5="$.">
											<Variable Name="TMPDIR" Scope="Children"/>
										</Rule>
										<Rule Name="szTMPDrive" Query="if($fTmpPathChg or $fTmpPathChgSmallServer,string($szWinDirDrive),string(longest-starts-with($.,$szLogicalDiskID)))" Error="None" Text="La directory TEMP è situata sull'unità {0}." P0="$szTMPDrive">
											<Variable Name="TMPDrive" Scope="Children"/>
										</Rule>
									</Setting>
								</Object>
							</Object>

							<!-- System Page file -->
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_PageFile" Level="2">
								<Rule Name="iPageDriveCount" Query="count($szPageDrive)"/>
								<Setting Key1="InitialSize">
									<Rule Query="$." Text="Dimensione iniziale file di paging = {1} MB." P1="$."/>
								</Setting>
								<Setting Key1="FileSize">
									<Rule Name="iPageFileSize" Query="$. div 1048576" Text="Dimensione file di paging = {1} MB." P1="$. div 1048576"/>
								</Setting>
								<Setting Key1="MaximumSize">
									<Rule Name="iPageFileMaxSize" Query="$." Text="Dimensione massima file di paging = {1} MB." P1="$."/>
								</Setting>
								<Setting Key1="Name">
									<Rule Name="szPageFileName" Query="$."/>
									<Rule Name="szPageDrive" Query="longest-starts-with($szPageFileName,$szLogicalDiskID)" Error="None" Text="Il file di paging di Windows {1} è situato sull'unità {0}." P0="$szPageDrive" P1="$szPageFileName"/>
									<Rule Name="fPageFileDriveSharedByExchange" Query="$szArrayOfAllDrivesUsedByExchange = $szPageDrive and $iPageDriveCount &lt; 2 and not($fSuppressSmallServerErrors)" Title="L'unità contiene sia il file di paging sia i file di dati del server Exchange" Text="I file di dati Exchange e il file di paging sono situati sull'unità {4}. Ciò non costituisce un problema se sull'unità non vengono rilevati colli di bottiglia del disco." P4="$szPageDrive" ReportIssue="Issue" Error="Warning" Sev="2" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be"/>
									<Rule Name="fPageFileDriveSharedByExchangeSmallServer" Query="$szArrayOfAllDrivesUsedByExchange = $szPageDrive and $iPageDriveCount &lt; 2 and $fSuppressSmallServerErrors" Title="L'unità contiene sia il file di paging sia i file di dati del server Exchange" Text="I file di dati Exchange e il file di paging sono situati sull'unità {4}. Ciò non costituisce un problema se sull'unità non vengono rilevati colli di bottiglia del disco." P4="$szPageDrive" ReportIssue="Issue" Error="None" Sev="2" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be"/>
								</Setting>
							</Object>

							<!-- System Drive -->
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_OperatingSystem" Key5="*" SecurityContext="EXLOGON">
								<Setting Key1="WindowsDirectory">
									<Rule Name="szWindowsDirectory" Query="upper-case($.)"/>
									<Rule Name="szWinDirDrive" Query="upper-case(longest-starts-with($szWindowsDirectory,$szLogicalDiskID))" Error="None" Text="La directory di Windows è situata sull'unità {0}." P0="$szWinDirDrive">
										<Variable Name="WinDirDrive" Scope="Children"/>
									</Rule>
									<Rule Name="fSystemDriveSharedByExchange" Query="$szArrayOfAllDrivesUsedByExchange = $szWinDirDrive and not($fSuppressSmallServerErrors)" Title="L'unità di sistema di Windows contiene i file di dati di Exchange Server" Text="I file di dati Exchange e la partizione del sistema Windows sono situati sull'unità {4}. Ciò non costituisce un problema se sull'unità non vengono rilevati colli di bottiglia del disco." P4="$szWinDirDrive" ReportIssue="Issue" Error="Warning" Sev="2" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be"/>
									<Rule Name="fSystemDriveSharedByExchangeSmallServer" Query="$szArrayOfAllDrivesUsedByExchange = $szWinDirDrive and $fSuppressSmallServerErrors" Title="L'unità di sistema di Windows contiene i file di dati di Exchange Server" Text="I file di dati Exchange e la partizione del sistema Windows sono situati sull'unità {4}. Ciò non costituisce un problema se sull'unità non vengono rilevati colli di bottiglia del disco." P4="$szWinDirDrive" ReportIssue="Issue" Error="None" Sev="2" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be"/>
								</Setting>
							</Object>

							<!-- GET DISKS -->
							<Object Type="Cache" Name="Cache1" Key1="Add" Key2="drive" Key3="%ListofLogicalDisks%" Key4="," Display="Hide">
								<Setting Substitution="DEVICEID" Format="\\$----" Display="Hide">
									<Rule Name="szLogicalDiskID" Query="upper-case($.)"/>
									<!-- FIND OUT IF ANY Exchange Server resource is on this disk drive -->
									<Rule Name="fDriveContainsExchange" Query=" $fDriveContainsPUBMDB or $fDriveContainsPRIVMDB or $fDriveContainsPUBSLV or $fDriveContainsPRIVSLV or $fDriveContainsSMTP or $fDriveContainsSG" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchange" Query="if($fDriveContainsPage or $fDriveContainsTMP or $fDriveContainsTEMP or $fDriveContainsPUBMDB or $fDriveContainsPRIVMDB or $fDriveContainsPUBSLV or $fDriveContainsPRIVSLV or $fDriveContainsSMTP or $fDriveContainsSG, string($szLogicalDiskID))" Text="L'unità disco {4} è utilizzata dai file di dati di Exchange Server." P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangePUBMDB" Query="if($fDriveContainsPUBMDB, string($szLogicalDiskID))" Text="L'unità disco {4} è utilizzata per il file del database EDB dell'archivio cartelle pubbliche." Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangePRIVMDB" Query="if($fDriveContainsPRIVMDB, string($szLogicalDiskID))" Text="L'unità disco {4} è utilizzata per il file del database EDB dell'archivio cassette postali." Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangePRIVSLV" Query="if($fDriveContainsPRIVSLV, string($szLogicalDiskID))" Text="L'unità disco {4} è utilizzata per il file del database STM dell'archivio cassette postali." Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangePUBSLV" Query="if($fDriveContainsPUBSLV, string($szLogicalDiskID))" Text="L'unità disco {4} è utilizzata per il file del database STM dell'archivio cartelle pubbliche." Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangeDB" Query="if($fDriveContainsPUBMDB or $fDriveContainsPRIVMDB or $fDriveContainsPUBSLV or $fDriveContainsPRIVSLV, string($szLogicalDiskID))" Text="L'unità disco {4} è utilizzata per i file del database del server Exchange." Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangeSMTP" Query="if($fDriveContainsSMTP, string($szLogicalDiskID))" Text="L'unità disco {4} è utilizzata per le code del server SMTP." Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangeSG" Query="if($fDriveContainsSG, string($szLogicalDiskID))" Text="L'unità disco {4} è utilizzata per i file di registro delle transazioni di Exchange Server." Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByPage" Query="if($fDriveContainsPage, string($szLogicalDiskID))" Text="Unità disco {4} utilizzata per file di paging del sistema." Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>

									<Rule Name="fDriveContainsPUBMDB" Query="if($szPubEDBDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PUBMDB][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsPRIVMDB" Query="if($szPrivEDBDrive = $szLogicalDiskID, string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PRIVMDB][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsPUBSLV" Query="if($szPubSLVDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PUBSLV][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsPRIVSLV" Query="if($szPrivSLVDrive = $szLogicalDiskID, string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PRIVSLV][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsSMTP" Query="if($szSMTPDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[SMTP][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsSG" Query="if($szStorageDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[SG][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsPage" Query="if($szPageDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PAGE][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsTMP" Query="if($szTMPDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[TMP][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsTEMP" Query="if($szTEMPDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[TEMP][%DEVICEID%]" Scope="Children"/>
									</Rule>
								</Setting>

								<Object Type="WMI" Key1="%SERVER%" Key3="%WMIDisk%" Key4="Name='%DEVICEID%%varWMILogicalDiskPostPend%'" SecurityContext="EXLOGON">
									<Setting Key1="FreeSpace">
										<Rule Name="iFreeSpace" Query="$."/>
										<Rule Name="fDiskFreeSpaceBelow20MB" Query="($iFreeSpace div 1048576) &lt; 20"/>
										<Rule Name="fLogicalDiskSpaceUnder3GB" Query="not($fDiskFreeSpaceBelow20MB) and $fLogicalDiskFixed and ($. div 1073741824) &lt;4" Error="Warning" Sev="3" Title="Spazio su disco insufficiente" Text="Sul disco logico {3} del server {2} sono disponibili {9} GB di spazio libero." S2="%SERVER%" S3="%DEVICEID%" P9="round($. div 1073741824)" GUID="5cea6596-470b-464a-be21-df6f5c83bc38" ReportIssue="Issue"/>
									</Setting>
									<Setting Key1="DriveType">
										<Rule Name="fLogicalDiskFixed" Query="$.=3"/>
									</Setting>
									<Setting Key1="%varWMISize%">
										<Rule Name="iLogicalDiskSize" Query="round($. div 1073741824)" Error="None" Text="Dimensioni del disco logico {4} su {3} {9} GB. " P4="$szLogicalDiskID" P9="round($. div 1073741824)" S3="%SERVER%"/>
										<Rule Name="fSGDiskFreeSpaceLessThan10percent" Query="$fLogicalDiskFixed and $fDiskFreeSpaceLessThan10percent and $fDriveContainsSG" Error="Error" Sev="1" ReportIssue="Issue" Title="Spazio su disco insufficiente sull'unità contenente i file di registro delle transazioni di Exchange" Text="È disponibile meno del 10% di spazio libero su disco sull'unità {0}. L'unità {0} contiene i file di registro delle transazioni." S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fSGDiskFreeSpaceBelow20MB" Query="$fLogicalDiskFixed and $fDiskFreeSpaceBelow20MB and $fDriveContainsSG" Error="Error" Sev="1" ReportIssue="Issue" Title="Spazio su disco insufficiente sull'unità contenente i file di registro delle transazioni di Exchange" Text="Sono disponibili meno di 20 MB di spazio libero su disco sull'unità {0}. L'unità {0} contiene i file di registro delle transazioni." S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fExchangeDiskFreeSpaceLessThan10percent" Query="$fLogicalDiskFixed and $fDiskFreeSpaceLessThan10percent and $fDriveContainsExchange and not($fDriveContainsSG)" Error="Error" Sev="1" ReportIssue="Issue" Title="Spazio su disco insufficiente sull'unità contenente i file di dati di Exchange" Text="È disponibile meno del 10% di spazio libero su disco sull'unità {0}. L'unità {0} contiene i file di dati di Exchange." S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fExchangeDiskFreeSpaceBelow20MB" Query="$fLogicalDiskFixed and $fDiskFreeSpaceBelow20MB and $fDriveContainsExchange" Error="Error" Sev="1" ReportIssue="Issue" Title="Spazio su disco insufficiente sull'unità contenente i file di dati di Exchange" Text="Sono disponibili meno di 20 MB di spazio libero su disco sull'unità {0}. L'unità {0} contiene i file di registro delle transazioni." S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fDiskFreeSpaceLessThan10percent" Query="$iFreeSpace &lt; (0.10 * $.) and $fLogicalDiskFixed" Error="Warning" ReportIssue="Issue" Title="Spazio su disco insufficiente" Text="È disponibile meno del 10% di spazio libero su disco sull'unità {0}." S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fErrorDiskFreeSpaceBelow20MB" Query="$fLogicalDiskFixed and $fDiskFreeSpaceBelow20MB and not($fDriveContainsSG)" Error="Error" Title="Spazio su disco insufficiente" Text="Sono disponibili meno di 20 MB di spazio libero su disco sull'unità {0}." S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
									</Setting>
								</Object>
							</Object>
						</Object>

						<!-- GET LOCATION OF DATABASES, SLV FILES, AND STORAGE GROUPS -->
						<Object Type="If" Key1="not('%varIsExchange12%'='1') or ('%varIsExchange12%'='1' and ('%varIsHubTransportServer%'='1' or '%varIsMailboxServer%'='1'))">
							<Object Type="Directory" Name="cn" Key1="LDAP://%DC%/" SecurityContext="EXLOGON">
								<Rule Name="fFatalExchangeErrorDirectory" Query="../Exception/@Message and not($fFatalExchangeErrorNotDirectory)" Error="Error" Sev="1" Title="Errore durante l'accesso ad Active Directory" Text="Impossibile interrogare la directory sul server {0}. {1}." S0="%DC%" P1="../Exception/@Message"/>
								<Rule Name="fFatalExchangeErrorNotDirectory" Query="../Exception/@Message = 'The server is not operational'" Error="Error" Sev="1" Title="Errore durante l'accesso ad Active Directory" Text="È probabile che il server {0} non sia un server Active Directory. Impossibile interrogare la directory. {1}." S0="%DC%" P1="../Exception/@Message"/>

								<Setting Key1="configurationNamingContext" Substitution="CONFIGDN"/>
								<Object Type="Directory" Key1="LDAP://%DC%/" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%">
									<Setting Key1="distinguishedName" Substitution="DN"/>
									<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(|(cn=%SERVER%)(cn=%EXSRVNAME%)))" Async="100" TrackProgress="TrackProgress" MaxTime="ALL,1" MaxTimeouts="ALL,1" MaxFailures="WMI,1">
										<Setting Key1="distinguishedName" Substitution="DN"/>

										<Rule Name="szArrayOfAllNonLogNonSMTPResourceFiles" Query="$szPrivEDBFile | $szPubEDBFile | $szPrivSLVFile | $szPubSLVFile" AlwaysEvaluate="True"/>
										<Rule Name="szArrayOfAllNonLogResourceFiles" Query="$szArrayOfAllNonLogNonSMTPResourceFiles | $szSMTPDir" AlwaysEvaluate="True"/>
										<Rule Name="szArrayOfAllDrivesUsedByExchangeDB" Query="$szPrivEDBDrive | $szPubEDBDrive | $szPrivSLVDrive | $szPubSLVDrive " AlwaysEvaluate="True"/>
										<Rule Name="szArrayOfAllDrivesUsedByExchange" Query="$szArrayOfAllDrivesUsedByExchangeDB | $szSMTPDrive | $szStorageDrive" AlwaysEvaluate="True"/>

										<Object Type="Group" Name="Exchange Server Database and SLV Files">

											<!-- PRIVATE DATABASE INFO -->

											<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="objectClass=msExchPrivateMDB" Key4="Subtree" Class="MDB privato" Display="Left">
												<Setting Key1="distinguishedName" Substitution="DN"/>
												<Setting Key1="cn" Substitution="MDBNAME">
													<Rule Name="szPrivStoreName" Query="$."/>
												</Setting>
												<Setting Key1="msExchEDBFile" Substitution="EDBPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szPrivEDBFile" Query="upper-case($.)"/>
													<Rule Name="szPrivEDBDrive" Query="longest-starts-with($szPrivEDBFile,$szLogicalDiskID)" Text="Il file EDB dell'archivio cassette postali '{0}' è situato sull'unità {1}." P0="$." P1="longest-starts-with($szPrivEDBFile,$szLogicalDiskID)"/>
												</Setting>
												<Setting Key1="msExchSLVFile" Substitution="SLVPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szPrivSLVFile" Query="upper-case($.)"/>
													<Rule Name="szPrivSLVDrive" Query="longest-starts-with($szPrivEDBFile,$szLogicalDiskID)" Text="Il file STM dell'archivio cassette postali '{0}' è situato sull'unità {1}." P0="$." P1="$szPrivSLVDrive"/>
												</Setting>
												<Setting Key1="msExchAgingKeepTime">
													<Rule Name="fPrivAgingKeepTimeDS" Query="$.!=3456000" Error="NonDefault" Title="&quot;{1}&quot; è stato modificato" Text="L'intervallo predefinito &quot;{1}&quot; per il database &quot;{3}&quot; sul server {2} è stato modificato. Questa configurazione è consigliata solo in base alle istruzioni fornite dal Servizio Supporto tecnico Clienti di Microsoft. Valore corrente di msExchAgingKeepTime: {8} secondi." S1="../@Key1" S2="%SERVER%" P3="$szPrivStoreName" P8="$." GUID="156b4acf-b3e5-438f-9cf6-1ba48663166f"/>
												</Setting>
												<Setting Key1="objectGUID" Substitution="PRIVDBGUID" Format="System.Guid"/>
												<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS\%SERVER%\Private-%PRIVDBGUID%">
													<Setting Key1="Aging Keep Time">
														<Rule Name="fAgingKeepTimePrivate" Query="$.!=3456000 and $.!='' and not ($fPrivAgingKeepTimeDS)" Error="NonDefault" Title="&quot;{1}&quot; è stato modificato" Text="L'intervallo predefinito &quot;{1}&quot; per il database &quot;{3}&quot; sul server {2} è stato modificato. Questa configurazione è consigliata solo in base alle istruzioni fornite dal Servizio Supporto Tecnico Clienti Microsoft. Valore corrente &quot;{1}&quot;: {8} secondi." S1="../@Key1" S2="%SERVER%" P3="$szPrivStoreName" P8="$." GUID="06025f22-fe5d-4a52-b917-0c33536465c4" AlwaysEvaluate="True"/>
													</Setting>
													<Setting Key1="Aging Clean Interval">
														<Rule Name="szMailboxStoreAgingCleanInterval" Query="$." Error="NonDefault" Title="Valore non predefinito per l'intervallo di pulitura aging dell'archivio cassette postali" Text="Il valore predefinito di &quot;{4}&quot; per l'archivio cassette postali &quot;{3}&quot; sul server {2} è stato modificato." S2="%SERVER%" P3="$szPrivStoreName" P4="../@Key1" GUID="4932cd20-1ba6-45ee-9efa-2bf1c4aa4c20"/>
													</Setting>
												</Object>
											</Object>

											<!-- PUBLIC DATABASE INFO -->

											<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="objectClass=msExchPublicMDB" Key4="Subtree" Class="MDB pubblico" Display="Left">
												<Setting Key1="distinguishedName" Substitution="DN"/>
												<Setting Key1="cn" Substitution="MDBNAME">
													<Rule Name="szPubStoreName" Query="$."/>
												</Setting>
												<Setting Key1="msExchEDBFile" Substitution="EDBPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szPubEDBFile" Query="upper-case($.)"/>
													<Rule Name="szPubEDBDrive" Query="longest-starts-with($szPubEDBFile,$szLogicalDiskID)" Text="Il file EDB dell'archivio cartelle pubbliche &quot;{0}&quot; è situato sull'unità {1}." P0="$." P1="$szPubEDBDrive"/>

												</Setting>
												<Setting Key1="msExchSLVFile" Substitution="SLVPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szPubSLVFile" Query="upper-case($.)"/>
													<Rule Name="szPubSLVDrive" Query="longest-starts-with($szPubEDBFile,$szLogicalDiskID)" Text="Il file STM dell'archivio cartelle pubbliche &quot;{0}&quot; è situato sull'unità {1}." P0="$." P1="$szPubSLVDrive"/>
												</Setting>
												<Setting Key1="objectGUID" Substitution="PUBDBGUID" Format="System.Guid"/>
												<Setting Key1="msExchAgingKeepTime">
													<Rule Name="fPubAgingKeepTimeDS" Query="$.!=3456000" Error="NonDefault" Title="&quot;{1}&quot; è stato modificato" Text="L'intervallo predefinito &quot;{1}&quot; per il database &quot;{3}&quot; sul server {2} è stato modificato. Questa configurazione è consigliata solo in base alle istruzioni fornite dal Servizio Supporto tecnico Clienti di Microsoft. Valore corrente di msExchAgingKeepTime: {8} secondi." S1="../@Key1" S2="%SERVER%" P3="$szPubStoreName" P8="$." GUID="156b4acf-b3e5-438f-9cf6-1ba48663166f"/>
												</Setting>
												<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS\%SERVER%\Public-%PUBDBGUID%">
													<Setting Key1="Aging Keep Time">
														<Rule Name="fAgingKeepTimePublic" Query="$.!=3456000 and $.!='' and not ($fPubAgingKeepTimeDS)" Error="NonDefault" Title="&quot;{1}&quot; è stato modificato" Text="L'intervallo predefinito &quot;{1}&quot; per il database &quot;{3}&quot; sul server {2} è stato modificato. Questa configurazione è consigliata solo in base alle istruzioni fornite dal Servizio Supporto Tecnico Clienti Microsoft. Valore corrente &quot;{1}&quot;: {8} secondi." S1="../@Key1" S2="%SERVER%" P3="$szPubStoreName" P8="$." GUID="06025f22-fe5d-4a52-b917-0c33536465c4" AlwaysEvaluate="True"/>
													</Setting>
												</Object>
											</Object>
										</Object>

										<!-- STORAGE GROUP INFO -->

										<Object Type="Group" Name="Exchange Server Transaction Log Files">
											<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="objectClass=msExchStorageGroup" Key4="Subtree" Class="Gruppo di archiviazione" Display="Left">
												<Pivot Name="SGToPrivMDBName" Key="../@Name"/>
												<Setting Key1="name" Substitution="SGNAME">
													<Rule Name="szStorageGroup" Query="$."/>
												</Setting>
												<Setting Key1="msExchESEParamLogFilePath" Substitution="LOGPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szStorageFile" Query="upper-case($.)"/>
													<Rule Name="szStorageDrive" Query="longest-starts-with($.,$szLogicalDiskID)" Text="L'unità del gruppo di archiviazione è situata su {1}." P1="$."/>

													<!-- NOW CHECK TO SEE IF ANY LOG FILES SHARE A PHYSICAL DISK WITH THE SMTP, EDB OR SLV FILES!!!	-->

													<Rule Name="fLogAndSomethingShareDrive" Query="if(not($fSuppressSmallServerErrors),$szArrayOfAllNonLogResourceFiles[longest-starts-with(.,$szLogicalDiskID) = $szStorageDrive])" Error="Error" Sev="1" ReportIssue="Issue" Title="I file di registro delle transazioni per il gruppo di archiviazione &quot;{2}&quot; non hanno un'unità dedicata" Text="I file di registro delle transazioni per il gruppo di archiviazione &quot;{2}&quot; condividono l'unità {3} con {1}." P1="lower-case(join(', ',$_/Result))" P2="$szStorageGroup" P3="$szStorageDrive" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be" AlwaysEvaluate="True"/>
													<Rule Name="fLogAndSomethingShareDriveSmallServer" Query="if($fSuppressSmallServerErrors,$szArrayOfAllNonLogResourceFiles[longest-starts-with(.,$szLogicalDiskID) = $szStorageDrive])" Error="Warning" Sev="1" ReportIssue="Issue" Title="I file di registro delle transazioni per il gruppo di archiviazione &quot;{2}&quot; non hanno un'unità dedicata" Text="I file di registro delle transazioni per il gruppo di archiviazione &quot;{2}&quot; condividono l'unità {3} con {1}." P1="lower-case(join(', ',$_/Result))" P2="$szStorageGroup" P3="$szStorageDrive" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be" AlwaysEvaluate="True"/>

													<!--- TODO Join all the fLogAndSomethingShareDrive rules, for a single NextStep -->
													<!--- TODO Check TEMP DRIVE overlap, system drive overlap -->

												</Setting>
											</Object>
										</Object>

										<!-- SMTP Virtual Server Instance for this Exchange server. -->

										<Object Type="If" Key1="not('%varIsExchange12%'='1')">
											<Object Type="Group" Name="SMTP Virtual Servers">
												<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="objectClass=protocolCfgSMTPServer" Key4="Subtree" Display="Left">
													<Setting Key1="adminDisplayName" Substitution="SMTPNAME" Retrieve="FailHard">
														<Rule Name="szSMTPInstance" Query="$."/>
													</Setting>
													<Setting Key1="msExchSmtpQueueDirectory" Substitution="SMTPDIR" SubstitutionFormat="\\----\\">
														<Rule Name="szSMTPDir" Query="upper-case($.)"/>
														<Rule Name="szSMTPDrive" Query="longest-starts-with($.,$szLogicalDiskID)"/>

														<!-- NOW CHECK TO SEE IF ANY SMTP FILES SHARE A PHYSICAL DISK WITH THE SMTP, EDB FILES!!!	-->
														<Rule Name="fSMTPAndSomethingShareDrive" Query="$szSMTPAndSomethingShareDrive and not($fSuppressSmallServerErrors)" Error="Warning" Sev="3" ReportIssue="Issue" Title="Il server SMTP non ha un'unità dedicata" Text="Le code per il server SMTP &quot;{2}&quot; condividono l'unità {3} con i seguenti file di dati di Exchange: {1}." P1="join(', ', $szSMTPAndSomethingShareDrive/Result)" P2="$szSMTPInstance" P3="$szSMTPDrive" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be" AlwaysEvaluate="True"/>
														<Rule Name="fSMTPAndSomethingShareDriveSmallServer" Query="$szSMTPAndSomethingShareDrive and $fSuppressSmallServerErrors" Error="None" Sev="3" ReportIssue="Issue" Title="Il server SMTP non ha un'unità dedicata" Text="Le code per il server SMTP &quot;{2}&quot; condividono l'unità {3} con i seguenti file di dati di Exchange: {1}." P1="join(', ', $szSMTPAndSomethingShareDrive/Result)" P2="$szSMTPInstance" P3="$szSMTPDrive" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be" AlwaysEvaluate="True"/>

														<Rule Name="szSMTPAndSomethingShareDrive" Query="$szArrayOfAllNonLogNonSMTPResourceFiles[longest-starts-with(.,$szLogicalDiskID) = $szSMTPDrive]" AlwaysEvaluate="True">
															<!-- TODO Add specific resource name that is sharing the drive	-->
														</Rule>
													</Setting>
												</Object>
											</Object>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>

						<!-- NOW SOME RULES TO FIND THE NEXT STEP OR TO GATHER LISTS OF DATA FOR THE NEXT STEP -->

						<Object Type="Group" Name="Summary of disk usage" SecurityContext="EXLOGON">
							<Setting Display="Hide">
								<Rule Name="szListOfLogicalDisksUsedByExchange" Query="join(',',$szUniqueArrayLogicalDiskUsedByExchange)" Text="Dischi utilizzati da Exchange: {4}." P4="join(',',$szUniqueArrayLogicalDiskUsedByExchange)">
									<Variable Name="ListOfLogicalDisksUsedByExchange" Scope="Children"/>
								</Rule>
								<Rule Name="szListOfLogicalDisksUsedByExchangeDB" Query="join(',',$szUniqueArrayLogicalDiskUsedByExchangeDB)" Text="Dischi utilizzati dai database di Exchange Server: {4}." P4="join(',',$szUniqueArrayLogicalDiskUsedByExchangeDB)" AlwaysEvaluate="True">
									<Variable Name="ListofDatabaseDrives" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPUBSLV" Query="join(',', $szUniqueArrayLogicalDiskUsedByExchangePUBSLV)" Text="Le unità seguenti contengono i file STM dell'archivio cartelle pubbliche: {1}." P1="join(',', $szUniqueArrayLogicalDiskUsedByExchangePUBSLV)" AlwaysEvaluate="True">
									<Variable Name="T2DList[PUBSLV]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPRIVSLV" Query="join(',', $szUniqueArrayLogicalDiskUsedByExchangePRIVSLV)" Text="Le unità seguenti contengono i file STM dell'archivio cassette postali: {1}." P1="join(',', $szUniqueArrayLogicalDiskUsedByExchangePRIVSLV)" AlwaysEvaluate="True">
									<Variable Name="T2DList[PRIVSLV]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPUBMDB" Query="join(',', $szUniqueArrayLogicalDiskUsedByExchangePUBMDB)" Text="Le unità seguenti contengono i file EDB dell'archivio cartelle pubbliche: {1}." P1="join(',', $szUniqueArrayLogicalDiskUsedByExchangePUBMDB)">
									<Variable Name="T2DList[PUBMDB]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPRIVMDB" Query="join(',', $szUniqueArrayLogicalDiskUsedByExchangePRIVMDB)" Text="Le unità seguenti contengono i file EDB dell'archivio cassette postali: {1}." P1="join(',', $szUniqueArrayLogicalDiskUsedByExchangePRIVMDB)" AlwaysEvaluate="True">
									<Variable Name="T2DList[PRIVMDB]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListSMTP" Query="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSMTP)" Text="Dischi utilizzati dalle code SMTP di Exchange: {4}." P4="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSMTP)" AlwaysEvaluate="True">
									<Variable Name="T2DList[SMTP]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListSG" Query="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSG)" Text="Dischi utilizzati dai file di registro delle transazioni di Exchange: {4}." P4="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSG)" AlwaysEvaluate="True">
									<Variable Name="T2DList[SG]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPage" Query="join(',',$szUniqueArrayLogicalDiskUsedByPage)" Text="Dischi utilizzati per file di paging del sistema: {4}." P4="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSG)" AlwaysEvaluate="True">
									<Variable Name="T2DList[PAGE]" Scope="Children"/>
								</Rule>
							</Setting>
							<Setting Key1="">
								<Rule NextStep="PerfmonDiskHealth" Name="fOnToPerfmonDiskHealth" Query="not($fFatalExchangeErrorNotDirectory and $fFatalExchangeErrorDirectory) and not(@S1='1' or '%varNoPerfmonData%'='1')" Text="- Ricerca di un collo di bottiglia del disco. Lo strumento valuterà lo stato dei dischi seguenti: {4}." S1="%varIsExchange12%" P4="join(', ',$szUniqueArrayLogicalDiskUsedByExchange)" Display="Hide" AlwaysEvaluate="True"/>
								<Rule NextStep="E12Collection_PerfmonDiskHealthE12" Name="fOnToE12PerfmonDiskHealth" Query="not($fFatalExchangeErrorNotDirectory and $fFatalExchangeErrorDirectory) and @S1='1' and not('%varNoPerfmonData%'='1')" Text="- Ricerca di un collo di bottiglia del disco. Questo strumento valuterà lo stato dei seguenti dischi: {4}." S1="%varIsExchange12%" P4="join(', ',$szUniqueArrayLogicalDiskUsedByExchange)" Display="Hide" AlwaysEvaluate="True"/>
							</Setting>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="PerfmonDiskHealth" Title="Stato unità disco" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%ListofDatabaseDrives%" Substitution="ListofDatabaseDrives" Display="Hide"/>
			<Setting Key1="%T2DList[PAGE]%" Substitution="T2DListPage" Display="Hide"/>
			<Setting Key1="%T2DList[SG]%" Substitution="T2DListSG" Display="Hide"/>
			<Setting Key1="%T2DList[SMTP]%" Substitution="T2DListSMTP" Display="Hide"/>
			<Setting Key1="%WinDirDrive%" Substitution="WinDirDrive" Display="Hide"/>
			<Setting Key1="%ROLE%" Substitution="ROLE" Display="Hide"/>
			<Setting Key1="%TEMPDIR%" Substitution="TEMPDIR" Display="Hide"/>
			<Setting Key1="%TMPDIR%" Substitution="TMPDIR" Display="Hide"/>
			<Setting Key1="%TEMPDrive%" Substitution="TEMPDRIVE" Display="Hide"/>
			<Setting Key1="%TMPDrive%" Substitution="TMPDRIVE" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varRPCSymptomFound%" Substitution="varRPCSymptomFound" Display="Hide"/>

			<Object Type="Progress" Text="Attendere, lo strumento raccoglie informazioni sui dischi fisici del server %SERVER%." Title="Misurazione stato disco" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Disk Drive Health" Class="Area" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule Name="fDisplayDiskHealthStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szDrivePerfCount" Query="string(@Title)" Title="Informazioni contatore prestazioni unità disco">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szPerfDiskHealth" Query="'PerfmonDiskHealth'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szPerfmonErrorState" Query="concat($szPerfDiskIssueFound, $szPerfDiskErrorFound)" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szNoIssue8" Query="string(@Title)" Title="Non sono stati rilevati problemi di prestazioni dai contatori delle prestazioni del disco."/>
					<Rule Name="szPerfDiskIssueFound" Query="if($fPerfIssueFound,string(@Title),$szNoIssue8)" Title="È stato rilevato un possibile problema di prestazioni dai contatori delle prestazioni del disco. Su uno o più dischi è stato rilevato un collo di bottiglia delle prestazioni." AlwaysEvaluate="True"/>
					<Rule Name="szPerfDiskErrorFound" Query="if($fPerfDiskErrorFound,string(@Title), '')" Title="Si è verificato un errore durante la lettura delle informazioni dei contatori delle prestazioni." AlwaysEvaluate="True"/>
					<Rule Name="fPerfDiskErrorFound" Query="$fDBErrorAccessingLogicalDiskCounters or $fSGErrorAccessingSGLogicalDiskCounters or $fSGErrorAccessingPerformanceCounters or $fTMPErrorAccessingLogicalDiskCounters or $fTMPErrorAccessingPerformanceCounters or $fTMPErrorAccessingLogicalDiskCounters or $fTMPErrorAccessingPerformanceCounters or $fTEMPErrorAccessingLogicalDiskCounters or $fTEMPErrorAccessingPerformanceCounters or $fSMTPErrorAccessingPerformanceCounters or $fSMTPErrorAccessingSomeCounters or $fPageErrorAccessingLogicalDiskCounters or $fPageErrorAccessingPerformanceCounters" AlwaysEvaluate="True"/>
					<Rule Name="fPerfIssueFound" Query="$fDBDiskBad or $fSGDiskBad or $fTMPDiskBad or $fTEMPDiskBad or $fSMTPDiskBad or $fPageDiskBad or $fLogStallsBad" AlwaysEvaluate="True" Title="Rilevato collo di bottiglia del disco" Text="È stato rilevato un possibile problema di prestazioni dai contatori delle prestazioni del disco. Su uno o più dischi è stato rilevato un collo di bottiglia delle prestazioni." Error="Error" ReportIssue="Summary"/>
					<Rule Name="fNoPerfDiskIssueFound" Query="not($fPerfIssueFound)" AlwaysEvaluate="True" Title="Non sono stati rilevati colli di bottiglia del disco" Text="In fase di analisi, lo strumento non ha rilevato un collo di bottiglia del disco." Error="None" ReportIssue="Summary"/>
					<Rule Query="concat($szPerfDiskIssueFound, $szPerfDiskErrorFound)" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>

					<Object Type="Cache" Name="Disk Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="Intervallo di tempo" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>
							<Object Type="Group" Name="Disk health during the time range: %szTIMERANGE%">
								<!-- DATABASE CHECKS -->

								<Object Type="Cache" Name="Database health: %szTIMERANGE%" Key1="Add" Key2="DBDrive" Key3="%ListofDatabaseDrives%" Key4="," Display="Hide">
									<Setting Substitution="DBDISK" Display="Hide"/>
									<Object Type="Group" Name="%DBDISK%">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="DB%DBDISK%" Timeout="%1000">
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Text="Disco database: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" P9="roundto($.,3)"/>
												<Rule Name="fDBBadInstance" Query="$. = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati relativi ai contatori delle prestazioni" Text="Dati su prestazioni mancanti per '{0}'." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Text="Disco database: valore medio di '{0}' = {9} secondi." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Write')" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%DBDISK%" Format="Max">
												<Rule Name="iDBLogicalDiskAverageDiskSecondsPerWritespikes" Query="ifnumber($.,roundto($.,3))" Text="Disco database: valore massimo di '{0}' = {9}." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Write')" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%DBDISK%" Format="Max">
												<Rule Name="iDBLogicalDiskAverageDiskSecondsPerReadspikes" Query="ifnumber($.,roundto($.,3))" Text="Disco database: valore massimo di '{0}' = {9}." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" P9="roundto($.,3)"/>
											</Setting>

											<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,roundto($.,3))" Text="Disco database: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk Queue Length')" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Disk Reads/sec" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBNumberOfDiskReadsPerSec" Query="ifnumber($.,round($.))" Text="Disco database: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%DBDISK%)\Disk Reads/Sec')" P9="round($.)"/>
											</Setting>

											<Setting Key1="LogicalDisk" Key2="Disk Writes/sec" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBNumberOfDiskWritesPerSec" Query="ifnumber($.,round($.))" Text="Disco database: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%DBDISK%)\Disk Writes/Sec')" P9="round($.)"/>
											</Setting>
											<Rule Name="iDBRATIOofReadsToWrites" Query="if($iDBNumberOfDiskWritesPerSec &gt; 0, roundto($iDBNumberOfDiskReadsPerSec div $iDBNumberOfDiskWritesPerSec,2))" Text="Unità database &quot;{2}&quot;: Rapporto letture/scritture = {1}." P1="roundto($iDBNumberOfDiskReadsPerSec div $iDBNumberOfDiskWritesPerSec,1)" S2="%DBDISK%"/>

											<!-- Error Rules -->
											<Object Type="If" Key1="'%varRPCSymptomFound%'='1'">
												<Object Type="Group" Name="Database Disk Errors" LogText="Elaborazione regole di errore per i dischi del database">
													<Rule Name="fDBLogicalDiskAverageDiskSecondsPerRead20" Query="not($iDBLogicalDiskAverageDiskSecondsPerRead &lt; 0.020)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico contenente i file del database" Text="Disco database: il valore medio di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" S6="20" P7="roundto(@S6 div 1000,3)" P8="$iDBLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iDBLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fDBLogicalDiskAverageDiskSecondsPerReadspikes50" Query="not($iDBLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico contenente i file del database" Text="Disco database: il valore massimo di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iDBLogicalDiskAverageDiskSecondsPerReadspikes*1000" P9="$iDBLogicalDiskAverageDiskSecondsPerReadspikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fDBLogicalDiskAverageDiskSecondsPerWrite20" Query="$fDBDatabasePageFaultStallssec1" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico contenente i file del database" Text="Disco database: il valore medio per '{0}' deve essere inferiore a {7}. Il valore misurato è {9}." P0="localize-path('Database(Information Store)\Page Fault Stalls/sec')" S7="1" P9="$iDBDatabasePageFaultStallssec" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
												</Object>
											</Object>
											<!--Warning Rules-->
											<Object Type="If" Key1="'%varRPCSymptomFound%'!='1'">
												<Object Type="Group" Name="Database Disk Warnings" LogText="Elaborazione regole di avviso per i dischi del database">
													<Rule Name="fDBLogicalDiskAverageDiskSecondsPerRead20Warning" Query="not($iDBLogicalDiskAverageDiskSecondsPerRead &lt; 0.020)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico contenente i file del database" Text="Disco database: il valore medio per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" S6="20" P7="roundto(@S6 div 1000,3)" P8="$iDBLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iDBLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fDBLogicalDiskAverageDiskSecondsPerReadspikes50Warning" Query="not($iDBLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico contenente i file del database" Text="Disco database: il valore massimo per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iDBLogicalDiskAverageDiskSecondsPerReadspikes*1000" P9="$iDBLogicalDiskAverageDiskSecondsPerReadspikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fDBLogicalDiskAverageDiskSecondsPerWrite20Warning" Query="$fDBDatabasePageFaultStallssec1" Error="Warning" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico che contiene i file del database" Text="Disco database: il valore medio per '{0}' deve essere inferiore a {7}. Il valore misurato è {9}." P0="localize-path('Database(Information Store)\Page Fault Stalls/sec')" S7="1" P9="$iDBDatabasePageFaultStallssec" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
												</Object>
											</Object>

											<!-- Next Step rules... -->
											<Rule Name="fDBDiskBad" Query="$fDBLogicalDiskAverageDiskSecondsPerRead20 or $fDBLogicalDiskAverageDiskSecondsPerReadspikes50 or $fDBLogicalDiskAverageDiskSecondsPerWrite20" AlwaysEvaluate="True"/>
											<Rule Name="fDBLogicalDiskAverageDiskQueueLengthNumOfSpindles" Query="not(if($fIsASan and $fIsNotReplicated, $iDBLogicalDiskAverageDiskQueueLength &lt; @S3,0))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico che contiene i file del database" Text="Disco database: valore medio di '{0}' = {9}. Numero di assi: {3}." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk Queue Length')" S3="%NUMBEROFSPINDLES%" P9="$iDBLogicalDiskAverageDiskQueueLength" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>

											<!-- The next 3 rules are added to make debugging easier. Bugs 1507 and 1620 will fix this. -->
											<Rule Name="fIsASan" Query="false()"/>
											<Rule Name="fIsNotASan" Query="true()"/>
											<Rule Name="fIsNotReplicated" Query="false()"/>

											<Rule Name="fDBErrorAccessingLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8')" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità di database" Text="È possibile che i contatori 'LogicalDisk' sull'unità {2} non siano attivati. Utilizzare Diskperf -y per attivare i contatori. {1}." P1="../Exception/@Message" S2="%DBDISK%"/>
											<Rule Name="fDBDiskEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità di database" Text="Uno o più contatori delle prestazioni non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
											<Rule Name="fDBErrorAccessingPerformanceCounters" Query="../Exception and not($fDBErrorAccessingLogicalDiskCounters or $fDBDiskEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità di database" Text="Unità di database '{2}': errore di accesso ai contatori 'LogicalDisk'. {1}." P1="../Exception/@Message" S2="%DBDISK%"/>
										</Object>
									</Object>
								</Object>

								<!-- STORAGE GROUP (TRANSACTION LOG) CHECKS -->

								<Object Type="Cache" Name="Storage group health: %szTIMERANGE%" Key1="Add" Key2="SGDrive" Key3="%T2DListSG%" Key4="," Display="Hide">
									<Setting Substitution="SGDISK" Display="Hide"/>
									<Object Type="Group" Name="%SGDISK%">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="SG%SGDISK%" Timeout="%1000">
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Text="Disco registro transazioni: valore medio di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
												<Rule Name="fSGBadInstance" Query="$. = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati sui contatori delle prestazioni" Text="Dati sulle prestazioni mancanti per '{0}'." P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%SGDISK%" Format="Max">
												<Rule Name="iSGLogicalDiskAverageDiskSecondsPerReadspikes" Query="ifnumber($.,roundto($.,3))" Text="Disco registro transazioni: valore massimo di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Text="Disco registro transazioni: valore medio di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%SGDISK%" Format="Max">
												<Rule Name="iSGLogicalDiskAverageDiskSecondsPerWritespikes" Query="ifnumber($.,roundto($.,3))" Text="Disco registro transazioni: valore massimo di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,round($.))" Text="Disco registro transazioni: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk Queue Length')" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Disk Reads/sec" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGNumberOfDiskReadsPerSec" Query="ifnumber($.,round($.))" Text="Disco registro transazioni: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%SGDISK%)\Disk Reads/Sec')" P9="round($.)"/>
											</Setting>

											<Setting Key1="LogicalDisk" Key2="Disk Writes/sec" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGNumberOfDiskWritesPerSec" Query="ifnumber($.,round($.))" Text="Disco registro transazioni: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%SGDISK%)\Disk Writes/Sec')" P9="round($.)"/>
											</Setting>
											<Rule Name="iSGRatioofReadsToWrites" Query="if($iSGNumberOfDiskWritesPerSec &gt; 0, roundto($iSGNumberOfDiskReadsPerSec div $iSGNumberOfDiskWritesPerSec,2))" Text="Disco registro delle transazioni {2}: Rapporto letture/scritture = {1}." P1="roundto($iSGNumberOfDiskReadsPerSec div $iSGNumberOfDiskWritesPerSec,2)" S2="%SGDISK%"/>

											<!-- Error rules -->
											<Object Type="If" Key1="'%varRPCSymptomFound%'='1'">
												<Object Type="Group" Name="Storage Group Disk Errors" LogText="Elaborazione regole di errore per i dischi del gruppo di archiviazione">
													<Rule Name="fSGLogicalDiskAverageDiskSecondsPerRead20" Query="not($iSGLogicalDiskAverageDiskSecondsPerRead &lt; 0.020)" Error="Error" Sev="1" ReportIssue="Issue" Title="Latenze di lettura elevate per registro transazioni" Text="Disco registro transazioni: il valore medio di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" S6="20" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSGLogicalDiskAverageDiskSecondsPerReadspikes50" Query="not($iSGLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="Latenze di lettura elevate per registro transazioni" Text="Disco registro transazioni: il valore massimo di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerReadspikes*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerReadspikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSGLogicalDiskAverageDiskSecondsPerWrite10" Query="not($fIsNotASan and $iSGLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="Latenze di scrittura elevate per registro transazioni" Text="Disco registro transazioni: il valore medio di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSGLogicalDiskAverageDiskSecondsPerWritespikes50" Query="not($iSGLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="Latenze di scrittura elevate per registro transazioni" Text="Disco registro transazioni: il valore massimo di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerWritespikes*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerWritespikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSGRatioofReadsToWritesLessThan10" Query="not($iSGRatioofReadsToWrites &lt; 0.10) and not($iSGNumberOfDiskReadsPerSec = 0) and $fSGDiskBad" Title="Rilevato problema di prestazioni sul disco contenente i file di registro delle transazioni. Disco {2}: Rapporto letture/scritture = {1}." Text="Il rapporto di letture I/O e scritture I/O sull'unità {2} era {1}. In genere, il rapporto deve essere inferiore a 0,10; un rapporto superiore indica che il disco viene utilizzato per attività diverse dalla scrittura sui file di registro delle transazioni. Per garantire prestazioni ottimali, l'unità del registro dovrebbe essere dedicata ai file di registro delle transazioni." P1="$iSGRatioofReadsToWrites" S2="%SGDISK%" ReportIssue="Issue" Error="Error" Sev="1" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
												</Object>
											</Object>
											<!-- Warning rules -->
											<Object Type="If" Key1="'%varRPCSymptomFound%'!='1'">
												<Object Type="Group" Name="Storage Group Disk Warnings" LogText="Elaborazione regole di avviso per i dischi del gruppo di archiviazione">
													<Rule Name="fSGLogicalDiskAverageDiskSecondsPerRead20Warning" Query="not($iSGLogicalDiskAverageDiskSecondsPerRead &lt; 0.020)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Elevate latenze di lettura del registro transazioni" Text="Disco registro transazioni: il valore medio per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" S6="20" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSGLogicalDiskAverageDiskSecondsPerReadspikes50Warning" Query="not($iSGLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Elevate latenze di lettura del registro transazioni" Text="Disco registro transazioni: il valore massimo '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerReadspikes*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerReadspikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSGLogicalDiskAverageDiskSecondsPerWrite10Warning" Query="not($fIsNotASan and $iSGLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Latenze di scrittura elevate per registro transazioni" Text="Disco registro transazioni: il valore medio per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSGLogicalDiskAverageDiskSecondsPerWritespikes50Warning" Query="not($iSGLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Elevate latenze di scrittura del registro transazioni" Text="Disco registro transazioni: il valore massimo per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerWritespikes*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerWritespikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSGRatioofReadsToWritesLessThan10AndNoRPCSymptomWarning" Query="not($iSGRatioofReadsToWrites &lt; 0.10) and not($iSGNumberOfDiskReadsPerSec = 0) and $fSGDiskBad" Title="Potenziale problema di prestazioni rilevato sul disco che contiene i file di registro delle transazioni. Disco {2}: Rapporto di letture/scritture = {1}." Text="Il rapporto di I/O letture a I/O scritture sull'unità {2} era di {1}. Normalmente, questo rapporto dovrebbe essere inferiore a 0,10; un rapporto più alto indica che questo disco è utilizzato per compiti diversi dalla scrittura sui file di registro delle transazioni. Per ottenere prestazioni ottimali, l'unità di registro dovrebbe essere dedicata ai file di registro delle transazioni." P1="$iSGRatioofReadsToWrites" S2="%SGDISK%" ReportIssue="Issue" Error="Warning" Sev="1" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
												</Object>
											</Object>
											<Rule Name="fSGRatioofReadsToWritesLessThan10AndRPCSymptomWarning" Query="not($iSGRatioofReadsToWrites &lt; 0.10) and not($iSGNumberOfDiskReadsPerSec = 0) and not($fSGDiskBad) and @S3='1'" Title="Potenziale problema di prestazioni rilevato sul disco che contiene i file di registro delle transazioni. Disco {2}: Rapporto di letture/scritture = {1}." Text="Il rapporto di I/O letture a I/O scritture sull'unità {2} era di {1}. Normalmente, questo rapporto dovrebbe essere inferiore a 0,10; un rapporto più alto indica che questo disco è utilizzato per compiti diversi dalla scrittura sui file di registro delle transazioni. Per ottenere prestazioni ottimali, l'unità di registro dovrebbe essere dedicata ai file di registro delle transazioni." P1="$iSGRatioofReadsToWrites" S2="%SGDISK%" S3="%varRPCSymptomFound%" ReportIssue="Issue" Error="Warning" Sev="1" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>

											<!-- NextStep Rules -->
											<Rule Name="fSGDiskBad" Query="$fSGLogicalDiskAverageDiskSecondsPerRead20 or $fSGLogicalDiskAverageDiskSecondsPerReadspikes50 or $fSGLogicalDiskAverageDiskSecondsPerWrite10 or $fSGLogicalDiskAverageDiskSecondsPerWritespikes50" AlwaysEvaluate="True"/>
											<Rule Name="fSGLogicalDiskAverageDiskSecondsPerWrite5" Query="not(if($fIsASan and $fIsNotReplicated, $iSGLogicalDiskAverageDiskSecondsPerWrite &lt; 0.005,0))" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevate latenze di scrittura del registro transazioni" Text="Disco registro transazioni: valore medio di '{0}' = {9} ({8} ms), superiore alla soglia di {7} secondi ({6} ms)." P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerWrite*1000" P9="round($iSGLogicalDiskAverageDiskSecondsPerWrite)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>


											<Rule Name="fSGErrorAccessingSGLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8') and not($fDBErrorAccessingLogicalDiskCounters)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per unità registro transazioni" Text="Disco registro transazioni {2}: è possibile che i contatori del disco logico non siano attivati. Utilizzare Diskperf -y per attivare i contatori. {1}." P1="../Exception/@Message" S2="%SGDISK%"/>
											<Rule Name="fSGErrorAccessingPerformanceCounters" Query="../Exception and not($fSGErrorAccessingSGLogicalDiskCounters or $fDBErrorAccessingLogicalDiskCounters or $fSGEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore di accesso ai contatori delle prestazioni 'LogicalDisk' per unità registro transazioni" Text="Disco registro transazioni {2}: errore di accesso ai contatori 'LogicalDisk'. {1}." P1="../Exception/@Message" S2="%SGDISK%"/>
											<Rule Name="fSGEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per unità registro transazioni" Text="Uno o più contatori delle prestazioni non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
										</Object>
									</Object>
								</Object>

								<!-- TMP DRIVE CHECKS -->
								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="TMP" Timeout="%1000">
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%TMPDRIVE%" Format="Average">
										<Rule Name="iTMPLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="Unità TMP: valore medio di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
										<Rule Name="fTMPBadInstance" Query="$. = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati relativi ai contatori delle prestazioni" Text="Dati sulle prestazioni mancanti per '{0}'." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%TMPDRIVE%" Format="Max">
										<Rule Name="iTMPLogicalDiskAverageDiskSecondsPerReadspikes" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="Unità TMP: valore massimo di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" P8="roundto($.,3)*1000" P9="roundto($.,3)"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%TMPDRIVE%" Format="Average">
										<Rule Name="iTMPLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="Unità TMP: valore medio di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%TMPDRIVE%" Format="Max">
										<Rule Name="iTMPLogicalDiskAverageDiskSecondsPerWritespikes" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="Unità TMP: valore massimo di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="round($.)"/>
									</Setting>

									<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%TMPDRIVE%" Format="Average">
										<Rule Name="iTMPLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,round($.))" Error="None" Sev="1" Text="Unità TMP: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk Queue Length')" P9="round($.)"/>
									</Setting>
									<!--TMP Drive Error Rules-->
									<Object Type="If" Key1="'%varRPCSymptomFound%'='1'">
										<Object Type="Group" Name="Tmp Drive Disk Errors" LogText="Elaborazione regole di errore per l'unità TMP">
											<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerRead10" Query="not($iTMPLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevate latenze di lettura unità TMP" Text="Unità TMP: il valore medio di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerRead*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerRead,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerReadSpikes50" Query="not($iTMPLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevate latenze di lettura unità TMP" Text="Unità TMP: il valore massimo di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerReadspikes*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerReadspikes,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerWrite10" Query="not($iTMPLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevate latenze di lettura unità TMP" Text="Unità TMP: il valore medio di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerWrite*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerWrite,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerWriteSpikes50" Query="not($iTMPLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevate latenze di lettura unità TMP" Text="Unità TMP: il valore massimo di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerWritespikes*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerWritespikes,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										</Object>
									</Object>
									<!--TMP Drive Warning Rules-->
									<Object Type="If" Key1="'%varRPCSymptomFound%'!='1'">
										<Object Type="Group" Name="Tmp Drive Disk Warnings" LogText="Elaborazione regole di avviso per l'unità TMP">
											<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerRead10Warning" Query="not($iTMPLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Elevate latenze di lettura dell'unità TMP" Text="Unità TMP: il valore medio di '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerRead*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerRead,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerReadSpikes50Warning" Query="not($iTMPLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Elevate latenze di lettura dell'unità TMP" Text="Unità TMP: il valore massimo di '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerReadspikes*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerReadspikes,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerWrite10Warning" Query="not($iTMPLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Elevate latenze di scrittura dell'unità TMP" Text="Unità TMP: il valore medio di '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerWrite*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerWrite,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerWriteSpikes50Warning" Query="not($iTMPLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Elevate latenze di scrittura dell'unità TMP" Text="Unità TMP: il valore massimo '{0}' deve essere inferiore a {7} ({6} ms) per l'unità TMP. Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerWritespikes*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerWritespikes,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										</Object>
									</Object>
									<Rule Name="fTMPDiskBad" Query="$fTMPLogicalDiskAverageDiskSecondsPerRead10 or $fTMPLogicalDiskAverageDiskSecondsPerReadSpikes50 or $fTMPLogicalDiskAverageDiskSecondsPerWrite10 or $fTMPLogicalDiskAverageDiskSecondsPerWriteSpikes50" AlwaysEvaluate="True"/>
									<Rule Name="fTMPErrorAccessingLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8') and not($fDBErrorAccessingLogicalDiskCounters)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità TMP" Text="È possibile che i contatori 'LogicalDisk' dell'unità TMP {4} non siano attivati. Utilizzare Diskperf -y per attivare i contatori. {1}." P1="../Exception/@Message" S4="%TMPDRIVE%"/>
									<Rule Name="fTMPErrorAccessingPerformanceCounters" Query="../Exception and not($fTMPErrorAccessingLogicalDiskCounters or $fDBErrorAccessingLogicalDiskCounters or $fTMPEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità TMP" Text="Errore di accesso ai contatori 'LogicalDisk'. {1}." P1="../Exception/@Message"/>
									<Rule Name="fTMPEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità TMP" Text="Uno o più contatori delle prestazioni non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
								</Object>

								<!-- TEMP DRIVE CHECKS -->

								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="TEMP" Timeout="%1000">
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%TEMPDRIVE%" Format="Average">
										<Rule Name="iTEMPLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="Unità TEMP: valore medio di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>

										<Rule Name="fTEMPBadInstance" Query="$. = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati relativi ai contatori delle prestazioni" Text="Dati sulle prestazioni mancanti per {0}." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%TEMPDRIVE%" Format="Max">
										<Rule Name="iTEMPLogicalDiskAverageDiskSecondsPerReadspikes" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="Unità TEMP: valore massimo di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
									</Setting>

									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%TEMPDRIVE%" Format="Average">
										<Rule Name="iTEMPLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="Unità TEMP: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" P9="round($.)"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%TEMPDRIVE%" Format="Max">
										<Rule Name="iTEMPLogicalDiskAverageDiskSecondsPerWritespikes" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="Unità TEMP: valore massimo di '{0}' = {9}." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" P9="round($.)"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%TEMPDRIVE%" Format="Average">
										<Rule Name="iTEMPLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,round($.))" Error="None" Sev="1" Text="Unità TEMP: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk Queue Length')" P9="round($.)"/>
									</Setting>
									<!--Temp Drive Errors-->
									<Object Type="If" Key1="'%varRPCSymptomFound%'='1'">
										<Object Type="Group" Name="Temp Drive Disk Errors" LogText="Elaborazione regole di errore per l'unità TEMP">
											<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerRead10" Query="ifnumber($iTEMPLogicalDiskAverageDiskSecondsPerRead,not($iTEMPLogicalDiskAverageDiskSecondsPerRead &lt; 0.010))" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevate latenze di lettura unità TEMP" Text="Unità TEMP: il valore medio per '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerReadSpikes50" Query="ifnumber($iTEMPLogicalDiskAverageDiskSecondsPerReadspikes,not($iTEMPLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050))" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevate latenze di lettura unità TEMP" Text="Unità TEMP: il valore massimo per '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerReadspikes*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerReadspikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerWrite10" Query="ifnumber($iTEMPLogicalDiskAverageDiskSecondsPerWrite,not($iTEMPLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010))" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevate latenze di scrittura unità TEMP" Text="Unità TEMP: il valore medio per '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerWriteSpikes50" Query="ifnumber($iTEMPLogicalDiskAverageDiskSecondsPerWritespikes,not($iTEMPLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050))" Error="Error" Sev="1" ReportIssue="Issue" Title="Elevate latenze di scrittura unità TEMP" Text="Unità TEMP: il valore massimo per '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerWritespikes*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerWritespikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										</Object>
									</Object>
									<!--Temp Drive Warnings-->
									<Object Type="If" Key1="'%varRPCSymptomFound%'!='1'">
										<Object Type="Group" Name="Temp Drive Disk Warnings" LogText="Elaborazione regole di avviso per l'unità TEMP">
											<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerRead10Warning" Query="ifnumber($iTEMPLogicalDiskAverageDiskSecondsPerRead,not($iTEMPLogicalDiskAverageDiskSecondsPerRead &lt; 0.010))" Error="Warning" Sev="2" ReportIssue="Issue" Title="Elevate latenze di lettura dell'unità TEMP" Text="Unità TEMP: il valore medio per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerReadSpikes50Warning" Query="ifnumber($iTEMPLogicalDiskAverageDiskSecondsPerReadspikes,not($iTEMPLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050))" Error="Warning" Sev="2" ReportIssue="Issue" Title="Elevate latenze di lettura dell'unità TEMP" Text="Unità TEMP: il valore massimo per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerReadspikes*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerReadspikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerWrite10Warning" Query="ifnumber($iTEMPLogicalDiskAverageDiskSecondsPerWrite,not($iTEMPLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010))" Error="Warning" Sev="2" ReportIssue="Issue" Title="Elevate latenze di scrittura dell'unità TEMP" Text="Unità TEMP: il valore medio per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerWriteSpikes50Warning" Query="ifnumber($iTEMPLogicalDiskAverageDiskSecondsPerWritespikes,not($iTEMPLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050))" Error="Warning" Sev="2" ReportIssue="Issue" Title="Elevate latenze di scrittura dell'unità TEMP" Text="Unità TEMP: il valore massimo per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerWritespikes*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerWritespikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										</Object>
									</Object>
									<Rule Name="fTEMPDiskBad" Query="$fTEMPLogicalDiskAverageDiskSecondsPerRead10 or $fTEMPLogicalDiskAverageDiskSecondsPerReadSpikes50 or $fTEMPLogicalDiskAverageDiskSecondsPerWrite10 or $fTEMPLogicalDiskAverageDiskSecondsPerWriteSpikes50" AlwaysEvaluate="True"/>

									<Rule Name="fTEMPErrorAccessingLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8') and not($fDBErrorAccessingLogicalDiskCounters)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità TEMP" Text="È possibile che i contatori 'LogicalDisk' dell'unità TEMP {4} non siano attivati. Utilizzare Diskperf -y per attivare i contatori. {1}." P1="../Exception/@Message" S4="%TEMPDRIVE%"/>
									<Rule Name="fTEMPErrorAccessingPerformanceCounters" Query="../Exception and not($fTEMPErrorAccessingLogicalDiskCounters or $fDBErrorAccessingLogicalDiskCounters or $fTEMPEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità TEMP" Text="Errore di accesso ai contatori 'LogicalDisk'. {1}." P1="../Exception/@Message"/>
									<Rule Name="fTEMPEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità TEMP" Text="Uno o più contatori delle prestazioni non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>

								</Object>

								<!--- The measure SMTP Disk health -->

								<Object Type="Cache" Name="SMTP health: %szTIMERANGE%" Key1="Add" Key2="SMTPDrive" Key3="%T2DListSMTP%" Key4="," Display="Hide">
									<Setting Substitution="SMTPDISK" Display="Hide"/>
									<Object Type="Group" Name="%SMTPDISK%">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="SMTP%SMTPDISK%" Timeout="%1000">
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%SMTPDISK%" Format="Average">
												<Rule Name="iSMTPLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Text="Disco SMTP: valore medio di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%SMTPDISK%" Format="Max">
												<Rule Name="iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes" Query="ifnumber($.,roundto($.,3))" Text="Disco SMTP: valore massimo di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%SMTPDISK%" Format="Average">
												<Rule Name="iSMTPLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Text="Disco SMTP: valore medio di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%SMTPDISK%" Format="Max">
												<Rule Name="iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes" Query="ifnumber($.,roundto($.,3))" Text="Disco SMTP: valore massimo di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%SMTPDISK%" Format="Average">
												<Rule Name="iSMTPLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,roundto($.,1))" Text="Disco SMTP: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk Queue Length')" P9="roundto($.,1)"/>
											</Setting>
											<!--SMTP Drive Errors-->
											<Object Type="If" Key1="'%varRPCSymptomFound%'='1'">
												<Object Type="Group" Name="SMTP Drive Disk Errors" LogText="Elaborazione regole di errore per l'unità SMTP">
													<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerRead10" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che ospita il server SMTP: latenza di lettura media" Text="Unità SMTP: il valore medio di '{0}' deve essere inferiore a {6} ({7} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerReadSpikes50" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che contiene il server SMTP: latenza di lettura massima" Text="Unità SMTP: il valore massimo di '{0}' deve essere inferiore a {6} ({7} ms). Valore massimo misurato: {9} secondi ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerWrite10" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che contiene il server SMTP: latenza di scrittura media" Text="Unità SMTP: il valore medio di '{0}' deve essere inferiore a {6} ({7} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes50" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che contiene il server SMTP: latenza di scrittura massima" Text="Unità SMTP: il valore massimo di '{0}' deve essere inferiore a {6} ({7} ms). Valore massimo misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
												</Object>
											</Object>
											<!--SMTP Drive Warnings-->
											<Object Type="If" Key1="'%varRPCSymptomFound%'!='1'">
												<Object Type="Group" Name="SMTP Drive Disk Warnings" LogText="Elaborazione regole di avviso per l'unità SMTP">
													<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerRead10Warning" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che ospita il server SMTP: latenza di lettura media" Text="Unità SMTP: il valore medio di '{0}' deve essere inferiore a {6} ({7} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerReadSpikes50Warning" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes &lt; 0.050)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che contiene il server SMTP: latenza di lettura massima" Text="Unità SMTP: il valore massimo di '{0}' deve essere inferiore a {6} ({7} ms). Valore massimo misurato: {9} secondi ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerWrite10Warning" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che contiene il server SMTP: latenza di scrittura media" Text="Unità SMTP: il valore medio di '{0}' deve essere inferiore a {6} ({7} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
													<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes50Warning" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes &lt; 0.050)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Problema di prestazioni del disco logico sull'unità che contiene il server SMTP: latenza di scrittura massima" Text="Unità SMTP: il valore massimo di '{0}' deve essere inferiore a {6} ({7} ms). Valore massimo misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
												</Object>
											</Object>
											<Rule Name="fSMTPDiskBad" Query="$fSMTPLogicalDiskAverageDiskSecondsPerRead10 or $fSMTPLogicalDiskAverageDiskSecondsPerReadSpikes50 or $fSMTPLogicalDiskAverageDiskSecondsPerWrite10 or $fSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes50" AlwaysEvaluate="True"/>
											<Rule Name="fSMTPErrorAccessingPerformanceCounters" Query="../Exception and not($fDBErrorAccessingLogicalDiskCounters) and not($fSMTPEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità SMTP" Text="Unità SMTP '{2}': errore di accesso ai contatori delle prestazioni 'LogicalDisk'. {1}." P1="../Exception/@Message" S2="%SMTPDISK%"/>
											<Rule Name="fSMTPErrorAccessingSomeCounters" Query="contains(../Exception/@Message,'0xc0000bdb') and not($fSMTPErrorAccessingPerformanceCounters or $fDBErrorAccessingLogicalDiskCounters or $fSMTPEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità SMTP" Text="Unità SMTP {2} L'accesso utente corrente potrebbe non disporre delle autorizzazioni sufficienti per accedere ai contatori delle prestazioni. {1}." P1="../Exception/@Message" S2="%SMTPDISK%"/>
											<Rule Name="fSMTPEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per l'unità SMTP" Text="Uno o più contatori delle prestazioni non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
										</Object>
									</Object>
								</Object>

								<!-- PAGE DISK CHECKS -->
								<Object Type="Cache" Name="Storage group health: %szTIMERANGE%" Key1="Add" Key2="PageDrive" Key3="%T2DListPage%" Key4="," Display="Hide">
									<Setting Substitution="PAGEDISK" Display="Hide"/>
									<Object Type="Group" Name="%PAGEDISK%">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="PAGE%PAGEDISK%" Timeout="%1000">
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%PAGEDISK%" Format="Average">
												<Rule Name="iPageLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Text="Unità file di paging: valore medio di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Read')" P8="roundto($.*1000,1)" P9="roundto($.,3)"/>
												<Rule Name="fPageBadInstance" Query="$. = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati sui contatori delle prestazioni per unità file di paging" Text="Dati sulle prestazioni mancanti per '{0}'." P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Read')"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%PAGEDISK%" Format="Average">
												<Rule Name="iPageLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Text="Unità file di paging: valore medio di '{0}' = {9} ({8} ms)." P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%PAGEDISK%" Format="Average">
												<Rule Name="iPageLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Unità file di paging: valore medio di '{0}' = {9}." P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk Queue Length')" P9="roundto($.,2)"/>
											</Setting>
											<Setting Key1="Paging File" Key2="% Usage" Key3="_Total" Format="Average">
												<Rule Name="iPagingFilePercentUsage" Query="ifnumber($.,round($.))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Paging File(_Total)\% Usage')" P9="round($.)"/>
											</Setting>
											<!-- Error Rules -->
											<Object Type="If" Key1="'%varRPCSymptomFound%'='1'">
												<Object Type="Group" Name="Paging Drive Disk Errors" LogText="Elaborazione regole di errore per l'unità di paging">
													<Rule Name="fPageLogicalDiskAverageDiskSecondsPerRead10" Query="not($iPageLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico contenente il file di paging del sistema" Text="Unità file di paging: il valore medio di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iPageLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iPageLogicalDiskAverageDiskSecondsPerRead" GUID="cddd6e3f-bd51-4e4a-bbbb-6c24dacd42d7"/>
													<Rule Name="fPageLogicalDiskAverageDiskSecondsPerWrite10" Query="not($iPageLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico contenente il file di paging del sistema" Text="Unità file di paging: il valore medio di '{0}' deve essere inferiore a {7} ({6} ms). Valore misurato: {9} ({8} ms)." P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iPageLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iPageLogicalDiskAverageDiskSecondsPerWrite" GUID="cddd6e3f-bd51-4e4a-bbbb-6c24dacd42d7"/>
												</Object>
											</Object>
											<Rule Name="fPagePagingFilePercentUsage50" Query="not($iPagingFilePercentUsage &lt; 50)" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico contenente il file di paging del sistema" Text="Unità file di paging: il valore medio di '{0}' deve essere inferiore a {8}. Valore misurato: {9}%." P0="localize-path('Paging File(_Total)\% Usage')" S8="50" P9="$iPagingFilePercentUsage" GUID="faf40b30-9cc2-4aea-a565-6b560f9c0f49"/>
											<Rule Name="fPageDiskBad" Query="$fPageLogicalDiskAverageDiskSecondsPerRead10 or $fPageLogicalDiskAverageDiskSecondsPerWrite10 or $fPagePagingFilePercentUsage50" AlwaysEvaluate="True"/>
											<Rule Name="iPageLogicalDiskAverageDiskQueueLengthNumberOfSpindles" Query="not(if($fIsASan and $fIsNotReplicated, $iPageLogicalDiskAverageDiskQueueLength &lt; @S3,0))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico contenente il file di paging del sistema" Text="Unità file di paging: valore medio di '{0}' = {9}. Numero di assi: {3}." P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk Queue Length')" S3="%NUMBEROFSPINDLES%" P9="$iPageLogicalDiskAverageDiskQueueLength"/>
											<Rule Name="fPageErrorAccessingLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8') and not($fDBErrorAccessingLogicalDiskCounters)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per unità file di paging" Text="È possibile che i contatori 'LogicalDisk' nell'unità {2} non siano attivati. Utilizzare Diskperf -y per attivare i contatori. {1}." P1="../Exception/@Message" S2="%PAGEDISK%"/>
											<Rule Name="fPageErrorAccessingPerformanceCounters" Query="../Exception and not($fDBErrorAccessingLogicalDiskCounters or $fPageErrorAccessingLogicalDiskCounters or $fPageEntryNotInLogFile)" Error="Error" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per unità file di paging" Text="Unità file di paging {2}: errore di accesso ai contatori 'LogicalDisk'. {1}." P1="../Exception/@Message" S2="%PAGEDISK%"/>
											<Rule Name="fPageEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore di accesso ai dati sulle prestazioni 'LogicalDisk' per unità file di paging" Text="Uno o più contatori delle prestazioni non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
											<!--Warning Rules-->
											<Object Type="If" Key1="'%varRPCSymptomFound%'!='1'">
												<Object Type="Group" Name="Paging Drive Disk Warnings" LogText="Elaborazione regole di avviso per l'unità di paging">
													<Rule Name="fPageLogicalDiskAverageDiskSecondsPerRead10Warning" Query="not($iPageLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico che contiene il file di paging del sistema" Text="Unità file di paging: il valore medio per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iPageLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iPageLogicalDiskAverageDiskSecondsPerRead" GUID="cddd6e3f-bd51-4e4a-bbbb-6c24dacd42d7"/>
													<Rule Name="fPageLogicalDiskAverageDiskSecondsPerWrite10Warning" Query="not($iPageLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico che contiene il file di paging del sistema" Text="Unità file di paging: il valore medio per '{0}' deve essere inferiore a {7} ({6} ms). Il valore misurato è {9} ({8} ms)." P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iPageLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iPageLogicalDiskAverageDiskSecondsPerWrite" GUID="cddd6e3f-bd51-4e4a-bbbb-6c24dacd42d7"/>
												</Object>
											</Object>
										</Object>
									</Object>
								</Object>

								<!-- Get the Log health: Log Record Stalls and Threads Waiting -->

								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="LOGSTALLDUP" Timeout="%1000">
									<Setting Key1="Database" Key2="Log Record Stalls/sec" Key3="Information Store" Format="Average">
										<Rule Name="fAvgLogRecordStallsPerSec10" Query="$. &gt; 10 and not($fSGBadInstanceLogRecord)" Error="Error" ReportIssue="Issue" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Il valore medio di '{0}' è {9} e supera il valore di soglia {8}. È possibile che l'unità disco di registro sia un collo di bottiglia." P0="localize-path('Database(Information Store)\Log Record Stalls/sec')" S8="10" P9="roundto($.,2)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="iAvgLogRecordStallsPerSec" Query="ifnumber($.,roundto($.,2))" Error="None" Text="Valore medio di '{0}' = {9}." P0="localize-path('Database(Information Store)\Log Record Stalls/sec')" P9="roundto($.,2)"/>
										<Rule Name="fSGBadInstanceLogRecord" Query="$. = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati relativi ai contatori delle prestazioni" Text="Dati sulle prestazioni mancanti per '{0}'." P0="localize-path('Database(Information Store)\Log Record Stalls/sec')"/>

									</Setting>
									<Setting Key1="Database" Key2="Log Record Stalls/sec" Key3="Information Store" Format="Max">
										<Rule Name="fMaxLogRecordStallsPerSec10" Query="$. &gt; 100 and not($fSGBadInstanceLogRecord)" Error="Error" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' è {9} e supera il valore di soglia {8}. È possibile che l'unità disco di registro sia un collo di bottiglia." P0="localize-path('Database(Information Store)\Log Record Stalls/sec')" S8="100" P9="roundto($.,2)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="iMaxLogRecordStallsPerSec" Query="ifnumber($.,roundto($.,2))" Error="None" Text="Valore massimo di '{0}' = {9}." P0="localize-path('Database(Information Store)\Log Record Stalls/sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Database" Key2="Log Threads Waiting" Key3="Information Store" Format="Average">
										<Rule Name="fAvgLogThreadsWaiting10" Query="$. &gt; 10" Error="Error" ReportIssue="Issue" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Il valore medio di '{0}' è {9} e supera il valore di soglia {8}. È possibile che l'unità disco di registro sia un collo di bottiglia." P0="localize-path('Database(Information Store)\Log Threads Waiting')" S8="10" P9="roundto($.,2)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="iAvgLogThreadsWaiting" Query="ifnumber($.,$.)" Text="Valore medio di '{0}' = {9}." P0="localize-path('Database(Information Store)\Log Threads Waiting')" P9="roundto($.,2)"/>
										<Rule Name="fSGBadInstanceLogThreadsWaiting" Query="$. = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati relativi ai contatori delle prestazioni" Text="Dati sulle prestazioni mancanti per '{0}'." P0="localize-path('Database(Information Store)\Log Threads Waiting')"/>
									</Setting>
									<Setting Key1="Database" Key2="Log Threads Waiting" Key3="Information Store" Format="Max">
										<Rule Name="fMaxLogThreadsWaiting20" Query="$. &gt; 20 and not($fSGBadInstanceLogThreadsWaiting)" Error="Error" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' è {9} e supera il valore di soglia {8}. È possibile che l'unità disco di registro sia un collo di bottiglia." P0="localize-path('Database(Information Store)\Log Threads Waiting')" S8="20" P9="$." GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="iMaxLogThreadsWaiting" Query="ifnumber($.,roundto($.,2))" Error="None" Text="Valore massimo di '{0}' = {9}." P0="localize-path('Database(Information Store)\Log Threads Waiting')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Database" Key2="Database Page Fault Stalls/sec" Key3="Information Store" Format="Average">
										<Rule Name="iDBDatabasePageFaultStallssec" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="localize-path('Database(Information Store)\Page Fault Stalls/sec')" P9="roundto($.,3)"/>
										<Rule Name="fDBBadInstancePageFaultStallsSec" Query="$. = 'NaN'" Error="Warning" Title="Errore durante la raccolta dei dati sui contatori delle prestazioni del database" Text="Dati sulle prestazioni mancanti per '{0}'." P0="localize-path('Database(Information Store)\Database Page Fault Stalls/sec')"/>
										<Rule Name="fDBDatabasePageFaultStallssec0" Query="ifnumber($.,not($iDBDatabasePageFaultStallssec &lt; 0.05))" Error="Error" Sev="1" ReportIssue="Issue" Title="Problema di prestazioni rilevato sul disco logico che contiene i file del database" Text="Il valore medio di '{0}' deve essere zero. Valore misurato: {9}." P0="localize-path('Database(Information Store)\Database Page Fault Stalls/sec')" P9="$iDBDatabasePageFaultStallssec" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="fDBDatabasePageFaultStallssec1" Query="ifnumber($.,not($iDBDatabasePageFaultStallssec &lt; 1))"/>

									</Setting>
									<Rule Name="fLogStallsBad" Query="$fAvgLogRecordStallsPerSec10 or $fMaxLogRecordStallsPerSec10 or $fAvgLogThreadsWaiting10 or $fMaxLogThreadsWaiting20" AlwaysEvaluate="True"/>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CollectPerfMonData" Title="Raccolta dati sulle prestazioni" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szSERVER" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%varCollectPDHLocally%" Substitution="varCollectPDHLocally" Display="Hide"/>
			<Setting Key1="%iSAMPLECOUNT%" Substitution="iSAMPLECOUNT" Display="Hide"/>
			<Setting Key1="%iSampleInterval%" Substitution="iSAMPLEINTERVAL" Display="Hide"/>
			<Setting Key1="%LOCALWINXPANDNOTSP2%" Substitution="LOCALWINXPANDNOTSP2" Display="Hide"/>
			<Setting Key1="%LOCALWIN2000%" Substitution="LOCALWIN2000" Display="Hide"/>
			<Setting Key1="%varLocalPDHDir%" Substitution="varLocalPDHDir" Display="Hide"/>
			<Object Type="Progress" SubType="NoCancel" Title="Raccolta dati sulle prestazioni dal server Exchange" Text="Attendere. Raccolta dati relativi ai contatori delle prestazioni dal server di Exchange %szSERVER% in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="Performance Data Collection" Display="Hide" Timeout="%500" SecurityContext="EXLOGON">
					<Rule Name="fDisplayCollectPerfMonDataStep" NextStep="DisplayResultsStep" Query="$fFatalErrorCollectingPerfmon" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szCollectPerfMonData" Query="'CollectPerfMonData'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<!-- Overall success or failure? -->
					<Rule Name="szError6" Query="string(@Title)" Title="Rilevati uno o più errori."/>
					<Rule Name="szErrorStateTextCollectPerfMonData" Query="if(not($fFatalErrorCollectingPerfmon),string(@Title),$szError6)" Title="I dati sulle prestazioni sono stati raccolti correttamente nel file %szPDHFILE%." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCollectPerfMonDataResult" Query="string(@Title)" Title="Risultati raccolta dati sulle prestazioni">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>

					<!-- Establish default settings for performance sampling -->
					<Object Type="Group" Display="Hide" SecurityContext="">
						<!-- Collect Performance Data to a BLG file -->
						<Object Type="If" Name="Collect Pdh Data" Key1="'%varCollectPDHLocally%'='1'">
							<Object Type="PdhCollect" Name="Performance Data" Key1="%szSERVER%" Key2="%iSAMPLECOUNT%" Key3="%iSAMPLEINTERVAL%" Key4="%szPDHFILE%" Timeout="%1000" SecurityContext="EXLOGON">
								<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total"/>
								<Setting Key1="__COUNTERFILE" Key2="%varLocalPDHDir%\PerfCounters_%szSERVER%.txt"/>
								<Rule Name="fErrorBadServerName" Query="../Exception[contains(@Message,'0x800007d0')]" Error="Warning" Title="Errore durante la raccolta dati sulle prestazioni: nome server errato" Text="Errore durante la raccolta dati sulle prestazioni per i contatori: &quot;{0}&quot;; nome server specificato non valido." P0="join(', ',../Exception[contains(@Message,'0x800007d0')]/@Path)"/>
								<Rule Name="fErrorBadPathName" Query="../Exception[contains(@Message,'0xc0000bc0')]" Error="Warning" Title="Errore durante la raccolta dati sulle prestazioni: percorso del contatore prestazioni errato" Text="Errore durante la raccolta dati sulle prestazioni per i contatori: &quot;{0}&quot;; percorso del contatore prestazioni specificato non valido." P0="join(', ',../Exception[contains(@Message,'0xc0000bc0')]/@Path)"/>
								<Rule Name="fErrorBadObjectName" Query="../Exception[contains(@Message,'0xc0000bb8')]" Error="Warning" Title="Errore durante la raccolta dati sulle prestazioni: oggetto prestazioni errato" Text="Errore durante la raccolta dati sulle prestazioni per i contatori: &quot;{0}&quot;; oggetto prestazioni specificato non valido." P0="join(', ',../Exception/@Path)"/>
								<Rule Name="fErrorBadCounterName" Query="../Exception[contains(@Message,'c0000bb9')]" Error="Warning" Title="Errore durante la raccolta dati sulle prestazioni: contatore prestazioni errato" Text="Errore durante la raccolta dati sulle prestazioni per i contatori: &quot;{0}&quot;; contatore prestazioni specificato non valido." P0="join(', ',../Exception[contains(@Message,'0xc0000bb9')]/@Path)"/>
								<Rule Name="fFatalErrorBadCounterFileName" Query="../Exception[@HResult='-2147024894']" Error="Warning" Title="Errore durante la raccolta dati sulle prestazioni: contatore file errato" Text="Errore durante la lettura dei contatori prestazioni dai file. {1}" P1="join(' ',../Exception[@HResult='-2147024894']/@Message)"/>
								<Rule Name="fFatalErrorCollectingPerfmon" Query="../Exception and not(contains(../Exception/@Message,'0x800007d1') or contains(../Exception/@Message,'0xc00007d0') or contains(../Exception/@Message,'0xc0000bc0') or contains(../Exception/@Message,'0xc0000bb8') or contains(../Exception/@Message,'0xc0000bb9'))"/>
								<Rule Name="fNonFatalErrorCollectingPerfmon" Query="../Exception and not($fFatalErrorCollectingPerfmon)" AlwaysEvaluate="True"/>
								<Rule Name="fAllExceptions" Query="../Exception[not(@Path='')]" Error="Warning" Title="Errore durante la raccolta di alcuni contatori prestazioni" Text="Si sono verificati errori durante la raccolta dei dati sulle prestazioni per i contatori seguenti: {1}." P1="join(', ',../Exception[not(@Path='')]/@Path)"/>
								<Rule Name="fFileExistsError" Query="contains(../Exception/@Message,'0xc0000bc9')" Title="Errore di file: impossibile raccogliere i dati sulle prestazioni" Text="Impossibile raccogliere i dati sulle prestazioni. Si è verificato un errore durante la creazione del file {1}. Specificare un altro nome file." S1="%szPDHFILE%" Error="Error" Sev="1"/>
								<Rule Name="fInstanceExists" Query="../Instance[1]"/>
								<Rule Name="fNoInstanceExistsErrorTell" Query="$fNoInstanceExistsError and not($fNoInstanceExistsErrorBadOS)" Error="Error" Title="Errore irreversibile durante la raccolta dei dati sulle prestazioni" Text="Si è verificato un errore durante la raccolta dei dati sulle prestazioni."/>
								<Rule Name="fNoInstanceExistsErrorBadOS" Query="$fNoInstanceExistsError and (@S1=1 or @S2=1)" S1="%LOCALWINXPANDNOTSP2%" S2="%LOCALWIN2000%" Error="Error" Title="Errore irreversibile durante la raccolta dei dati sulle prestazioni" Text="Per raccogliere i dati sulle prestazioni, questo strumento deve essere eseguito su Windows XP Service Pack 2 o versione successiva o su Windows Server 2003."/>
								<Rule Name="fSummaryFailedToCollect" Query="not($fSuccessCollect)" Error="Error" Title="Errore irreversibile durante la raccolta dei dati sulle prestazioni" Text="Impossibile raccogliere i dati sulle prestazioni." ReportIssue="Summary" AlwaysEvaluate="True"/>
								<Rule Name="fSummarySomeFailure" Query="($fNonFatalErrorCollectingPerfmon or $fAllExceptions) and not($fSummaryFailedToCollect)" Error="Warning" Title="Errore non irreversibile durante la raccolta dei dati sulle prestazioni" Text="Si sono verificati uno o più errori durante la raccolta dei dati sulle prestazioni. È possibile che alcuni dati sulle prestazioni non siano stati raccolti." ReportIssue="Summary" AlwaysEvaluate="True"/>
							</Object>
							<Rule Name="fNoInstanceExistsError" Query="not($fInstanceExists)" AlwaysEvaluate="True"/>
							<!-- Add rules to check for exceptions/errors. Don't forget about differences between Ex2000 and Ex2003 counters -->
							<Rule Name="fSuccessCollect" Query="not($fFatalErrorCollectingPerfmon) and not($fNoInstanceExistsError)">
							</Rule>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetPerfMonTimeFrame" Title="Analisi dei dati sulle prestazioni" Display="Left">
		<!-- This step is called when a users specifies a pre-existing performance data file; the step determines the time ranges of data in the file. -->
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szSERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%iTimeSliceDuration%" Substitution="iDURATION" Display="Hide"/>
			<Setting Key1="%szAll%" Substitution="szAll" Display="Hide"/>
			<Setting Key1="%szAllBadRPC%" Substitution="szAllBadRPC" Display="Hide"/>
			<Setting Key1="%varIsMailboxServer%" Substitution="varIsMailboxServer" Display="Hide"/>
			<Object Type="Progress" Text="Attendere, i dati sulle prestazioni vengono letti dal file %szPDHFILE%. L'operazione può richiedere alcuni minuti." Title="Lettura dell'intervallo di tempo dal file di registro dei dati sulle prestazioni" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="Get Perfmon Time Frame" Display="Hide" Timeout="%500" SecurityContext="EXLOGON">
					<Object Type="PdhInfo" Key1="%szPDHSERVERNAME%" Key2="%iDURATION%" Key3="%szPDHFILE%" Timeout="%1000">
						<Setting Key1="StartTime" Substitution="szSTARTTIME">
							<Rule Name="szTimeRange" Query="concat(date-add($.,get-timespan(1)),' - ',$szEndTime2)">
								<Variable Name="szTimeRange[%szSTARTTIME%]" Scope="Children"/>
							</Rule>
							<Rule Name="szStartTime2" Query="$."/>
						</Setting>
						<Setting Key1="EndTime" Substitution="szENDTIME">
							<Rule Name="szEndTime2" Query="$."/>
						</Setting>
						<Setting Key1="StartSample" Substitution="szSTARTSAMPLE">
							<Rule Name="szStartSample" Query="$.">
								<Variable Name="TimeSliceInfo[%szSTARTTIME%][StartSample]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="SampleCount" Substitution="szSAMPLECOUNT">
							<Rule Name="szSampleCount" Query="$.">
								<Variable Name="TimeSliceInfo[%szSTARTTIME%][SampleCount]" Scope="Children"/>
							</Rule>
							<Rule Name="szTimeSliceStructure" Query="concat($szTimeRange,';',$szSampleCount)">
								<Variable Name="TimeSliceInfo[%szSTARTTIME%][TimeSliceInfoList]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

					<!-- Create the CSV list of time ranges, and time range + sample count: -->
					<Rule Name="szAllSlices" Query="join(',',$szTimeRange)">
						<Variable Name="szAllTimeRanges" Scope="Children"/>
					</Rule>
					<Rule Name="szAllTime" Query="if($fAskForTimeFrame,@S1)" S1="%szAll%">
						<Variable Name="szTimeRange[All]" Scope="Children"/>
					</Rule>
					<Rule Name="szAllBadRPCTime" Query="if($fAskForTimeFrame and @S2='1',@S1)" S1="%szAllBadRPC%" S2="%varIsMailboxServer%">
						<Variable Name="szTimeRange[AllBadRPC]" Scope="Children"/>
					</Rule>
 					<Rule Name="szAllBadRPCTimeNotMailbox" Query="if($fAskForTimeFrame and not(@S2='1'),@S1)" S1="%szAll%" S2="%varIsMailboxServer%">
						<Variable Name="szTimeRange[All]" Scope="Children"/>
					</Rule>
					<Rule Name="szAllTimeInfoList" Query="if($fAskForTimeFrame,join(',',$szTimeSliceStructure))">
						<Variable Name="TimeSliceInfo[All][TimeSliceInfoList]" Scope="Children"/>
					</Rule>

					<!-- If there is more than one time range, ask the user which one they are interested in -->
					<Rule Name="fAskForTimeFrame" Query="count($szSampleCount) &gt;1"/>
					<Rule NextStep="SelectTimeFrame" Query="$fAskForTimeFrame"/>

					<!-- If there is only one time range, just use that and go directly to analysis: -->
					<Rule Name="szGetTimeIndex" Query="if(not($fAskForTimeFrame), $szStartTime2)">
						<Variable Name="szSELECTEDTIMEINDEX" Scope="Children"/>
					</Rule>
					<Rule Name="szGetTimeRange" Query="if(not($fAskForTimeFrame), $szAllSlices)">
						<Variable Name="szSELECTEDLISTOFTIMERANGES" Scope="Global"/>
					</Rule>
					<Rule NextStep="E12Collection_CheckPerfCounters" Name="fGoToCheckPerfNS" Display="Hide" Query="not($fAskForTimeFrame)" Priority="1" Text="- Analisi dei contatori prestazioni per determinare se sul server sono attualmente rilevate scarse prestazioni. Successivamente lo strumento eseguirà la ricerca di colli di bottiglia." AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SelectTimeFrame" Title="Selezionare intervallo di tempo" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="fSKIPINFORMATIONALSTEPS" Display="Hide"/>
			<Setting Key1="%szTimeRange%" Substitution="szTimeRange" Display="Hide"/>
			<Setting Key1="%szAllTimeRanges%" Substitution="szAllTimeRanges" Display="Hide"/>
			<Setting Key1="%szAll%" Substitution="szAll" Display="Hide"/>
			<Setting Key1="%szAllBadRPC%" Substitution="szAllBadRPC" Display="Hide"/>
			<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Selezionare l'intervallo di tempo"/>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="Il file di registro dei dati sulle prestazioni è stato suddiviso in incrementi di 20 minuti. Selezionare il periodo in cui si sono verificati i problemi di prestazioni dall'elenco di intervalli di tempo contenuto nel file."/>
				<Object Type="Control" SubType="ComboBox" Name="Time Frame" Position="Below" Default="%szTimeRange%" Width="800" SelectedValue="%szAllBadRPC%">
					<Setting Key1="Symptom">
						<Rule Name="szSelectedTimeFrame" Query="$."/>
						<Rule Name="fNotAllTimes" Query="not(contains($.,@S1)) and string-length($.) &gt; 0" S1="%szAll%" Priority="1" AlwaysEvaluate="True">
							<Rule Name="szGetStartTime" Query="substring-before($szSelectedTimeFrame,' - ')"/>
						</Rule>
						<Rule Name="fAnalyzeAllTimeSlices" Query="if($fNotAllTimes,'0','1')">
							<Variable Name="fAnalyzeAllTimeSlices" Scope="Children"/>
						</Rule>
						<Rule Name="fAnalyzeAllBadRPCs" Query="if($szSelectedTimeFrame = @S1,1,0)" S1="%szAllBadRPC%">
							<Variable Name="ANALYZEALLBADRPCS" Scope="Children"/>
						</Rule>
						<Rule Name="szGetTimeIndex2" Query="if($fAnalyzeAllTimeSlices=1, @S1, $szGetStartTime)" S1="%szAll%">
							<Variable Name="szSELECTEDTIMEINDEX" Scope="Children"/>
						</Rule>
						<Rule Name="szAnalyzeAllTimeRanges" Query="if($fAnalyzeAllTimeSlices=1,@S1,$.)" S1="%szAllTimeRanges%">
							<Variable Name="szSELECTEDLISTOFTIMERANGES" Scope="Global"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="CheckBox" Name="SkipInformational" Position="Below" LineSpace="4" Text="Nascondi visualizzazione informazioni" Default="%fSKIPINFORMATIONALSTEPS%">
					<Setting Key1="Checked">
						<Rule Name="iContinueRun2" Query="number($.=1)">
							<Variable Name="varContinueRun" Scope="Local"/>
						</Rule>
						<Rule Name="fSetSkipInfo" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','SkipInformationalSteps',number($.=1))"/>
					</Setting>
				</Object>

				<Object Type="Control" SubType="Label" Name="label6" Position="Below" Text="Selezionando questa opzione i dettagli dei risultati dell'analisi verranno nascosti fino al termine dell'analisi."/>
				<Object Type="Control" SubType="Link" Name="Step0" Position="Below" Percent="20" Text="Successivo"/>
				<Rule NextStep="E12Collection_CheckPerfCounters" Name="fGoToCheckPerfNS2" Display="Hide" Priority="1" Text="- Analisi dei contatori prestazioni per determinare se sul server sono attualmente rilevate scarse prestazioni. Successivamente lo strumento eseguirà la ricerca di colli di bottiglia." AlwaysEvaluate="True"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetHighestCPUProcess" Title="Utilizzo processore" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%varNumProcs%" Substitution="VARiNumProcs" Display="Hide"/>
			<Setting Key1="%VARfProcessorProblem%" Substitution="VARfProcessorBottleneck" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Text="Attendere, lo strumento raccoglie informazioni sull'utilizzo del processore sul server." Title="Raccolta dati sulle prestazioni per utilizzo processore" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Process information" Class="Area" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule NextStep="DisplayResultsStep" Name="fDisplayResultsStepHighestCPU" Query="@S1=0" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szDisplayTextHighestCPU" Query="string(@Title)" Title="Risultati utilizzo processo">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szHighCPUStepName" Query="'GetHighestCPUProcess'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szError7" Query="string(@Title)" Title="È stato identificato un processo diverso da store.exe come causa del carico CPU superiore al 10%."/>
					<Rule Name="szCPUIssueFound" Query="if($fMostProcessorWarn or $fMostProcessorError or $fNextMostProcessorWarn,$szError7,string(@Title))" Title="Non sono stati riscontrati problemi con i processi." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCPUSummaryHighProcFound" Query="@S1 and $szHighCPUUserList" Title="È stato rilevato un processo che consuma una parte rilevante del tempo del processore del server" Text="Il processo {2} potrebbe essere responsabile del collo di bottiglia del processore." S1="%VARfProcessorBottleneck%" P2="$iMostProcName" Error="Warning" ReportIssue="Summary"/>
					<Rule Name="fCPUSummaryNoHighProcFound" Query="@S1='1' and not($szHighCPUUserList)" Error="None" ReportIssue="Summary" Title="{0} consuma una quantità significativa di tempo del processore" Text="Nessun altro processo tranne {0} consuma più del 10% della CPU del server. Ciò indica che il processo {0} probabilmente è responsabile del collo di bottiglia del processore." S0="Store.exe" S1="%VARfProcessorBottleneck%" AlwaysEvaluate="True"/>

					<Rule Name="fCPUSummaryProcFound" Query="not(@S1='1') and $szHighCPUUserList" Error="None" ReportIssue="Summary" Title="È stato rilevato un processo che consuma più del 10% del tempo del processore" Text="Il processo {2} è stato identificato come causa del carico CPU superiore al 10%." S1="%VARfProcessorBottleneck%" P2="$iMostProcName" AlwaysEvaluate="True"/>
					<Rule Name="fCPUSummaryNoProcFound" Query="not(@S1='1') and not($szHighCPUUserList)" Error="None" ReportIssue="Summary" Title="Nessun processo sta consumando più del 10% del tempo del processore" Text="Nessun altro processo tranne {0} consuma più del 10% della CPU del server." S0="Store.exe" S1="%VARfProcessorBottleneck%" AlwaysEvaluate="True"/>

					<Object Type="Cache" Name="Process Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="Intervallo di tempo" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="Process health during the time range: %szTIMERANGE%">
								<Object Type="Pdh" Name="Perfmon Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="PROCESSHEALTH" Timeout="%1000">
									<Rule Name="iRelevantProcesses" Query="$iProcessProcessorTime[../../../@Name != 'Process(_Total)' and ../../../@Name != 'Process(Idle)' and ../../../@Name != 'Process(store)' and text() != '0']/../../.."/>
									<Rule Name="szSortedProcesses" Query="nodesort($iRelevantProcesses, 'number(Instance/Setting/Rule/Result)','-1')"/>
									<Rule Name="iMostProcValue" Query="$szSortedProcesses[1]/Result/Instance/Setting/Rule/Result"/>
									<Rule Name="iMostProcName" Query="substring-before(substring-after($szSortedProcesses[1]/Result/Instance/@Name,'Process('),')')"/>
									<Rule Name="iNextMostProcValue" Query="$szSortedProcesses[2]/Result/Instance/Setting/Rule/Result"/>
									<Rule Name="iNextMostProcName" Query="substring-before(substring-after($szSortedProcesses[2]/Result/Instance/@Name,'Process('),')')"/>
									<Rule Name="fMostProcessor" Query="not($fMostProcessorError or $fMostProcessorWarn)" Error="None" Sev="1" ReportIssue="Issue" Title="Il processo sta utilizzando la maggior parte del tempo del processore" Text="Escluso il processo {0}, il processo che utilizza la maggior parte del tempo del processore è {1}, che consuma il {2}% del tempo CPU." S0="Store.exe" P1="$iMostProcName" P2="$iMostProcValue"/>
									<Rule Name="fMostProcessorWarn" Query="$iMostProcValue &gt; 10 and @S3='1' and not($fMostProcessorError)" Error="Warning" Sev="2" ReportIssue="Issue" Title="Collo di bottiglia del processore: il processo sta utilizzando la maggior parte del tempo del processore" Text="Escluso il processo {0}, il processo che utilizza la maggior parte del tempo del processore è {1}, che consuma il {2}% del tempo CPU. È possibile che tale processo contribuisca a un collo di bottiglia del processore." S0="Store.exe" P1="$iMostProcName" P2="$iMostProcValue" S3="%VARfProcessorBottleneck%" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
									<Rule Name="fMostProcessorError" Query="$iMostProcValue &gt; 20 and @S3='1'" Error="Error" Sev="1" ReportIssue="Issue" Title="Collo di bottiglia del processore: il processo sta utilizzando la maggior parte del tempo del processore" Text="Escluso il processo {0}, il processo che utilizza la maggior parte del tempo del processore è {1}, che consuma il {2}% del tempo CPU. È possibile che tale processo contribuisca a un collo di bottiglia del processore." S0="Store.exe" P1="$iMostProcName" P2="$iMostProcValue" S3="%VARfProcessorBottleneck%" GUID="32f1506b-6fd0-44f9-8e95-ace2e194e924"/>
									<Rule Name="fMostProcessorWarnNoBottleneck" Query="$iMostProcValue &gt; 50 and not(@S3)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Processo che sta utilizzando tempo significativo del processore" Text="Escluso il processo {0}, il processo che utilizza la maggior parte del tempo del processore è {1}, che consuma il {2}% del tempo CPU. Benché al momento non vengano rilevati colli di bottiglia del processore, è possibile che tale processo contribuisca a limitare le prestazioni del server." S0="Store.exe" P1="$iMostProcName" P2="$iMostProcValue" S3="%VARfProcessorBottleneck%" GUID="1e479209-4e13-4fd1-97f5-8f79b7275406"/>
									<Rule Name="fNextMostProcessor" Query="$iNextMostProcValue and not($fNextMostProcessorWarn)" Error="None" Sev="1" ReportIssue="Issue" Text="Escluso il processo {0}, il secondo processo con maggiore utilizzo del tempo del processore è {1}, che consuma il {2}% del tempo CPU." S0="Store.exe" P1="$iNextMostProcName" P2="$iNextMostProcValue"/>
									<Rule Name="fNextMostProcessorWarn" Query="$iNextMostProcValue &gt; 10 and @S3" Error="Warning" Sev="1" ReportIssue="Issue" Title="Processo che sta consumando la maggior parte del tempo CPU" Text="Escluso il processo {0}, il secondo processo con maggiore utilizzo del tempo del processore è {1}, che consuma il {2}% del tempo CPU." S0="Store.exe" P1="$iNextMostProcName" P2="$iNextMostProcValue" S3="%VARfProcessorBottleneck%"/>
									<Rule Name="szHighCPUUserList" Query="$szSortedProcesses/Result/Instance/Setting/Rule/Result[text() &gt; 5]/../../../@Name"/>
									<Rule Name="szListCPUUsers" Query="$szHighCPUUserList" Error="None" ReportIssue="Issue" Text="I seguenti processi utilizzano più del 5% di CPU (escluso il processo {0}): {1}" S0="Store.exe" P1="join(', ', $szHighCPUUserList)"/>
									<Setting Key1="Process" Key2="% Processor Time" Key3="*" Format="Average">
										<Rule Name="iProcessProcessorTime" Query="ifnumber($.,roundto($. div @S3,2))" Error="None" ReportIssue="Issue" Text="Valore medio di '{0}' = {9}." P0="concat(../../@Name, '\% Processor Time')" S3="%VARiNumProcs%" P9="roundto($. div @S3,2)"/>
									</Setting>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckTiQueues" Title="Stato coda" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szSERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Text="Attendere, lo strumento legge i dati sulle prestazioni delle code dal file %szPDHFILE%. L'operazione può richiedere alcuni minuti." Title="Lettura dei dati sulla coda dal file di registro delle prestazioni" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Queue Health" Class="Area" GroupingClass="True" SecurityContext="EXLOGON">
					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayCheckTiQueuesStep" NextStep="DisplayResultsStep" Query="@S1=0" S1="%varContinueRun%" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szCheckTiQueues" Query="'CheckTiQueues'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextCheckTiQueues" Query="if($fAnyErrorCheckTiQueues, string(@Title),' ')" Title="Sono stati rilevati uno o più errori durante la lettura dei dati sulle prestazioni." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCheckTiQueuesResult" Query="string(@Title)" Title="Risultati contatori prestazioni della coda">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<!--
				Overall success or failure? AnyError and FatalError refer to problems with data collection.
				PerfError refers to a performance problem identified.
				PerfWarning refers to performance warnings identified.
				PerfIssue refers to both performance errors and warnings.
						-->
					<Rule Name="fFatalErrorCheckTiQueues" Query="$fFatalErrorCheckTiQueuesPERFMON"/>
					<Rule Name="fAnyErrorCheckTiQueues" Query="false()"/>
					<Rule Name="fPerfErrorCheckTiQueues" Query="$fQueue1 or $fQueue2 or $fQueue3 or $fQueue4 or $fQueue5 or $fQueue6 or $fQueue7 or $fQueue8 or $fQueue9 or $fQueue10"/>
					<Rule Name="fPerfWarningCheckTiQueues" Query="$fQueue11"/>
					<Rule Name="fPerfIssueCheckTiQueues" Query="$fPerfWarningCheckTiQueues or $fPerfErrorCheckTiQueues"/>
					<Rule Name="fSummaryFatalErrorCheckTiQueues" Query="$fFatalErrorCheckTiQueues" Error="Error" Sev="1" ReportIssue="Summary" Title="Errore irreversibile durante il controllo delle prestazioni della coda" Text="Errore irreversibile durante il controllo dei contatori prestazioni della coda"/>
					<Rule Name="fSummaryPerfIssueSummaryCheckTiQueues" Query="$fPerfIssueCheckTiQueues and not($fFatalErrorCheckTiQueues)" Error="Error" Sev="1" ReportIssue="Summary" Title="Identificato problema di prestazioni della coda" Text="È stato identificato un problema di prestazioni con i contatori prestazioni della coda."/>
					<Rule Name="fSummaryNoPerfIssueCheckTiQueues" Query="not($fPerfIssueCheckTiQueues) and not($fFatalErrorCheckTiQueues)" Error="None" ReportIssue="Summary" Title="Nessun problema di prestazioni della coda identificato" Text="Non sono stati rilevati problemi di prestazioni con i contatori prestazioni della coda."/>
					<Rule Name="fTryMFA" Query="$fQueue5 or $fQueue6 or $fQueue7 or $fQueue8 or $fQueue9 or $fQueue10" Error="BestPractice" ReportIssue="Summary" Title="Rilevati problemi di prestazioni delle code" Text="Poiché sono stati rilevati problemi relativi allo stato delle code, si consiglia di eseguire lo strumento per la risoluzione dei problemi di flusso di posta per identificare eventuali problemi di recapito noti." AlwaysEvaluate="True"/>

					<Object Type="Cache" Name="Queue Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="Intervallo di tempo" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="Queue health during the time range: %szTIMERANGE%">
								<Object Type="Pdh" Name="Queue Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="QUEUEHEALTH" Timeout="%1000">
									<Setting Key1="Epoxy" Key2="Client Out Queue Length" Key3="IMAP" Format="Max">
										<Rule Name="iEpoxyIMAPClientOutQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9}." P0="localize-path('Epoxy(IMAP)\Client Out Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Epoxy" Key2="Store Out Queue Length" Key3="IMAP" Format="Max">
										<Rule Name="iEpoxyIMAPStoreOutQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9}." P0="localize-path('Epoxy(IMAP)\Store Out Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Epoxy" Key2="Client Out Queue Length" Key3="POP3" Format="Max">
										<Rule Name="iEpoxyPOP3ClientOutQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9}." P0="localize-path('Epoxy(POP3)\Client Out Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Epoxy" Key2="Store Out Queue Length" Key3="POP3" Format="Max">
										<Rule Name="iEpoxyPOP3StoreOutQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9}." P0="localize-path('Epoxy(POP3)\Store Out Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS Public" Key2="Replication Receive Queue Size" Key3="_Total" Format="Max">
										<Rule Name="iMSExchangeISPublicReplicationReceiveQueueSize" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9}." P0="localize-path('MSExchangeIS\Active User Count')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="SMTP Server" Key2="Categorizer Queue Length" Key3="_Total" Format="Average">
										<Rule Name="iSMTPServerCategorizerQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="localize-path('SMTP Server(_Total)\Categorizer Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="SMTP Server" Key2="Remote Queue Length" Key3="_Total" Format="Max">
										<Rule Name="iSMTPServerRemoteQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9}." P0="localize-path('SMTP Server(_Total)\Remote Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="SMTP Server" Key2="Remote Retry Queue Length" Key3="_Total" Format="Max">
										<Rule Name="iSMTPServerRemoteRetryQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9}." P0="localize-path('SMTP Server(_Total)\Remote Retry Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="SMTP Server" Key2="Local Queue Length" Key3="_Total" Format="Max">
										<Rule Name="iSMTPServerLocalQueueLength" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9}." P0="localize-path('SMTP Server(_Total)\Local Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Virus Scan Queue Length" Key3="" Format="NinetiethPercentile">
										<Rule Name="iMSExchangeISVirusScanQueueLength" Query="ifnumber($.,roundto($.,2))" Text="90° percentile di '{0}' = {9}." P0="localize-path('MSExchangeIS\Virus Scan Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Virus Scan Files Scanned/sec" Format="Average">
										<Rule Name="iVirusFilesScanned" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="localize-path('MSExchangeIS\Virus Scan Files Scanned/Sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Virus Scan Files Quarantined/sec" Format="Average">
										<Rule Name="iVirusFilesQuarantined" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="localize-path('MSExchangeIS\Virus Scan Files Quarantined/Sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Virus Scan Messages Processed/sec" Format="Average">
										<Rule Name="iVirusFilesProcessed" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="localize-path('MSExchangeIS\Virus Scan Files Processed/Sec')" P9="roundto($.,2)"/>
									</Setting>

									<Rule Name="fQueue1" Query="$iEpoxyIMAPStoreOutQueueLength &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('Epoxy(IMAP)\Store Out Queue Length')" S8="50" P9="$iEpoxyIMAPStoreOutQueueLength" GUID="0c5a3ae1-297f-4fff-967d-aa3bdf385f21"/>
									<Rule Name="fQueue2" Query="$iEpoxyIMAPClientOutQueueLength &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('Epoxy(IMAP)\Client Out Queue Length')" S8="50" P9="$iEpoxyIMAPClientOutQueueLength" GUID="78ca8fd9-87a1-4406-bc02-8ba67d40c2b5"/>
									<Rule Name="fQueue3" Query="$iEpoxyPOP3StoreOutQueueLength &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('Epoxy(POP3)\Store Out Queue Length')" S8="50" P9="$iEpoxyPOP3StoreOutQueueLength" GUID="dc964d28-74eb-4b92-b73d-ab8485a763d2"/>
									<Rule Name="fQueue4" Query="$iEpoxyPOP3ClientOutQueueLength &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('Epoxy(POP3)\Client Out Queue Length')" S8="50" P9="$iEpoxyPOP3ClientOutQueueLength" GUID="ab671905-ce41-41de-b881-b437fa8d7034"/>
									<Rule Name="fQueue5" Query="$iMSExchangeISPublicReplicationReceiveQueueSize &gt; 1000" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('MSExchangeIS Public\Replication Receive Queue Size')" S8="1000" P9="$iMSExchangeISPublicReplicationReceiveQueueSize" GUID="666efd86-e6c4-4ad0-a952-d43e0c0bcc87"/>
									<Rule Name="fQueue6" Query="$iSMTPServerCategorizerQueueLength &gt; 10" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('SMTP Server(_Total)\Categorizer Queue Length')" S8="10" P9="$iSMTPServerCategorizerQueueLength" GUID="eb297e25-f90f-4643-b25a-bcd69dbe5ed5"/>
									<Rule Name="fQueue7" Query="$iSMTPServerRemoteQueueLength &gt; 1000" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Il valore medio di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('SMTP Server(_Total)\Remote Queue Length')" S8="1000" P9="$iSMTPServerRemoteQueueLength" GUID="611e9363-19ff-45be-aa60-57c701007ead"/>
									<Rule Name="fQueue8" Query="$iSMTPServerRemoteRetryQueueLength &gt; 1000" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('SMTP Server(_Total)\Remote Retry Queue Length')" S8="1000" P9="$iSMTPServerRemoteRetryQueueLength" GUID="0ef8e33b-63ff-409d-b680-636b8dac398b"/>
									<Rule Name="fQueue9" Query="$iSMTPServerLocalQueueLength &gt; 1000" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('SMTP Server(_Total)\Local Queue Length')" S8="1000" P9="$iSMTPServerLocalQueueLength" GUID="9cda2187-f62f-47e0-93eb-7fa56f0dd84a"/>
									<Rule Name="fQueue10" Query="$iMSExchangeISVirusScanQueueLength &gt; 10" Error="Error" Sev="1" ReportIssue="Issue" Title="90° percentile di '{0}' oltre la soglia di errore" Text="Il 90° percentile di '{0}' supera la soglia di errore di {8}. Valore misurato: {9}." P0="localize-path('MSExchangeIS\Virus Scan Queue Length')" S8="10" P9="$iMSExchangeISVirusScanQueueLength" GUID="0e2f1500-4a18-4045-b026-48ff6b95a0a2"/>
									<Rule Name="fQueue11" Query="$iMSExchangeISVirusScanQueueLength &gt; 5 and not($fQueue10)" Error="Warning" Sev="1" ReportIssue="Issue" Title="90° percentile di '{0}' oltre la soglia di errore" Text="Il 90° percentile di '{0}' supera la soglia di avviso di {8}. Valore misurato: {9}." P0="localize-path('MSExchangeIS\Virus Scan Queue Length')" S8="5" P9="$iMSExchangeISVirusScanQueueLength" GUID="2c99332c-7fa5-48ff-9c94-cba31c91b38a"/>
									<Rule Name="fFatalErrorCheckTiQueuesPERFMON" Query="../Exception and not($fQueueEntryNotInLogFile)" Error="Error" Title="Errore durante l'accesso ai dati sulle prestazioni della coda" Text="Errore durante l'accesso ai contatori prestazioni della coda. {1}" P1="../Exception/@Message"/>
									<Rule Name="fQueueEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="Errore durante l'accesso ai dati sulle prestazioni della coda" Text="Uno o più contatori prestazioni non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>

								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="TestPdhFileWrite" Title="Convalida percorso file di dati" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%varIsExchange2003%" Substitution="varIsExchange2003" Display="Hide"/>
			<Object Type="Progress" Text="Convalida del percorso file di dati." Title="Percorso file di dati" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Data File Path Validation" Display="Hide" SecurityContext="EXLOGON">

					<!-- Make sure the path exists, but the file doesn't. -->

					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayTestPdhFileWriteStep" NextStep="DisplayResultsStep" Query="$fFatalErrorTestPdhFileWrite" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szTestPdhFileWrite" Query="'TestPdhFileWrite'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextTestPdhFileWrite" Query="if($fAnyErrorTestPdhFileWrite, string(@Title),' ')" Title="Si sono verificati uno o più errori durante la lettura dei dati sulle prestazioni." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szTestPdhFileWriteResult" Query="string(@Title)" Title="Risultati dei file di dati">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<!--
					Overall success or failure? AnyError and FatalError refer to problems with data collection.
					PerfError refers to a performance problem identified.
					PerfWarning refers to performance warnings identified.
						-->
					<Rule Name="fAnyErrorTestPdhFileWrite" Query="false()"/>
					<Rule Name="fSummaryFatalErrorTestPdhFileWrite" Query="$fFatalErrorTestPdhFileWrite" Error="Error" Sev="1" ReportIssue="Summary" Title="Errore durante la scrittura nel file di dati" Text="Impossibile scrivere nel file di dati {0}." S0="%szPDHFILE%"/>
					<Rule Name="fSummaryNoPerfIssueTestPdhFileWrite" Query="not($fFatalErrorTestPdhFileWrite)"/>

					<Object Type="If" Key1="true()">
						<Setting Key1="'%szPDHFILE%'" Substitution="szPDHPATH" SubstitutionFormat="\\[^\\]*$----"/>
						<Object Type="File" Key2="%szPDHFILE%">
							<Setting Key1="Exists">
								<Rule Name="fCollectAndFileExists" Query="$." Title="File di dati sulle prestazioni già esistente" Text="Impossibile salvare i dati sulle prestazioni nel nuovo file {2} perché il file esiste già." S2="%szPDHFILE%" Error="Error" Sev="1"/>
							</Setting>
						</Object>
						<Object Type="File" Key2="%szPDHPATH%">
							<Setting Key1="Exists">
								<Rule Name="fCollectAndPathExists" Query="$."/>
							</Setting>
						</Object>
						<Rule Name="fCollectAndPathDoesntExist" Query="not($fCollectAndPathExists)" Error="Error" Sev="1" Title="Directory non esistente" Text="Impossibile salvare i dati sulle prestazioni nel file {2} perché il percorso non esiste." S2="%szPDHFILE%" AlwaysEvaluate="True"/>
						<Rule Name="fFatalErrorTestPdhFileWrite" Query="$fCollectAndFileExists or $fCollectAndPathDoesntExist" AlwaysEvaluate="True"/>
						<Rule NextStep="CollectPerfMonData" Query="not($fFatalErrorTestPdhFileWrite)" Text="- Raccogli dati sulle prestazioni" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckLDAP" Title="Stato LDAP" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szSERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%fIsSmallServer%" Substitution="fIsSmallServer" Display="Hide"/>
			<Object Type="Progress" Title="Lettura dati sulla latenza LDAP (Lightweight Directory Access Protocol) dal file di registro delle prestazioni in corso..." Text="Attendere, lo strumento legge i dati sulle prestazioni dal file %szPDHFILE%. L'operazione può richiedere alcuni minuti." HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="LDAP Health" Class="Area" GroupingClass="True" SecurityContext="EXLOGON">

					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayCheckLDAPStep" NextStep="DisplayResultsStep" Query="@S1=0" S1="%varContinueRun%" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szCheckLDAP" Query="'CheckLDAP'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextCheckLDAP" Query="if($fAnyErrorCheckLDAP, string(@Title),' ')" Title="Uno o più errori rilevati nella lettura dei dati sulle prestazioni '{0}'." S0="MSExchangeDSAccess Domain Controllers" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCheckLDAPResult" Query="string(@Title)" Title="Risultati stato LDAP">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>

					<!--
				Overall success or failure? AnyError and FatalError refer to problems with data collection.
				PerfError refers to a performance problem identified.
				PerfWarning refers to performance warnings identified.
				PerfIssue refers to both performance errors and warnings.
						-->

					<Rule Name="fFatalErrorCheckLDAP" Query="$fFatalErrorCheckLDAPPerfmon"/>
					<Rule Name="fAnyErrorCheckLDAP" Query="false()"/>
					<Rule Name="fPerfErrorCheckLDAP" Query="$fLDAP1 or $fLDAP2 or $fLDAP3 or $fLDAP4 "/>
					<Rule Name="fPerfWarningCheckLDAP" Query="false()"/>
					<Rule Name="fPerfIssueCheckLDAP" Query="$fPerfWarningCheckLDAP or $fPerfErrorCheckLDAP"/>
					<Rule Name="fSummaryFatalErrorCheckLDAP" Query="$fFatalErrorCheckLDAP" Error="Error" Sev="1" ReportIssue="Summary" Title="Errore irreversibile durante la lettura dei dati sulle prestazioni" Text="Errore di accesso ai contatori delle prestazioni '{0}'." S0="MSExchangeDSAccess Domain Controllers"/>
					<Rule Name="fSummaryPerfIssueCheckLDAP" Query="$fPerfIssueCheckLDAP and not($fFatalErrorCheckLDAP)" Error="Error" Sev="1" ReportIssue="Summary" Title="Latenze LDAP (Lightweight Directory Access Protocol) oltre la soglia" Text="Contatori delle prestazioni '{0}' oltre la soglia consigliata." S0="MSExchangeDSAccess Domain Controllers LDAP"/>
					<Rule Name="fSummaryNoPerfIssueCheckLDAP" Query="not($fPerfIssueCheckLDAP) and not($fFatalErrorCheckLDAP)" Error="None" ReportIssue="Summary" Title="Non sono stati identificati problemi di prestazioni LDAP (Lightweight Directory Access Protocol)" Text="Non sono stati rilevati problemi dei contatori delle prestazioni '{0}'." S0="MSExchangeDSAccess Domain Controllers LDAP"/>

					<Object Type="Cache" Name="LDAP Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="Intervallo di tempo" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="LDAP health during the time range: %szTIMERANGE%">
								<Object Type="Pdh" Name="MSExchangeDSAccess Domain Controllers Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="LDAPHEALTH" Timeout="%1000">
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Read Time" Key3="*" Format="Average">
										<Rule Name="szDCInstanceName" Query="substring-before(substring-after(../../@Name,'('),')')"/>
										<Rule Name="iLDAPReadAvg" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9} ms." P0="concat(../../@Name, '\LDAP Read Time')" P9="roundto($.,2)"/>
										<Rule Name="fLDAP1" Query="$iLDAPReadAvg &gt; 50 and not($fLowLDAPReadCallRate)" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Il valore medio di '{0}' supera la soglia di errore di {8} ms. Valore misurato: {9} ms." P0="concat(../../@Name, '\LDAP Read Time')" S8="50" P9="$iLDAPReadAvg" GUID="c997d773-b75a-4525-aecb-2b7dd4143f99"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Read Time" Key3="*" Format="Max">
										<Rule Name="iLDAPReadMax" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9} ms." P0="concat(../../@Name, '\LDAP Read Time')" P9="roundto($.,2)"/>
										<Rule Name="fLDAP2" Query="$iLDAPReadMax &gt; 100 and not($fLowLDAPReadCallRate)" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8} ms. Valore misurato: {9} ms." P0="concat(../../@Name, '\LDAP Read Time')" S8="100" P9="$iLDAPReadMax" GUID="ecdef5be-83b7-49ba-a48b-618708f4d1c0"/>
										<Rule Name="fLDAPLowReadMax" Query="$iLDAPReadMax &gt; @S8 and $fLowLDAPReadCallRate" Error="Warning" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di avviso" Text="Il valore massimo di '{0}' supera la soglia di avviso di {8} ms. Valore misurato: {9} ms. La frequenza delle letture per questo controller di dominio è {3} chiamate al secondo e ciò indica che il server di Active Directory viene utilizzato raramente. Le frequenze inferiori a {4} sono considerate basse." P0="concat(../../@Name, '\LDAP Read Time')" P3="$fLowLDAPReadCallRate" P4="$iLowLDAPThreshold" S8="100" P9="$iLDAPReadMax" GUID="ecdef5be-83b7-49ba-a48b-618708f4d1c0"/>

									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Search Time" Key3="*" Format="Average">
										<Rule Name="iLDAPSearchAvg" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9} ms." P0="concat(../../@Name, '\LDAP Search Time')" P9="roundto($.,2)"/>
										<Rule Name="fLDAP3" Query="$iLDAPSearchAvg &gt; 50 and not($fLowLDAPSearchCallRate)" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Il valore medio di '{0}' supera la soglia di errore di {8} ms. Valore misurato: {9} ms." P0="concat(../../@Name, '\LDAP Search Time')" S8="50" P9="$iLDAPSearchAvg" GUID="09088f9f-38c8-4701-b871-85d76733e3ac"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Search Time" Key3="*" Format="Max">
										<Rule Name="iLDAPSearchMax" Query="ifnumber($.,roundto($.,2))" Text="Valore massimo di '{0}' = {9} ms." P0="concat(../../@Name, '\LDAP Search Time')" P9="roundto($.,2)"/>
										<Rule Name="fLDAP4" Query="$iLDAPSearchMax &gt; 100 and not($fLowLDAPSearchCallRate)" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di errore" Text="Il valore massimo di '{0}' supera la soglia di errore di {8} ms. Valore misurato: {9} ms." P0="concat(../../@Name, '\LDAP Search Time')" S8="100" P9="$iLDAPSearchMax" GUID="8d27bbc3-dd41-4463-b4a0-37cbe605ac25"/>
										<Rule Name="fLDAPLowSearchMax" Query="$iLDAPSearchMax &gt; @S8 and $fLowLDAPSearchCallRate" Error="Warning" Sev="1" ReportIssue="Issue" Title="Valore massimo di '{0}' oltre la soglia di avviso" Text="Il valore massimo di '{0}' supera la soglia di avviso di {8} ms. Valore misurato: {9} ms. La frequenza delle ricerche per questo controller di dominio è {3} chiamate al secondo e ciò indica che il server di Active Directory viene utilizzato raramente. Le frequenze inferiori a {4} sono considerate basse." P0="concat(../../@Name, '\LDAP Search Time')" P3="$fLowLDAPSearchCallRate" P4="$iLowLDAPThreshold" S8="100" P9="$iLDAPSearchMax" GUID="8d27bbc3-dd41-4463-b4a0-37cbe605ac25"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Search calls/Sec" Key3="*" Format="Average">
										<Rule Name="iLDAPSearchCallRate" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9} ms." P0="concat(../../@Name, '\LDAP Search calls/Sec')" P9="roundto($.,2)"/>
										<Rule Name="fLowLDAPSearchCallRate" Query="if(@S1='1',$. &lt; 0.1,$. &lt; 0.5)" S1="%fIsSmallServer%"/>
										<Rule Name="iLowLDAPThreshold" Query="if(@S1='1',0.1,0.5)" S1="%fIsSmallServer%"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Read calls/Sec" Key3="*" Format="Average">
										<Rule Name="iLDAPReadRate" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9} ms." P0="concat(../../@Name, '\LDAP Read calls/Sec')" P9="roundto($.,2)"/>
										<Rule Name="fLowLDAPReadCallRate" Query="if(@S1='1',$. &lt; 0.1,$. &lt; 0.5)" S1="%fIsSmallServer%"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Caches" Key2="Cache Hits/Sec" Key3="*" Format="Average">
										<Rule Name="iLDAPCacheRate" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9} ms." P0="localize-path('MSExchangeDSAccess Caches(0)\Cache Hits/Sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Caches" Key2="LDAP Searches/Sec" Key3="*" Format="Average">
										<Rule Name="iLDAPSearchRate" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9} ms." P0="localize-path('MSExchangeDSAccess Caches(0)\LDAP Searches/Sec')" P9="roundto($.,2)"/>
									</Setting>

									<Rule Name="fFatalErrorCheckLDAPPerfmon" Query="../Exception and not($fLDAPEntryNotInLogFile)" Error="Error" Title="Errore di accesso ai dati sui contatori delle prestazioni 'Controller di dominio MSExchangeDSAccess' e/o '{0}'" Text="Errore di accesso ai contatori delle prestazioni '{3}'. {1}" S0="MSExchangeDSAccess Caches" P1="../Exception/@Message" S3="MSExchangeDSAccess Domain Controllers"/>
									<Rule Name="fLDAPEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore di accesso ai dati sui contatori delle prestazioni" Text="Uno o più contatori delle prestazioni '{0}' non sono presenti nel file {1}. Mancano i seguenti contatori: {2}" S0="MSExchangeDSAccess Domain Controllers" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckNetworkUsage" Title="Utilizzo della rete" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Text="Attendere, lo strumento legge i dati sulle prestazioni dal file %szPDHFILE%. L'operazione può richiedere alcuni minuti." Title="Lettura dei dati di interfaccia di rete dal file di registro delle prestazioni" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Network Usage" Class="Area" GroupingClass="True" SecurityContext="EXLOGON">


					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayCheckNetworkUsageStep" NextStep="DisplayResultsStep" Query="@S1=0" S1="%varContinueRun%" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szCheckNetworkUsage" Query="'CheckNetworkUsage'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextCheckNetworkUsage" Query="if($fAnyErrorCheckNetworkUsage, string(@Title),' ')" Title="Sono stati rilevati uno o più errori durante la lettura dei dati sulle prestazioni." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCheckNetworkUsageResult" Query="string(@Title)" Title="Risultati del contatore di prestazioni di rete">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<!--
				Overall success or failure? AnyError and FatalError refer to problems with data collection.
				PerfError refers to a performance problem identified.
				PerfWarning refers to performance warnings identified.
				PerfIssue refers to both performance errors and warnings.
						-->
					<Rule Name="fFatalErrorCheckNetworkUsage" Query="$fFatalErrorCheckNetworkUsagePerfmon"/>
					<Rule Name="fAnyErrorCheckNetworkUsage" Query="false()"/>
					<Rule Name="fPerfErrorCheckNetworkUsage" Query="$fNetwork1 or $fNetwork2 or $fNetwork3"/>
					<Rule Name="fPerfWarningCheckNetworkUsage" Query="false()"/>
					<Rule Name="fPerfIssueCheckNetworkUsage" Query="$fPerfWarningCheckNetworkUsage or $fPerfErrorCheckNetworkUsage"/>

					<Rule Name="fSummaryFatalErrorCheckNetworkUsage" Query="$fFatalErrorCheckNetworkUsage" Error="Error" Sev="1" ReportIssue="Summary" Title="Errore durante l'accesso ai dati dell'interfaccia di rete" Text="Errore durante l'accesso ai contatori prestazioni &quot;Interfaccia di rete&quot;"/>
					<Rule Name="fSummaryPerfIssueCheckNetworkUsage" Query="$fPerfIssueCheckNetworkUsage and not($fFatalErrorCheckNetworkUsage)" Error="Error" Sev="1" ReportIssue="Summary" Title="Rilevato problema di prestazioni dell'interfaccia di rete" Text="È stato rilevato un problema di prestazioni con i contatori prestazioni dell'interfaccia di rete."/>
					<Rule Name="fSummaryNoPerfIssueCheckNetworkUsage" Query="not($fPerfIssueCheckNetworkUsage) and not($fFatalErrorCheckNetworkUsage)" Error="None" ReportIssue="Summary" Title="Nessun problema di prestazioni dell'interfaccia di rete identificato" Text="Non sono stati rilevati problemi di prestazioni con i contatori prestazioni dell'interfaccia di rete."/>

					<Object Type="Cache" Name="Network Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="Intervallo di tempo" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="Network interface health during the time range: %szTIMERANGE%">
								<Object Type="Pdh" Name="Network Interface Performance Counter Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="NETWORKHEALTH" Timeout="%1000">
									<Setting Key1="Network Interface" Key2="Output Queue Length" Key3="*" Format="Average">
										<Rule Name="szNetworkInstanceName" Query="substring-before(substring-after(../../@Name,'('),')')"/>
										<Rule Name="iNetworkOutQueueAvg" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9} pacchetti." P0="concat(../../@Name, '\Output Queue Length')" P9="roundto($.,2)"/>
										<Rule Name="fNetwork1" Query="$iNetworkOutQueueAvg &gt; 10" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Valore medio di '{0}' superiore alla soglia di errore di {8} pacchetti. Valore misurato: {9} pacchetti." P0="concat(../../@Name, '\Output Queue Length')" S8="10" P9="$iNetworkOutQueueAvg" GUID="892c94fd-62b3-4566-b022-6480693df656"/>
									</Setting>
									<Setting Key1="Network Interface" Key2="Current Bandwidth" Key3="*" Format="Average">
										<Rule Name="iNetworkBandwidth" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="concat(../../@Name, '\Current Bandwidth')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Network Interface" Key2="Packets Outbound Errors" Key3="*" Format="Average">
										<Rule Name="iNetworkOutErrorsAvg" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9} pacchetti." P0="concat(../../@Name, '\Packets Outbound Errors')" P9="roundto($.,2)"/>
										<Rule Name="fNetwork3" Query="$iNetworkOutErrorsAvg &gt; 0" Error="Error" Sev="1" ReportIssue="Issue" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Valore medio di '{0}' superiore a {8} pacchetti. Valore misurato: {9} pacchetti." P0="concat(../../@Name, '\Packets Outbound Errors')" S8="0" P9="$iNetworkOutErrorsAvg" GUID="888f862e-93ed-4e31-ac1a-8c22f303f43b"/>
									</Setting>
									<Setting Key1="Network Interface" Key2="Bytes Total/sec" Key3="*" Format="Average">
										<Rule Name="iNetworkBytesPerSecAvg" Query="ifnumber($.,roundto($.,2))" Text="Valore medio di '{0}' = {9}." P0="concat(../../@Name, '\Bytes Total/sec')" P9="roundto($.,2)"/>
										<Rule Name="fNetwork2" Query="$iNetworkBytesPerSecAvg &gt; 0.7 * $iNetworkBandwidth " Error="Error" Sev="1" ReportIssue="Issue" Title="Valore medio di '{0}' oltre la soglia di errore" Text="Il valore medio di '{0}' supera la soglia di errore di {8}% della capacità indicata. Valore misurato: {9}. Capacità misurata: {2}." P0="concat(../../@Name, '\Bytes Total/sec')" P2="$iNetworkBandwidth" S8="70" P9="$iNetworkBytesPerSecAvg" GUID="34d6c8c9-181a-4bfc-a90f-0b7bbddf0d2e"/>
										<Rule Name="iNetworkBandwidthUsage" Query="round( 100* $iNetworkBytesPerSecAvg div $iNetworkBandwidth)" Error="None" Sev="1" Title="Media percentuale larghezza di banda di rete utilizzata" Text="Utilizzo larghezza di banda in percentuale del controller di rete &quot;{1}&quot;: {0}%." P0="$iNetworkBandwidthUsage" P1="$szNetworkInstanceName"/>
									</Setting>
									<Rule Name="fFatalErrorCheckNetworkUsagePerfmon" Query="../Exception and not($fNetworkEntryNotInLogFile)" Error="Error" Title="Errore durante l'accesso ai dati del contatore prestazioni di rete" Text="Errore durante l'accesso ai contatori prestazioni &quot;Interfaccia di rete&quot;. {1}" P1="../Exception/@Message"/>
									<Rule Name="fNetworkEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="Errore durante l'accesso ai dati del contatore prestazioni di rete" Text="Uno o più contatori prestazioni &quot;Interfaccia di rete&quot; non sono presenti nel file {1}. Contatori mancanti: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>

								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="TestPdhFileRead" Title="Lettura file di dati" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%varCollectPDH%" Substitution="varCollectPDH" Display="Hide"/>
			<Setting Key1="%varDataAction%" Substitution="varDataAction" Display="Hide"/>
			<Object Type="Progress" Text="Lettura file dati PerfMon in corso..." Title="Lettura file dati in corso..." HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Read Data File" Display="Hide" SecurityContext="EXLOGON">

					<!-- Make sure we can read the file. -->

					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayTestPdhFileReadStep" NextStep="DisplayResultsStep" Query="$fFatalErrorTestPdhFileRead or $fNoMatchFoundWarning or $fFatalExceptionReadingData" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szTestPdhFileRead" Query="'TestPdhFileRead'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextTestPdhFileRead" Query="if($fAnyErrorTestPdhFileRead or $fNoMatchFoundWarning, string(@Title),' ')" Title="Si sono verificati uno o più errori durante la lettura dei dati sulle prestazioni." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szTestPdhFileReadResult" Query="string(@Title)" Title="Risultati file di dati">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<!--
					Overall success or failure? AnyError and FatalError refer to problems with data collection.
					PerfError refers to a performance problem identified.
					PerfWarning refers to performance warnings identified.
						-->
					<Rule Name="fAnyErrorTestPdhFileRead" Query="false()"/>
					<Rule Name="fSummaryFatalErrorTestPdhFileRead" Query="$fFatalErrorTestPdhFileRead" Error="Error" Sev="1" ReportIssue="Summary" Title="Errore durante la lettura dei dati sulle prestazioni" Text="Errore durante la lettura del file di dati sulle prestazioni {2}." S2="%szPDHFILE%"/>
					<Rule Name="fSummaryNoPerfIssueTestPdhFileRead" Query="not($fFatalErrorTestPdhFileRead)"/>

					<Object Type="If" Key1="true()">
						<Setting Key1="'%szPDHFILE%'" Substitution="szPDHFILEPATH" SubstitutionFormat="\\[^\\]*$----"/>
						<Object Type="File" Key2="%szPDHFILE%">
							<Setting Key1="Exists">
								<Rule Name="fNoCollectAndFileExists" Query="$."/>
							</Setting>
						</Object>
						<Object Type="File" Key2="%szPDHFILEPATH%">
							<Setting Key1="Exists">
								<Rule Name="fNoCollectAndPathExists" Query="$."/>
							</Setting>
						</Object>
						<Rule Name="fNoCollectAndPathDoesntExist" Query="not($fNoCollectAndPathExists)" Error="Error" Sev="1" Title="Impossibile leggere i dati sulle prestazioni: percorso errato" Text="Impossibile leggere i dati sulle prestazioni dal file {2} perché il percorso non esiste." S2="%szPDHFILE%" AlwaysEvaluate="True"/>
						<Rule Name="fNoCollectAndFileDoesntExist" Query="not($fNoCollectAndFileExists) and $fNoCollectAndPathExists" Error="Error" Sev="1" Title="Impossibile leggere i dati sulle prestazioni: il file non esiste" Text="Impossibile leggere i dati sulle prestazioni dal file {2} perché il file non esiste. Verificare se il file esiste e se la raccolta dati sul file è stata completata." S2="%szPDHFILE%" AlwaysEvaluate="True"/>
						<Rule Name="fFatalErrorTestPdhFileRead" Query="$fFatalErrorReadingPdhFile or $fNoCollectAndFileDoesntExist or $fNoCollectAndPathDoesntExist" AlwaysEvaluate="True"/>
					</Object>

					<!-- Enumerate the server names in the file -->
					<Object Type="PdhInfo" Key1="*" Key2="0" Key3="%szPDHFILE%" SecurityContext="EXLOGON" Timeout="%1000">
						<Setting Key1="Server" Substitution="BLGSERVER">
							<Rule Name="szENUMPDHSERVERNAME" Query="@S1" S1="%BLGSERVER%">
								<Variable Name="BLGServers[%BLGSERVER%]" Scope="Children"/>
							</Rule>
							<!-- If we are just analyzing data (not collecting it), we expect that the server name in the pdh file won't match the server name from the registry.
								Thus, we shouldn't show a warning. However, if there is more than one server in the file, we need to show a warning -->
							<Rule Name="fMatchFound" Query="upper-case($.) = upper-case(@S1) or ('%varCollectPDH%'='0' and $iServerCount = 1) " S1="%SERVER%"/>
						</Setting>
						<Rule Name="fFatalExceptionReadingData" Query="(../Exception or not(../Instance)) and not($fMatchFound)" Error="Error" Title="Impossibile leggere i dati sulle prestazioni" Text="Impossibile leggere i dati sulle prestazioni dal file {0}." S0="%szPDHFILE%" AlwaysEvaluate="True"/>
						<Rule Name="fNoMatchFoundWarning" Query="count($szServerList) &gt; 0 and not($fMatchFound) and not($fFatalExceptionReadingData) and not($fNoCollectAndPathDoesntExist) and not($fNoCollectAndFileDoesntExist)" Title="Nessun dato sulle prestazioni per il server {1}" Text="Non sono stati rilevati dati sulle prestazioni per il server {1} nel file {0}. I file contiene dati sui seguenti server: {2} " S0="%szPDHFILE%" S1="%SERVER%" P2="$szServerList" Error="Warning" AlwaysEvaluate="True"/>
						<Rule Name="szServerList" Query="join(',',$szENUMPDHSERVERNAME)"/>
						<Rule Name="iServerCount" Query="count($szENUMPDHSERVERNAME)"/>
						<Rule Name="iNewServerName" Query="if($iServerCount=1,$szENUMPDHSERVERNAME)">
							<Variable Name="szPDHSERVERNAME" Scope="Children"/>
						</Rule>
						<!-- If we are simply reading from a pdh file, we need to reset the server name. Don't reset it if a we've ever asked the user for a server name.-->
						<Rule Name="szResetServerName" Query="if($iServerCount=1 and '%varDataAction%'='Analyze',$szENUMPDHSERVERNAME)">
							<Variable Name="SERVERNAME" Scope="Global"/>
						</Rule>
						<Object Type="Pdh" Name="Performance Data" Key1="%BLGSERVER%" Key2="4" Key3="%szPDHFILE%" Key4="0" Timeout="%1000">
							<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total" Format="Average">
								<Rule Name="fTestAvgCPU" Query="$."/>
							</Setting>
							<Rule Name="fFailedToReadProcessor" Query="not($fTestAvgCPU) and not($fNoCollectAndFileDoesntExist) and not($fNoCollectAndPathDoesntExist)" Error="Error" Sev="1" Title="Impossibile leggere i dati sulle prestazioni per il server {1}" Text="Impossibile reperire dati sulle prestazioni '{0}' nel file {2}." P0="localize-path('\\%SERVER%\Processor(_Total)\% Processor Time')" S1="%SERVER%" S2="%szPDHFILE%" AlwaysEvaluate="True"/>
							<Rule Name="fFatalErrorReadingPdhFile" Query="not($fTestAvgCPU) and not($fNoMatchFoundWarning)" AlwaysEvaluate="True"/>
						</Object>
					</Object>
					<Rule Name="fWarningContinueAnyway" Query="$fNoMatchFoundContinueAnyway" Error="Warning" Sev="1" Title="Utilizzo del nome server dal file delle prestazioni" Text="Poiché il nome server specificato {2} non è stato trovato nel file {0}, lo strumento ha analizzato i dati del contatore delle prestazioni per il server {1} recuperato dal file." S0="%szPDHFILE%" P1="$szENUMPDHSERVERNAME" S2="%SERVER%" AlwaysEvaluate="True"/>
					<Rule NextStep="GetPerfMonTimeFrame" Name="fNoMatchFoundContinueAnyway" Query="$fNoMatchFoundWarning and $iServerCount = 1" Priority="2" Text="- Continua la risoluzione dei problemi, utilizzando i dati del contatore delle prestazioni per il server {1} recuperato dal file {0}." S0="%szPDHFILE%" P1="$szENUMPDHSERVERNAME" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="SelectServerFromBLGList" Name="fNoMatchFound" Query="$fNoMatchFoundWarning and $iServerCount &gt; 1" Priority="2" Text="- Consente di selezionare un server dall'elenco dei server trovati nel file {0}." S0="%szPDHFILE%" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="GetPerfMonTimeFrame" Name="fGetTimeFrameNS" Query="not($fFatalErrorTestPdhFileRead or $fFatalExceptionReadingData or $fNoMatchFoundWarning)" Priority="2" Text="- Lettura dell'intervallo di tempo dal file di dati sulle prestazioni." Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="E12Collection_CheckPerfCounters" Name="fFailedContinueAnyway" Query="not($fGetTimeFrameNS or $fNoMatchFoundWarning)" Priority="3" AlwaysEvaluate="True">
						<Variable Name="varNoPerfmonData" Scope="Children"/>
					</Rule>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SelectServerFromBLGList" Title="Seleziona server" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varPDHFileName%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%BLGServers%" Substitution="BLGServers" Display="Hide"/>

			<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Seleziona un server"/>

				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="Selezionare un server dall'elenco di server contenuto nel file %szPDHFILE%."/>
				<Object Type="Control" SubType="ComboBox" Name="Servers" Position="Below" Default="%BLGServers%">
					<Setting Key1="Performance data server name">
						<Rule Name="szServerName" Query="$.">
							<Variable Name="szPDHSERVERNAME" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="4" Text="Precedente"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="Avanti" NextStep="GetPerfMonTimeFrame"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CollectScheduledExMonData" Title="Raccolta dati ExMon" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szServer" Display="Hide"/>
			<Setting Key1="%varExMonTimeFormatDuration%" Substitution="varExMonTimeFormatDuration" Display="Hide"/>
			<Setting Key1="%varExMonSelectedDuration%" Substitution="varExMonSelectedDuration" Display="Hide"/>
			<Setting Key1="%varPrettyDateTime%" Substitution="varPrettyDateTime" Display="Hide"/>
			<Setting Key1="%varServerRootDataDirectory%" Substitution="varServerRootDataDirectory" Display="Hide"/>
			<Setting Key1="%fExWinVer2000%" Substitution="fExWinVer2000" Display="Hide"/>

			<Object Type="Progress" SubType="NoCancel" Title="Raccolta dati sulle prestazioni dal server Exchange" Text="Attendere. Raccolta dati prestazioni ExMon dal server di Exchange %szServer% in corso. L'operazione potrebbe richiedere alcuni minuti." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="ExMon Collection" Timeout="%500" Display="Hide">
					<Rule Name="fTellUserTurnOnEtwTracing" Query="not($fEtwTracingOn)" Error="Error" Title="Analisi ExMon non abilitata" Text="Analisi ExMon non abilitata sul server '{1}'." S1="%szServer%" AlwaysEvaluate="True" GUID="082aead9-a9ac-4832-a0a7-8245edf4002d"/>
					<Object Type="Registry" Key1="%szServer%" Key3="System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem" SecurityContext="EXLOGON">
						<Setting Key1="RpcEtwTracing">
							<Rule Name="fEtwTracingOn" Query="$.=1 and $fEtwTracingClock"/>
						</Setting>
					</Object>
					<Object Type="Registry" Key1="%szServer%" Key3="System\CurrentControlSet\Control\WMI\Trace" SecurityContext="EXLOGON">
						<Setting Key1="UsePerformanceClock">
							<Rule Name="fEtwTracingClock" Query="$.=1"/>
						</Setting>
					</Object>

					<!-- Collect ExMon data to a ETL file on the server-->

					<Object Type="Command" Key1="%szServer%" Key2="cmd" Key3="/C logman create trace ExPTA%szServer%%varPrettyDateTime% -s %szServer%" SecurityContext="EXLOGON">
						<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
							<Rule Name="fLogmanExMonError2" Query="$fLogmanExMonFailed2" Error="Error" Sev="1" Title="Errore durante la raccolta del file ExMon" Text="{1} {2}" P1="$." P2="$szLogmanExMonErrorB2"/>
						</Setting>
						<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
							<Rule Name="szLogmanExMonErrorB2" Query="$."/>
						</Setting>
						<Setting Key1="ReturnValue">
							<Rule Name="fLogmanExMonFailed2" Query="$. != 0"/>
						</Setting>
					</Object>
					<Object Type="Command" Key1="%szServer%" Key2="cmd" Key3="/C logman update ExPTA%szServer%%varPrettyDateTime% -p {2EACCEDF-8648-453e-9250-27F0069F71D2} -s %szServer% -o &quot;%varServerRootDataDirectory%\ExPTA%szServer%%varPrettyDateTime%&quot; -rf %varExMonTimeFormatDuration% --a" SecurityContext="EXLOGON">
						<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
							<Rule Name="fLogmanExMonError3" Query="$fLogmanExMonFailed3" Error="Error" Sev="1" Title="Errore durante la raccolta del file ExMon" Text="{1} {2}" P1="$." P2="$szLogmanExMonErrorB3"/>
						</Setting>
						<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
							<Rule Name="szLogmanExMonErrorB3" Query="$."/>
						</Setting>
						<Setting Key1="ReturnValue">
							<Rule Name="fLogmanExMonFailed3" Query="$. != 0">
								<Variable Name="varExMonCollectFailure" Scope="Global"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Command" Key1="%szServer%" Key2="cmd" Key3="/C logman start ExPTA%szServer%%varPrettyDateTime% -s %szServer%" SecurityContext="EXLOGON">
						<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
							<Rule Name="fLogmanExMonError4" Query="$fLogmanExMonFailed4" Error="Error" Sev="1" Title="Errore durante la raccolta del file ExMon" Text="{1} {2}" P1="$." P2="$szLogmanExMonErrorB4"/>
							<Rule Name="fServerW2kWarnOnFailure" Query="'%fExWinVer2000%'='1' and $fLogmanExMonFailed4" Error="Error" Sev="1" Title="Errore durante la raccolta ExMon su Windows 2000 Server" Text="È possibile che la raccolta automatica dei dati ExMon abbia esito negativo per i server che eseguono Windows 2000 Server."/>
						</Setting>
						<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
							<Rule Name="szLogmanExMonErrorB4" Query="$."/>
						</Setting>
						<Setting Key1="ReturnValue">
							<!-- Note: the -rf flag on logman causes the logman to start.. but we'll start it again anyway and ignore any error. This way, the log will
								show (in the output) that it has been started. -->
							<Rule Name="fLogmanExMonFailed4" Query="$. != 0 and $. != '-1073738775'"/>
						</Setting>
					</Object>
					<Object Type="WMI" Key3="Win32_OperatingSystem">
						<Setting Key1="LocalDateTime">
							<Rule Name="dExMonStartTime" Query="date-parse(substring($.,1,14), 'yyyyMMddHHmmss')">
								<Variable Name="varExMonStartTime" Scope="Global"/>
							</Rule>
							<Rule Name="dExMonEndTime" Query="date-add($dExMonStartTime, get-timespan(60*@S1 + 5))" S1="%varExMonSelectedDuration%">
								<Variable Name="varExMonEndTime" Scope="Global"/>
							</Rule>
						</Setting>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<!-- ****************************************************************************************************************** -->
	<!-- The Error Steps (as in, an error occurred... can't continue troubleshooting)					-->
	<!-- ****************************************************************************************************************** -->
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="NeedName" Title="Nome server" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%Problem%" Substitution="Problem" Display="Hide"/>
			<Object Type="Panel" Display="Hide" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Dati insufficienti"/>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Default="%Problem%"/>
				<Object Type="Control" SubType="Label" Name="label" Position="Below" Text=""/>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Precedente"/>
				<Object Type="Control" SubType="Link" Name="Next" NextStep="GetCredentials" Position="NextTo" Percent="20" Text="Avanti"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<!-- FCL DATA PROCESSING STEPS												-->
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CollectFCL" Title="Raccolta registri chiamate di funzioni" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%varFCLFileName%" Substitution="varFCLFileName" Display="Hide"/>
			<Setting Key1="%FCLACTION%" Substitution="FCLACTION" Display="Hide"/>
			<Setting Key1="%FCLRETRYCOUNT%" Substitution="FCLRETRYCOUNT" Display="Hide"/>
			<Setting Key1="30" Substitution="FLUSHTIMEOUT" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%EXSRVNAME%" Substitution="EXSRVNAME" Display="Hide"/>
			<Setting Key1="%varActiveNodeName%" Substitution="varActiveNodeName" Display="Hide"/>
			<Object Type="Progress" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm" Title="Raccolta FCL" Text="Attendere. Raccolta registro chiamate di funzione in corso. Potrebbe essere necessario attendere fino a tre minuti per il completamento della raccolta.">
				<Object Type="Group" Name="All" Class="Intervallo di tempo" GroupingClass="True">
					<Rule NextStep="DisplayResultsStep" Name="fCollectFCLStep" Query="@S1=0 and ($fFCLFlushFileFound or $fCallTracingDisabled) and ($fFatalErrorFCL or $fCallTracingDisabled)" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szCollectFCL" Query="'CollectFCL'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<!-- Overall success or failure? -->
					<Rule Name="szErrorStringFCL" Query="string(@Title)" Title="Sono stati rilevati uno o più errori."/>
					<!-- If we had an error, or tracing is disabled, title should say an error was found -->
 					<Rule Name="szFCLCollectErrorStateText" Query="if($fFatalErrorFCL or $fCallTracingDisabled,$szErrorStringFCL,string(@Title))" Title="Raccolta registro chiamate di funzione completata." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szFCLResult" Query="string(@Title)" Title="Risultati raccolta registro chiamate di funzione">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Object Type="Directory" Name="cn" Key1="LDAP://%DC%/" SecurityContext="EXLOGON">
						<Rule Name="szFCLDirExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message,../Instance//Exception/@Message)" AlwaysEvaluate="True"/>
						<Rule Name="fDirectoryExceptionFCL" Query="../Exception or ../Instance//Exception"/>
						<Rule Name="fFatalErrorDirectoryFCL" Query="$fDirectoryExceptionFCL" Error="Error" Sev="1" Title="Errore durante l'accesso ad Active Directory" Text="Impossibile interrogare la directory sul server {0}. Le credenziali utente potrebbero essere errate o insufficienti per l'esecuzione dello strumento. Errore restituito: {1}" S0="%DC%" P1="$szFCLDirExceptionText" AlwaysEvaluate="True"/>
						<Rule Name="fCallTracingDisabled" Query="not($fCallTracingDisabledKey='0') and ($fKeyExists or $fExchange2000)" Error="NonDefault" Title="La registrazione FCL non è attivata per il server {2}" Text="La registrazione delle chiamate di funzioni non è attivata per il server {2}. Si consiglia di attivare la registrazione delle chiamate di funzioni per la risoluzione dei problemi di prestazioni causati da ritardi nelle richieste RPC." S2="%SERVER%" GUID="2b66d484-e1e2-4255-9e0b-d7337e18ed11" AlwaysEvaluate="True"/>
						<Rule Name="fKeyExists" Query="not($fCallTracingDisabledKey='')"/>
						<Setting Key1="configurationNamingContext" Substitution="CONFIGDN"/>
						<Object Type="Resolve" Name="Server Name" Key1="%SERVER%">
							<Setting Key1="Dns" Substitution="RESOLVEDSRV" Format="^$----%SERVER%"/>
							<Object Type="Directory" Key1="LDAP://%DC%/" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%">
								<Setting Key1="distinguishedName" Substitution="DN"/>
								<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(|(cn=%RESOLVEDSRV%)(cn=%SERVER%)(cn=%EXSRVNAME%)))" Async="100" TrackProgress="TrackProgress" MaxTime="ALL,1" MaxTimeouts="ALL,1" MaxFailures="WMI,1">
									<Setting Key1="serialNumber">
										<Rule Name="fExchange2000" Query="contains ($., 'Version 6.0')">
											<Variable Name="varIsExchange2000" Scope="Global"/>
										</Rule>
									</Setting>
								</Object>
							</Object>
							<Object Type="Registry" Key1="%SERVER%" Key3="SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem" SecurityContext="EXLOGON">
								<Setting Key1="Disable Call Tracing">
									<Rule Name="fCallTracingDisabledKey" Query="$."/>
								</Setting>
							</Object>
						</Object>
					</Object>
					<Object Type="If" Key1="true()">
						<Setting Key1="if('%varActiveNodeName%'='', '%SERVER%', '%varActiveNodeName%')" Substitution="SERVER" Display="Hide"/>
					<Object Type="FCL" Name="Flush FCL Data" Key1="%SERVER%" Key2="%FCLACTION%" Key3="%FLUSHTIMEOUT%" Key4="" SecurityContext="EXLOGON">
						<Rule Name="szFCLExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
						<Rule Name="fFatalErrorFCL" Query="(../Exception or ../Instance/Object/Exception) and not($fCallTracingDisabled)" Error="Error" Sev="1" Title="Errore durante la raccolta FCL" Text="Impossibile raccogliere il registro chiamate di funzioni (FCL) dal server {0}. Errore restituito: {1}" S0="%SERVER%" P1="$szFCLExceptionText" AlwaysEvaluate="True"/>
						<Setting Key1="__FILENAME" Substitution="COLLECTEDFCLFILE" SubstitutionFormat="(.*?)\$(.*)----$1$&quot;$2&quot;">
							<Rule Name="szFCLFileCollect" Query="$."/>
							<Rule Name="fFCLOk" Query="not($fFCLFlushFileNotFound or $fCallTracingDisabled) and string-length($szFCLFileCollect) &gt; 0"/>
						</Setting>
						<Setting Key1="CallTracesFlushed">
							<Rule Name="fFCLFlushFileFound" Query="$.='1' and string-length($.) &gt; 0"/>
							<!-- if the flush failed, give it up to four more tries... sometimes it takes a while to collect... -->
							<Rule NextStep="CollectFCL" Name="fFCLFlushFileNotFound" Query="if($.='0' and @S1&lt;5 and not($fCallTracingDisabled),'Find')" S1="%FCLRETRYCOUNT%">
								<Variable Name="FCLACTION" Scope="Children"/>
							</Rule>
							<Rule Name="iIncrementFCLCount" Query="number(@S1) + 1" S1="%FCLRETRYCOUNT%">
								<Variable Name="FCLRETRYCOUNT" Scope="Children"/>
							</Rule>
						</Setting>
						<Rule Name="fFailedCollectFCL" Query="not($fFCLOk) and @S1='3'" Error="Error" Sev="1" Title="Impossibile raccogliere FCL" Text="Impossibile raccogliere dati registro chiamate di funzione di Exchange." S1="%FCLRETRYCOUNT%" AlwaysEvaluate="True"/>
						<Object Type="Registry" Key1="" Key3="Software\Microsoft\Windows NT\CurrentVersion">
							<Setting Key1="SystemRoot" Substitution="WINDOWSPATHDRIVE" SubstitutionFormat="(.*?):(.*)----$1:"/>
							<Object Type="Command" Key2="cmd" Key3="/C wait 1"/>
							<Object Type="Command" Key2="cmd" Key3="/C md %WINDOWSPATHDRIVE%\PerfLogs">
								<Setting Key1="Output" Key2="stderr" Format="(.*?)\r\n*----$1"/>
								<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1"/>
							</Object>
							<Object Type="Command" Key2="cmd" Key3="/C copy /y %COLLECTEDFCLFILE% &quot;%varFCLFileName%&quot;">
								<!-- Note: Every time ExPTA is run, it creates a new file. Is this the behavior we want? We may create a lot of files (which can be quite large)....
									Note also that this is the same behavior as the blg file. -->
								<Setting Key1="Output" Key2="stderr" Format="(.*?)\r\n*----$1"/>
								<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1"/>
								<Rule Name="szNewFCLName" Query="@S1" S1="%varFCLFileName%">
									<Variable Name="varFCLFileName" Scope="Children"/>
								</Rule>
								<Rule Name="fTellUserNewFileName" Query="$fFCLOk" Error="None" Title="FCL salvato in {1}" Text="Il file del registro chiamate di funzioni (FCL) è stato salvato in {1}." P1="$szNewFCLName"/>
							</Object>
						</Object>
					</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckFCLData" Title="Analisi FCL" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%varFCLFileName%" Substitution="varFCLFileName" Display="Hide"/>
			<Setting Key1="2500" Substitution="DEFAULTTHRESHOLDLOW" Display="Hide"/>
			<Setting Key1="25" Substitution="DEFAULTTHRESHOLDVERYLOW" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varVirusThreads%" Substitution="varVirusThreads" Display="Hide"/>
			<Object Type="Progress" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm" Title="Controlli record FCL" Text="Attendere. È in corso l'analisi registro chiamate di funzione per verificare la presenza di chiamate esterne lente.">
				<!--- Rip apart the FCL and see if something stands out as broken -->
				<Object Type="Group" Name="All" Class="Intervallo di tempo" GroupingClass="True">
					<Object Type="Group" Name="Function Call log" Class="Area" GroupingClass="True">
						<!-- These rules identify success or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckFCLDataStep" Query="@S1=0" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule Name="szCheckFCLData" Query="'CheckFCLData'">
							<Variable Name="PreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szCheckFCLDataResult" Query="string(@Title)" Title="Risultati analisi FCL">
							<Variable Name="DISPLAYTITLE" Scope="Global"/>
						</Rule>
						<Rule Name="szFCLDataAnalysisFailed" Query="string(@Title)" Title="Impossibile analizzare file di registro chiamate di funzione di Exchange."/>
						<Rule Name="szLongCallFound" Query="string(@Title)" Title="È stato identificato un possibile problema con la durata delle chiamate di blocco o le chiamate in corso."/>
						<Rule Name="fNoFCLErrorFound" Query="not($fLongCallFound or $fInProgressCallFound)" AlwaysEvaluate="True"/>
						<Rule Name="szNoFCLErrorFound" Query="if($fNoFCLErrorFound and not($fFCLDataAnalysisFailed),@Text)" Error="None" ReportIssue="Summary" Title="Nessun problema di prestazioni rilevato nel registro chiamate di funzione di Exchange" Text="Il registro chiamate di funzioni (FCL) indica che nessuna singola classe di chiamate di funzioni è responsabile in esclusiva della latenza."/>
						<Rule Name="szErrorStateTextCheckFCLData" Query="if($fFCLDataAnalysisFailed,$szFCLDataAnalysisFailed,if($fNoFCLErrorFound,$szNoFCLErrorFound,$szLongCallFound))" AlwaysEvaluate="True">
							<Variable Name="ErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="fFCLDataAnalysisFailed" Query="$fOtherFCLFailure" AlwaysEvaluate="True"/>
						<Object Type="FCL" Name="Longest FCL Records" Key1="%SERVER%" Key2="%varFCLFileName%" Key3="25" Class="Nome funzione FCL" GroupingClass="True" SecurityContext="EXLOGON">
							<!--Here we have the FCL key settings.	We need each call type to have its own rules, as a long value for one call is not necessarily long for another-->
							<Setting Key1="Name">
								<Rule Name="szFCLOpName" Query="$."/>

								<!-- First our grouping rules-->
								<Rule Name="fLSASSCall" Query="$.='LookupAccountSidA' or $.='LookupAccountSidW' or $.='LookupAccountNameA'"/>
								<Rule Name="fDSCall" Query="$.='HrSearchGuid' or $.='HrReadDsvalGuid' or $.='HrSearch' or $.='HrReadDsval'"/>
								<Rule Name="fVSCall" Query="$.='VirusScanAndClean' or $.='VirusScanAndClean2'"/>
								<Rule Name="fImailCall" Query="$.='HrCreateIMailConverter' or $.='TransitionState' or $.='OpenVirtualProperty' or $.='OpenPropertyEx' or $.='GetFileHandleProp' or $.='GetInetHdrProp' or $.='OnSetHdrProp' or $.='OpenUrl' or $.='GetAdrList' or $.='Load'"/>
								<Rule Name="fJetSnapshotCall" Query="$.='JetOSSnapshotPrepareInstance' or $.='JetOSSnapshotFreeze' or $.='JetOSSnapshotThaw' or $.='JetOSSnapshotTruncateLog'" Error="Error" Sev="2" ReportIssue="Summary" Title="Chiamate istantanee lente" Text="Il registro chiamate di funzioni (FCL) indica alcune chiamate lente a istantanea Jet." GUID="f9144365-7064-4f24-bb55-31999ae5b07a" AlwaysEvaluate="True"/>
								<Rule Name="fJetCall" Query="$.='JetOpenTable' or $.='JetMove' or $.='JetGetTableColumnInfo' or $.='JetRetrieveColumn' or $.='JetAddColumn' or $.='JetBeginTransaction' or $.='JetPrepareUpdate' or $.='JetSetColumn' or $.='JetGetColumnInfo' or $.='JetCloseTable' or $.='JetGetLS' or $.='JetSetLS' or $.='JetMakeKey' or $.='JetSeek' or $.='JetIndexRecordCount' or $.='JetGetTableInfo' or $.='JetBeginTransaction2' or $.='JetUpdate' or $.='JetCreateTable' or $.='JetDeleteTable' or $.='JetCommitTransaction' or $.='JetCreateIndex2' or $.='JetCreateTableColumnIndex2' or $.='JetDeleteColumn2' or $.='JetDeleteColumn' or $.='JetDeleteIndex' or $.='JetDelete' or $.='JetSetIndexRange' or $.='JetGetBookmark' or $.='JetGotoBookmark' or $.='JetRetrieveKey' or $.='JetGetRecordPosition' or $.='JetSetCurrentIndex2' or $.='JetRetrieveColumns'"/>

								<!-- Then our threshold rules, by group (longest call by type) -->
								<Rule Name="fLongLSASSCall" Query="not($fInProgress or $fLookupAccountSidA or $fLookupAccountSidW) and ($fLSASSCall and $iDuration &gt; @S2)" Error="Error" Sev="2" ReportIssue="Issue" Title="Chiamate LSASS lente: tempo di attesa lungo nella chiamata di funzione a LSASS" Text="Una chiamata di funzione a '{6}' ha richiesto più tempo del valore di soglia di {5} secondi per venire completata. La chiamata ha richiesto {9} secondi. Il ritardo si è verificato alle {7}. ID thread chiamante: {8}." S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szFCLOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="9670152d-616f-4e01-adb4-34dafa6873e7"/>
								<Rule Name="fLongDSCall" Query="$fDSCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="Chiamate lente ad Active Directory: tempo di attesa lungo nella chiamata di funzione alla directory" Text="Una chiamata di funzione a '{6}' ha richiesto più tempo del valore di soglia di {5} secondi per venire completata. La chiamata ha richiesto {9} secondi. Il ritardo si è verificato alle {7}. ID thread chiamante: {8}." S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szFCLOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="11eb2a4e-b30e-4333-a868-db990345a1cc"/>
								<Rule Name="fLongVSCall" Query="$fVSCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="Chiamate lente della ricerca virus: tempo di attesa lungo per la chiamata di funzione alla ricerca virus" Text="Una chiamata di funzione a '{6}' ha richiesto più tempo del valore di soglia di {5} secondi per venire completata. La chiamata ha richiesto {9} secondi. Il ritardo si è verificato alle {7}. ID thread chiamante: {8}." S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szFCLOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="10fd9323-882c-43a7-bc17-5facce34885a"/>
								<Rule Name="fLongImailCall" Query="$fImailCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="Chiamate lente alla conversione contenuto: tempo di attesa lungo per a chiamata di funzione alla conversione contenuto" Text="Una chiamata di funzione a '{6}' ha richiesto più tempo del valore di soglia di {5} secondi per venire completata. La chiamata ha richiesto {9} secondi. Il ritardo si è verificato alle {7}. ID thread chiamante: {8}." S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szFCLOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="730db685-263c-471b-b12b-eb1cb2ecd0ba"/>
								<Rule Name="fLongJetSnapshotCall" Query="$fJetSnapshotCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="Chiamate lente all'istantanea Jet: tempo di attesa lungo per la chiamata di funzione al backup dell'istantanea Jet" Text="Una chiamata di funzione a '{6}' ha richiesto più tempo del valore di soglia di {5} secondi per venire completata. La chiamata ha richiesto {9} secondi. Il ritardo si è verificato alle {7}. ID thread chiamante: {8}." S2="20" P5="10*(@S2 div 10000)" P6="$szFCLOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="469f30da-4853-48e8-b4a8-7be74391ec04"/>
								<Rule Name="fLongJetCall" Query="$fJetCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="Chiamate lente a Jet: tempo di attesa lungo nella chiamata di funzione a Jet" Text="Una chiamata di funzione a '{6}' ha richiesto più tempo del valore di soglia di {5} secondi per venire completata. La chiamata ha richiesto {9} secondi. Il ritardo si è verificato alle {7}. ID thread chiamante: {8}." S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szFCLOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="02dce368-071a-46c2-b094-43ed971c2bae"/>

								<!--Next, our rules by individual call (anything where the default threshold may differ...) -->
								<!-- LSASS calls -->
								<Rule Name="fLookupAccountSidA" Template="fFCLError2" S1="LookupAccountSidA" S2="%DEFAULTTHRESHOLDVERYLOW%" S4="LSASS" P6="$szFCLOpName" P7="../../@SampleTime"/>
								<Rule Name="fLookupAccountSidW" Template="fFCLError2" S1="LookupAccountSidW" S2="%DEFAULTTHRESHOLDVERYLOW%" S4="LSASS" P6="$szFCLOpName" P7="../../@SampleTime"/>

								<!-- Now for our 'In Progress' rules, by group (In progress calls can indicate very bad problems)-->
								<Rule Name="fLSASSInProgressCalls" Query="$fLSASSCall and $fInProgress"/>
								<Rule Name="fDSInProgressCalls" Query="$fDSCall and $fInProgress"/>
								<Rule Name="fVSInProgressCalls" Query="$fVSCall and $fInProgress"/>
								<Rule Name="fImailInProgressCalls" Query="$fImailCall and $fInProgress"/>
								<Rule Name="fJetSnapshotInProgressCalls" Query="$fJetSnapshotCall and $fInProgress"/>
								<Rule Name="fJetInProgressCalls" Query="$fJetCall and $fInProgress"/>
							</Setting>
							<Setting Key1="Duration">
								<Rule Name="iDuration" Query="$."/>
							</Setting>
							<Setting Key1="ThreadID">
								<Rule Name="iThreadID" Query="$."/>
							</Setting>
							<Setting Key1="FlushTime">
								<Rule Name="fFlushTime" Query="$."/>
							</Setting>
							<Setting Key1="InProgress">
								<Rule Name="fInProgress" Query="$.='True'"/>
								<Rule Name="fInProgressName" Query="if($.='True',$szFCLOpName)"/>
							</Setting>

							<!-- First our threshold uber-grouping rules-->
							<Rule Name="fLongCallFound" Query="$fLongLSASSCallFound or $fLongDSCallFound or $fLongVSCallFound or $fLongImailCallFound or $fLongJetSnapshotCallFound or $fLongJetCallFound" AlwaysEvaluate="True"/>
							<Rule Name="fLongLSASSCallFound" Query="$fLongLSASSCall or $fLookupAccountSidA or $fLookupAccountSidW" Error="Error" Sev="2" ReportIssue="Summary" Title="Chiamate lente a servizio sottosistema autorità di protezione locale" Text="Il registro chiamate di funzioni (FCL) indica alcune chiamate lente a LSASS." GUID="9670152d-616f-4e01-adb4-34dafa6873e7" AlwaysEvaluate="True"/>
							<Rule Name="fLongDSCallFound" Query="$fLongDSCall" Error="Error" Sev="2" ReportIssue="Summary" Title="Attese lunghe nelle chiamate alla directory rilevata" Text="Il file di registro chiamate di funzione indica che si sono verificati tempi di attesa lunghi nel processo {0} per le chiamate alla directory. Verificare l'integrità dei server di directory." S0="Store.exe" GUID="11eb2a4e-b30e-4333-a868-db990345a1cc" AlwaysEvaluate="True"/>
							<Rule Name="fLongVSCallFound" Query="$fLongVSCall" Error="Error" Sev="2" ReportIssue="Summary" Title="Chiamate programma antivirus lente" Text="Il registro chiamate di funzioni (FCL) indica alcune chiamate lente a un programma antivirus." GUID="10fd9323-882c-43a7-bc17-5facce34885a" AlwaysEvaluate="True"/>
							<Rule Name="fLongImailCallFound" Query="$fLongImailCall" Error="Error" Sev="2" ReportIssue="Summary" Title="Tempi di attesa lunghi nelle chiamate alla conversione del contenuto" Text="Il registro chiamate di funzioni (FCL) indica alcune chiamate lente alla conversione del contenuto." GUID="730db685-263c-471b-b12b-eb1cb2ecd0ba" AlwaysEvaluate="True"/>
							<Rule Name="fLongJetSnapshotCallFound" Query="$fLongJetSnapshotCall" Error="Error" Sev="2" ReportIssue="Summary" Title="Chiamate lente dell'istantanea di volume" Text="Il registro chiamate di funzione indica alcune chiamate lente all'istantanea di volume." GUID="469f30da-4853-48e8-b4a8-7be74391ec04 " AlwaysEvaluate="True"/>
							<Rule Name="fLongJetCallFound" Query="$fLongJetCall" Error="Error" Sev="2" ReportIssue="Summary" Title="Chiamate lente di Extensible Storage Engine" Text="Il registro chiamate di funzioni (FCL) indica alcune chiamate lente a ESE." GUID="02dce368-071a-46c2-b094-43ed971c2bae" AlwaysEvaluate="True"/>

							<!-- Next our 'In Progress' uber-grouping rules -->
							<Rule Name="iListOfInProgress" Query="join(', ',$fInProgressName)" Error="Warning" Sev="1" ReportIssue="Issue" Title="Elenco delle chiamate in corso del registro chiamate di funzione di Exchange" Text="Le seguenti chiamate di funzioni sono ancora in corso: {1}" P1="join(', ',$fInProgressName)"/>
							<Rule Name="iCountInProgress" Query="count($fInProgress)"/>
							<Rule Name="iLSASSInProgressCallCount" Query="count($fLSASSInProgressCalls)"/>
							<Rule Name="iDSInProgressCallCount" Query="count($fDSInProgressCalls)"/>
							<Rule Name="iVSInProgressCallCount" Query="count($fVSInProgressCalls)"/>
							<Rule Name="iImailSInProgressCallCount" Query="count($fImailInProgressCalls)"/>
							<Rule Name="iJetSnapshotInProgressCallCount" Query="count($fJetSnapshotInProgressCalls)"/>
							<Rule Name="iJetInProgressCallCount" Query="count($fJetInProgressCalls)"/>

							<!-- The warning rules for in-progress calls -->
							<Rule Name="fInProgressCallFound" Query="$fInProgress"/>
							<Rule Name="fNoInProgressCallFound" Query="not($iListOfInProgress)" Error="None" ReportIssue="Summary" Title="Nessuna chiamata in corso nel registro chiamate di funzione di Exchange" Text="Il registro chiamate di funzioni (FCL) non indica chiamate di funzione in corso."/>
							<Rule Name="fLSASSInProgressCallCountWarn" Query="count($fLSASSInProgressCalls)&gt;0 and not($iLSASSMostInProgress)" Error="Error" ReportIssue="Summary" Title="Chiamate a servizio sottosistema autorità di protezione locale in corso" Text="Il registro chiamate di funzioni (FCL) indica chiamate in corso a LSASS." GUID="ee941070-46f6-4be7-85fd-c837b8302804"/>
							<Rule Name="fDSInProgressCallCountWarn" Query="count($fDSInProgressCalls)&gt;0 and not($iDSMostInProgress)" Error="Warning" ReportIssue="Summary" Title="Chiamate in corso alla directory rilevata" Text="Il file di registro chiamate di funzione indica che si sono verificati tempi di attesa lunghi nel processo {0} per le chiamate alla directory. Verificare l'integrità dei server di directory." S0="Store.exe" GUID="bb380d6b-1c7c-499d-9a7b-d7dfda015398"/>
							<Rule Name="fVSInProgressCallCountWarn" Query="count($fVSInProgressCalls)&gt;0 and not($iVSMostInProgress)" Error="Warning" ReportIssue="Summary" Title="Rilevate chiamate in corso al programma antivirus" Text="Il registro chiamate di funzioni (FCL) indica chiamate in corso a un programma antivirus." GUID="15d0996d-889c-414d-b34e-f5d5b1bbdba4"/>
							<Rule Name="fImailSInProgressCallCountWarn" Query="count($fImailInProgressCalls)&gt;0 and not($iImailSMostInProgress)" Error="Warning" ReportIssue="Summary" Title="Rilevate chiamate in corso al programma antivirus" Text="Il registro chiamate di funzioni (FCL) indica chiamate in corso alla conversione del contenuto." GUID="77d6d674-a0ba-4ca3-8985-849321746c36"/>
							<Rule Name="fJetSnapshotInProgressCallCountWarn" Query="count($fJetSnapshotInProgressCalls) and not($iJetSnapshotMostInProgress)" Error="Warning" ReportIssue="Summary" Title="Rilevate chiamate in corso all'istantanea volume" Text="Il registro chiamate di funzioni (FCL) indica chiamate in corso all'istantanea Jet."/>
							<Rule Name="fJetInProgressCallCountWarn" Query="count($fJetInProgressCalls)&gt;0 and not($iJetMostInProgress)" Error="Warning" ReportIssue="Summary" Title="Trovate chiamate in corso per Extensible Storage Engine (ESE)" Text="Il registro chiamate di funzioni (FCL) indica che sono presenti chiamate in corso a ESE." GUID="075bb03f-4c21-4d8b-95e3-3408e67ad14d"/>

							<!-- Is any group responsible for a majority of the outstanding calls? -->
							<Rule Name="iLSASSMostInProgress" Query="count($fLSASSInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="La maggior parte delle chiamate in corso è in LSASS" Text="Tra {1} chiamate in corso, {2} sono in LSASS." P1="$iCountInProgress" P2="count($fLSASSInProgressCalls)" GUID="6fa92be1-6f85-46df-8ec8-cb5f4df8cc81"/>
							<Rule Name="iDSMostInProgress" Query="count($fDSInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="La maggior parte delle chiamate in corso è in attesa sulla directory" Text="Tra {1} chiamate in corso, {2} sono in attesa sulla directory. Verificare lo stato dei server della directory." P1="$iCountInProgress" P2="count($fDSInProgressCalls)" GUID="b56f94c9-8841-4c43-b41f-5330f1a00c40"/>
							<Rule Name="iVSMostInProgress" Query="count($fVSInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="La maggior parte delle chiamate in corso è nel programma antivirus" Text="Tra {1} chiamate in corso, {2} sono in un programma antivirus." P1="$iCountInProgress" P2="count($fVSInProgressCalls)" GUID="4da30333-dd95-45eb-b254-73c08fd6bf5d"/>
							<Rule Name="iImailSMostInProgress" Query="count($fImailInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="La maggior parte delle chiamate in corso è nella conversione del contenuto" Text="Tra {1} chiamate in corso, {2} sono nella conversione del contenuto." P1="$iCountInProgress" P2="count($fImailInProgressCalls)" GUID="9188b533-610f-4330-a559-4d1b1b7a34e0"/>
							<Rule Name="iJetSnapshotMostInProgress" Query="count($fJetSnapshotInProgressCalls) &gt; 0" Error="BestPractice" Sev="1" ReportIssue="Summary" Title="Chiamate in corso alla copia shadow dell'istantanea del volume" Text="Sull'istantanea copia shadow del volume sono presenti {2} chiamate in corso." P2="count($fJetSnapshotInProgressCalls)" GUID="f9144365-7064-4f24-bb55-31999ae5b07a"/>
							<Rule Name="iJetMostInProgress" Query="count($fJetInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="La maggior parte delle chiamate in corso è in Jet" Text="Tra {1} chiamate in corso, {2} sono a ESE." P1="$iCountInProgress" P2="count($fJetInProgressCalls)" GUID="846bcbe7-0e27-4762-bff9-1d75727a2897"/>

							<!-- Near any known limits? -->
							<Rule Name="iVSInProgressNearThreadLimit" Query="(count($fVSInProgressCalls) &gt; (@S2 - 2)) and not(@S2='%varVirusThreads%' or @S2='')" Error="Error" ReportIssue="Issue" Title="Chiamate al programma antivirus in corso vicine al limite thread" Text="Il registro chiamate di funzioni (FCL) indica {1} chiamate in corso al programma antivirus e per il programma antivirus sono disponibili solo {2} thread." P1="count($fVSInProgressCalls)" S2="%varVirusThreads%" GUID="c75511c9-6ff4-4bc3-a04d-3e5394875364"/>

							<!-- See if FCL failed entirely.... -->
							<Rule Name="fOtherFCLFailure" Query="../Exception" Error="Error" Sev="1" Title="Impossibile analizzare registro chiamate di funzione di Exchange" Text="Impossibile analizzare la registrazione delle chiamate di funzioni Exchange (FCL) {0}. Errore restituito dalla raccolta FCL: {1}" S0="%varFCLFileName%" P1="../Exception/@Message"/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<!-- Start troubleshooting ...												-->
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SelectAnalyzeOrCollect" Title="Selezionare tipo esecuzione" SkipSave="True" Display="Left">
		<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%DEFEXSERVER%" Substitution="varDefaultExchangeServer" Display="Hide"/>
				<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
				<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
				<Setting Key1="%varCollectButton%" Substitution="varCollectButton" Display="Hide"/>
				<Setting Key1="%varAnalyzeButton%" Substitution="varAnalyzeButton" Display="Hide"/>

				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Risoluzione problemi di prestazioni di Exchange"/>
				<Object Type="Control" SubType="Label" Name="labelLabel" Position="Below" Width="250" Text="Immettere un'etichetta di identificazione per questa analisi:"/>
				<Object Type="Control" SubType="TextBox" Name="Label" Position="265," Width="531" Default="" Display="Hide">
					<Setting Key1="LabelName">
						<Rule Name="szLabelSpecified" Query="$.">
							<Variable Name="varLabel" Scope="Global"/>
						</Rule>
						<Rule Name="szDefaultLabel" Query="if(string-length($.) = 0, @S1,$.)" S1="%varDefaultExchangeServer% - %varCurrentDateTime%"/>
						<Rule Name="fSetDefaultLabel" Query="setLabel($szDefaultLabel)"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="TopLine" Position="At(labelLabel),After(labelLabel)"/>
				<Object Type="Control" SubType="RadioButton" Name="SkipToCollection" Position="Below" Text="Risolvi i nuovi problemi di prestazioni" Default="%varCollectButton%">
					<Setting Key1="CollectionChecked">
						<Rule NextStep="SelectSymptom" Name="iSelectSymptom" Query="$.='1'"/>
						<Rule Name="iCollect" Query="$.">
							<Variable Name="varCollectButton" Scope="Global"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="RadioButton" Name="SkipToAnalysis" Position="Below" Text="Analizza dati raccolti in precedenza" Default="%varAnalyzeButton%">
					<Setting Key1="AnalysisChecked">
						<Rule NextStep="GetAnalysisInfo" Name="iSkipToAnalysis" Query="$.='1'"/>
						<Rule Name="iAnalyze" Query="$.">
							<Variable Name="varAnalyzeButton" Scope="Global"/>
						</Rule>
					</Setting>
					<Object Type="Registry" Key1="" Key2="HKEY_CURRENT_USER" Key3="Software\Microsoft\Exchange\ExPTA" SecurityContext="EXLOGON">
						<Setting Key1="DefaultDataFolder">
							<Rule Name="szDefaultDataFolderReg2" Query="if(string-length($.)&gt;0,$.)">
								<Variable Name="varDefaultDataFolder" Scope="Global"/>
							</Rule>
						</Setting>
					</Object>
				</Object>
				<Object Type="Control" SubType="Label" Name="indent2" Position="Below" Text=" "/>
				<Object Type="Control" SubType="Label" Name="labelSkipToAnalysis" Position="NextTo" Text="Se si seleziona questa opzione è possibile selezionare i dati sulle prestazioni raccolti in precedenza per l'analisi."/>

				<Object Type="Control" SubType="GradiatedBox" Name="MiddleLine" Position="Below"/>
				<Object Type="Control" SubType="CheckBox" Name="ContinueRun" Position="Below" Text="Nascondi visualizzazione informazioni" Default="%varContinueRun%">
					<Setting Key1="Checked">
						<Rule Name="iContinueRun3" Query="$.">
							<Variable Name="varContinueRunTemp" Scope="Local"/>
							<Variable Name="varContinueRun" Scope="Local"/>
						</Rule>
						<Rule Name="fSetContinueRun3" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','SkipInformationalSteps',$.)"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="label6" Position="Below" Text="Selezionando questa opzione i dettagli dei risultati dell'analisi verranno nascosti fino al termine dell'analisi."/>

				<Object Type="Control" SubType="GradiatedBox" Name="BottomLine" Position="Below"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="LeftBelow" Percent="20" Text="Avanti"/>
			</Object>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetNewTime" Title="Aggiorna ora corrente" Display="HideAll">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="varServer" Display="Hide"/>
			<Setting Key1="%varPrettyDateTime%" Substitution="varPrettyDateTime" Display="Hide"/>
			<Setting Key1="%EXSRVNAME%" Substitution="EXSRVNAME" Display="Hide"/>
			<Setting Key1="%DCName%" Substitution="varDC" Display="Hide"/>
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Object Type="Progress" Title="Verifica della connettività ai server Exchange e di Active Directory" Text="Attendere. È in corso la verifica della connettività al server Exchange %varServer% e al server di Active Directory %varDC%." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="Connectivity Results and Machine Data" Class="Area" GroupingClass="True">
				<!-- need to get the updated time to set the correct default in the DateTimePicker control
					use current time, plus 5 minutes as the default.
					-->
					<Rule NextStep="DisplayResultsStep" Name="fDisplayGetNewTimeStep" Query="$fFatalErrorDirectoryCMS" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szGetNewTime" Query="'GetNewTime'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayGetNewTimeData" Query="string(@Title)" Title="Risultati della verifica della connettività">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szGetNewTimeErrorText" Query="''" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Object Type="WMI" Key3="Win32_OperatingSystem" SecurityContext="EXLOGON">
						<Setting Key1="LocalDateTime">
							<Rule Name="dUpdatedDateTime" Query="date-parse(substring($.,1,14), 'yyyyMMddHHmmss')"/>
							<Rule Name="dFutureTime" Query="date-add($dUpdatedDateTime, get-timespan(5*60))">
								<Variable Name="varFutureDateTime" Scope="Children"/>
							</Rule>
							<Rule Name="dLatestFutureTime" Query="date-add($dUpdatedDateTime, get-timespan(30*24*60*60))">
								<Variable Name="varMaxDateTime" Scope="Children"/>
							</Rule>
						</Setting>
						<Rule NextStep="GetDataCollectionInfo" Name="fGoOn" Query="not($fLocalInformationFailure or $fFatalErrorDirectoryCMS)" AlwaysEvaluate="True"/>
						<Rule Name="szServerRootDataDirectory" Query="if($szServerRootDataReg,$szServerRootDataReg,'C:\Perflogs')" AlwaysEvaluate="True">
							<Variable Name="varServerRootDataDirectory" Scope="Global"/>
						</Rule>
						<Rule Name="szServerRemoteCollectPDH" Query="if($szRemoteCollectPDH,$szRemoteCollectPDH,'1')" AlwaysEvaluate="True">
							<Variable Name="varCollectPDHLocally" Scope="Children"/>
						</Rule>
						<Object Type="Registry" Key1="" Key3="Software\Microsoft\Exchange\Setup">
							<Setting Key1="Services">
								<Rule Name="szExchBinPath" Query="$.">
									<Variable Name="varExchBinPath" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Registry" Key1="" Key2="HKEY_CURRENT_USER" Key3="Software\Microsoft\Exchange\ExPTA">
							<Setting Key1="LocalPDHCollection.%varServer%">
								<Rule Name="szRemoteCollectPDH" Query="$."/>
							</Setting>
							<Setting Key1="ServerRootDataFolder.%varServer%">
								<Rule Name="szServerRootDataReg" Query="$."/>
							</Setting>
						</Object>
					</Object>
					<Object Type="Engine" Name="Staging" SecurityContext="EXLOGON">
						<Rule Name="fLocalInformationFailure" Query="../Exception or ../Instance/Object/Exception" Error="Error" Title="Impossibile ottenere informazioni sulla directory locale" Text="Si è verificato un errore durante il recupero delle informazioni dalla directory locale. Assicurarsi di aver fornito credenziali valide. {1}" P1="$szLocalInfoExceptionText"/>
						<Rule Name="szLocalInfoExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
						<Setting Key1="CurrentDirectory">
							<Rule Name="szCurrentDirectory" Query="$.">
								<Variable Name="varCurrentDirectory" Scope="Children"/>
							</Rule>
							<Rule Name="szFCLFileName0" Query="@S2" S2="%varServer%-FCL.fcl">
								<Variable Name="varFCLFileName" Scope="Children"/>
							</Rule>
							<Rule Name="szPDHFileName0" Query="@S2" S2="%varServer%-PDH.blg">
								<Variable Name="varPDHFileName" Scope="Children"/>
							</Rule>
							<Rule Name="szExMonFileName0" Query="@S2" S2="%varServer%-EXMON.etl">
								<Variable Name="varExMonFileName" Scope="Global"/>
								<Variable Name="varExMonBaseFileName" Scope="Global"/>
							</Rule>
							<Rule Name="szEventLogFileName0" Query="@S2" S2="%varServer%-EVENTLOG.xml">
								<Variable Name="varEventLogFileName" Scope="Children"/>
							</Rule>
							<Rule Name="szDataFolderName0" Query="@S2" S2="%varServer%-%varPrettyDateTime%">
								<Variable Name="varDataFolderName" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="ExecutionCulture">
							<Rule Name="szExecutionCulture" Query="$.">
								<Variable Name="varExecutionCulture" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Group" Name="ClusterInfo" Display="Hide">
						<!-- if the exchange server is an E12 Win2008 server, or if it's an E12 win2003 server and we are running on the server,
							Use monad to see if this is a clustered mailbox server (CMS)
							If it is a CMS, get the active node.
							-->
						<Object Type="WMI" Key1="%SERVER%" Key3="Win32_Service" Key4="Name='ClusSvc'">
							<Setting Key1="StartName" SubstitutionFormat="^(?i:LocalSystem)$----SYSTEM" Retrieve="FailHard">
								<Rule Name="szClusterServiceName" Query="$."/>
							</Setting>
							<Setting Key1="Started">
								<Rule Name="fExchangeCluster" Query="count($.) &gt; 0"/>
								<Rule Name="fClusterServiceRunningKey" Query="$.='True'" Error="None" Text="Questo è un server virtuale di Exchange."/>
							</Setting>
						</Object>
						<Object Type="Registry" Key1="%SERVER%" Key3="Software\Microsoft\Windows NT\CurrentVersion" SecurityContext="EXLOGON">
							<Setting Key1="CurrentVersion">
								<Rule Name="szExWinVerb" Query="$."/>
								<Rule Name="fExWinVer2003b" Query="$.='5.2'"/>
								<Rule Name="fExWinVer2008b" Query="contains($.,'6.')"/>
								<Rule Name="fServerLocalMachineCMSMismatchb" Query="not(($fExWinVer2003b and $fLocalMachineWinVer2003b) or ($fExWinVer2008b and $fLocalMachineWinVer2008b))"/>
							</Setting>
						</Object>
						<Object Type="Registry" Key1="" Key3="Software\Microsoft\Windows NT\CurrentVersion">
							<Setting Key1="CurrentVersion">
								<Rule Name="fLocalMachineWinVer2003b" Query="$.='5.2'"/>
								<Rule Name="fLocalMachineWinVer2008b" Query="contains($.,'6.')"/>
							</Setting>
						</Object>
						<Object Type="Directory" Name="cn" Key1="LDAP://%varDC%/" SecurityContext="EXLOGON">
							<Rule Name="szExceptionTextCMS" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
							<Rule Name="fDirectoryExceptionCMS" Query="../Exception or ../Instance/Object/Exception"/>
							<Rule Name="fFatalErrorDirectoryCMS" Query="($fDirectoryExceptionCMS or $fFailedToFindServerInDirectoryCMS)" Error="Error" Sev="1" Title="Errore durante l'accesso ad Active Directory" Text="Impossibile inviare la query alla directory sul server {0}. È probabile che le credenziali dell'utente non siano corrette o che non si disponga di autorizzazioni sufficienti per eseguire questo strumento. È stato segnalato il seguente errore: {1}" S0="%varDC%" P1="$szExceptionTextCMS" AlwaysEvaluate="True"/>
							<Rule Name="fUNCServer" Query="if($fActiveNodeName,$fActiveNodeName,@S2)" S2="%varServer%" AlwaysEvaluate="True">
								<Variable Name="varUNCServer" Scope="Children"/>
							</Rule>
							<Setting Key1="configurationNamingContext" Substitution="CONFIGDN"/>
							<Object Type="Resolve" Name="Server Name" Key1="%varServer%">
								<Setting Key1="Dns" Substitution="RESOLVEDSRV" Format="^$----%varServer%"/>
								<Rule Name="fFailedToFindServerInDirectoryCMS" Query="not($szExchangeServerNameResolve) and not($fDirectoryExceptionCMS)" Error="Error" Sev="1" Title="Impossibile trovare il server Exchange {2} nella directory" Text="Impossibile trovare il server Exchange {2} in Active Directory sul server {1}. Fornire il nome CMS per il server Exchange." S1="%varDC%" S2="%varServer%" AlwaysEvaluate="True"/>
								<Object Type="Directory" Key1="LDAP://%varDC%/" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%">
									<Setting Key1="distinguishedName" Substitution="DN"/>
									<Object Type="Directory" Key1="LDAP://%varDC%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(|(cn=%RESOLVEDSRV%)(cn=%varServer%)(cn=%EXSRVNAME%)))" Async="100" TrackProgress="TrackProgress" MaxTime="ALL,1" MaxTimeouts="ALL,1" MaxFailures="WMI,1">
										<Setting Key1="name">
											<Rule Name="szExchangeServerNameResolve" Query="$.">
												<Variable Name="EXSRVNAME" Scope="Children"/>
											</Rule>
										</Setting>
										<Setting Key1="serialNumber">
											<Rule Name="fExchange12CMS" Query="contains ($., 'Version 8.')">
												<Variable Name="varIsExchange12" Scope="Children"/>
											</Rule>
										</Setting>
										<Setting Key1="msExchServerRedundantMachines">
											<Rule Name="fIsCCR" Query="$."/>
										</Setting>
										<Object Type="MonadCommand" Key1="Get-ClusteredMailboxServerStatus -Identity %varServer%">
											<Rule Name="szExceptionTextMonad" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
											<Rule Name="fErrorMonad" Query="$fExchangeCluster and (../Exception or ../Instance/Object/Exception)" Error="Error" Sev="4" Title="Errore durante l'accesso al server tramite Monad" Text="Errore durante l'esecuzione della query 'Get-ClusteredMailboxServerStatus'. Si sta eseguendo questo strumento su un computer in cui sono installati strumenti amministrativi di Exchange. È stato segnalato il seguente errore: {1}" P1="$szExceptionTextMonad" AlwaysEvaluate="True"/>
											<Setting Key1="OperationalMachines">
												<!-- Note: the string "Active" is not localized. -->
												<Rule Name="fActiveNodeName" Query="substring-before($.[contains(.,'Active')],' ')">
													<Variable Name="varActiveNodeName" Scope="Children"/>
												</Rule>
											</Setting>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetDataCollectionInfo" Title="Configura la raccolta dati" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="varServer" Display="Hide"/>
			<Setting Key1="%szTimeFrame%" Substitution="szTimeFrame" Display="Hide"/>
			<Setting Key1="%iSHORTSAMPLEINTERVAL%" Substitution="iSHORTSAMPLEINTERVAL" Display="Hide"/>
			<Setting Key1="%iLONGSAMPLEINTERVAL%" Substitution="iLONGSAMPLEINTERVAL" Display="Hide"/>
			<Setting Key1="%varCollectNow%" Substitution="varCollectNow" Display="Hide"/>
			<Setting Key1="%varCollectLater%" Substitution="varCollectLater" Display="Hide"/>
			<Setting Key1="%varExMonSelectedDuration%" Substitution="varExMonSelectedDuration" Display="Hide"/>
			<Setting Key1="%varPDHSelectedDuration%" Substitution="varPDHSelectedDuration" Display="Hide"/>
			<Setting Key1="%szExMonTimeFrame%" Substitution="szExMonTimeFrame" Display="Hide"/>
			<Setting Key1="%varFCLFileName%" Substitution="varFCLFileName" Display="Hide"/>
			<Setting Key1="%varPDHFileName%" Substitution="varPDHFileName" Display="Hide"/>
			<Setting Key1="%varExMonFileName%" Substitution="varExMonFileName" Display="Hide"/>
			<Setting Key1="%varExMonBaseFileName%" Substitution="varExMonBaseFileName" Display="Hide"/>
			<Setting Key1="%varEventLogFileName%" Substitution="varEventLogFileName" Display="Hide"/>
			<Setting Key1="%varRootDataDirectory%" Substitution="varRootDataDirectory" Display="Hide"/>
			<Setting Key1="%varDataFolderName%" Substitution="varDataFolderName" Display="Hide"/>
			<Setting Key1="%varCollectPDH%" Substitution="varCollectPDH" Display="Hide"/>
			<Setting Key1="%varCollectFCL%" Substitution="varCollectFCL" Display="Hide"/>
			<Setting Key1="%varCollectExMon%" Substitution="varCollectExMon" Display="Hide"/>
			<Setting Key1="%varCollectEventLog%" Substitution="varCollectEventLog" Display="Hide"/>
			<Setting Key1="%varFutureDateTime%" Substitution="varFutureDateTime" Display="Hide"/>
			<Setting Key1="%varMaxDateTime%" Substitution="varMaxDateTime" Display="Hide"/>
			<Setting Key1="%varServerRootDataDirectory%" Substitution="varServerRootDataDirectory" Display="Hide"/>
			<Setting Key1="%varCollectPDHLocally%" Substitution="varCollectPDHLocally" Display="Hide"/>
			<Setting Key1="%varCurrentDirectory%" Substitution="varCurrentDirectory" Display="Hide"/>
			<Setting Key1="%varPrettyDateTime%" Substitution="varPrettyDateTime" Display="Hide"/>
			<Setting Key1="%varExchBinPath%" Substitution="varExchBinPath" Display="Hide"/>
			<Setting Key1="%varExecutionCulture%" Substitution="varExecutionCulture" Display="Hide"/>
			<Setting Key1="%varUNCServer%" Substitution="varUNCServer" Display="Hide"/>
			<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Configura raccolta dati"/>
				<Object Type="Control" SubType="GroupBox" Name="Data collection options" Position="LeftBelow" Text="Opzioni di raccolta dati">
					<Object Type="Control" SubType="Label" Name="Next3" Position="Below" Percent="20" Text="Directory dati principale"/>
					<Object Type="Control" SubType="FileDialog" Name="DefaultRootFolder" Position="NextTo" Width="375" Text="Sfoglia..." DialogType="OpenFolder" Flags="ReadOnly=True|AllowCreate=True" Default="%varRootDataDirectory%">
						<Setting Key1="FileName">
							<Rule Name="fSetReg4" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','RootDataFolder',$.)"/>
							<Rule Name="szRootDataDirectory2" Query="$." Text="Directory dati principale locale: {0}" P0="$.">
								<Variable Name="varRootDataDir" Scope="Children"/>
							</Rule>
							<Rule Name="szDataFolderName" Query="@S2" S2="%varDataFolderName%"/>
							<Rule Name="szDataFolder" Query="concat($.,'\',@S2)" Text="Cartella dati locale (percorso completo): {0}" P0="concat($.,'\',@S2)" S2="%varDataFolderName%">
								<Variable Name="varDataFolder" Scope="Children"/>
							</Rule>
							<Rule Name="szDataAction" Query="'Collect'" AlwaysEvaluate="True">
								<Variable Name="varDataAction" Scope="Global"/>
							</Rule>
							<Rule Name="szDataDoc" Query="concat(concat($szRootDataDirectory2,'\'),$szDataFolderName,'\ConnectivityCheck.xml')" AlwaysEvaluate="True">
								<Variable Name="varDataDoc" Scope="Global"/>
							</Rule>
							<Rule Name="szMiscBasicChecksDataDoc" Query="concat(concat($szRootDataDirectory2,'\'),$szDataFolderName,'\MiscBasicChecks.xml')" AlwaysEvaluate="True">
								<Variable Name="varMiscBasicChecksDataDoc" Scope="Global"/>
							</Rule>
							<Rule Name="szBasicDiskDataDataDoc" Query="concat(concat($szRootDataDirectory2,'\'),$szDataFolderName,'\BasicDiskData.xml')" AlwaysEvaluate="True">
								<Variable Name="varBasicDiskDataDataDoc" Scope="Global"/>
							</Rule>
							<Rule Name="szFindExchangeObjectsDataDoc" Query="concat(concat($szRootDataDirectory2,'\'),$szDataFolderName,'\ExchangeObjects.xml')" AlwaysEvaluate="True">
								<Variable Name="varFindExchangeObjectsDataDoc" Scope="Global"/>
							</Rule>
							<Rule Name="szUserDataDoc" Query="concat(concat($szRootDataDirectory2,'\'),$szDataFolderName,'\UserProfile.xml')" AlwaysEvaluate="True">
								<Variable Name="varUserDataDoc" Scope="Global"/>
							</Rule>
							<Rule Name="szEventLogDataDoc" Query="concat(concat($szRootDataDirectory2,'\'),$szDataFolderName,'\EventLog.xml')" AlwaysEvaluate="True">
								<Variable Name="varEventLogDataDoc" Scope="Global"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="If" Key1="true()">
						<Object Type="Control" SubType="Label" Name="explaintext1" Position="Below" Text="I dati verranno salvati nella cartella '%varDataFolderName%' sotto la directory dati principale."/>
					</Object>
					<Object Type="Control" SubType="Label" Name="indent0" Position="LeftBelow" Text=""/>
					<Object Type="Control" SubType="RadioButton" Name="Wait" Position="Below" LineSpace="1" Text="Avvia raccolta." Default="%varCollectNow%">
						<Setting Key1="CollectAndWait">
							<Rule Name="fSetReg3" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','CollectNow',$.)"/>
							<Rule Name="fCollectNow" Query="$.">
								<Variable Name="varCollectNow" Scope="Global"/>
							</Rule>
							<Rule Name="fCollectLater" Query="if($.='1','0','1')">
								<Variable Name="varCollectLater" Scope="Global"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="indent20" Position="Below" Text=" "/>
					<Object Type="Control" SubType="Label" Name="explaintext20" Position="NextTo" Text="(Se si seleziona questa opzione, lo strumento attende prima il completamento della raccolta, quindi analizza i dati raccolti).">
					</Object>
					<Object Type="If" Name="AnalyzePerfMon" Key1="true()">
						<Setting Key1="if('%varCollectLater%'='1','True','False')" Substitution="ENABLED"/>
						<Object Type="Control" SubType="RadioButton" Name="Schedule" Position="LeftBelow" LineSpace="1" Text="Avvia raccolta dati alle: " Default="%varCollectLater%">
							<Setting Key1="CollectLater"/>
							<Event Type="Changed">
								<Action Type="Enable" ControlName="StartTime" Query="control-value('Schedule')='1'"/>
							</Event>
						</Object>
						<Object Type="Control" SubType="DateTimePicker" Name="StartTime" Position="NextTo" MinValue="Now" MaxValue="%varMaxDateTime%" Flags="ShowUpDown=True|Enabled=%ENABLED%" Default="%varFutureDateTime%">
							<Setting Key1="Time">
								<Rule Name="szStartTime" Query="$.">
									<Variable Name="varPrettyStartTime" Scope="Children"/>
								</Rule>
								<Rule Name="fDifference" Query="date-difference($.,@S0)" S0="%varFutureDateTime%"/>
							</Setting>
							<Setting Key1="Date" Format=".*?/(.*?)/.*----$1">
								<Rule Name="iDate" Query="$."/>
								<!-- The At object processor requires the day as a bitmask, converted to hex
									The bitmask is 1 followed by iDate-1 zeros;
									Convert that binary to hex and pass it to the At object processor -->
								<Rule Name="iMult4" Query="roundto((round($iDate)-1) div 4 - 0.49,0)"/>
								<Rule Name="iRemainder4" Query="(round($iDate)-1) mod 4"/>
								<Rule Name="iHexValueBase" Query="if($iMult4=7,10000000,if($iMult4=6,1000000,if($iMult4=5,100000,if($iMult4=4,10000,if($iMult4=3,1000,if($iMult4=2,100,if($iMult4=1,10,1)))))))"/>
								<Rule Name="iMultiplier" Query="if($iRemainder4=3,8,if($iRemainder4=2,4,if($iRemainder4=1,2,1)))"/>
								<Rule Name="iStartDay" Query="$iHexValueBase*$iMultiplier">
									<Variable Name="varStartDay" Scope="Children"/>
								</Rule>
							</Setting>
							<Setting Key1="Hour" Format=".*?/.*?/.*?\s(.*?):.*----$1">
								<Rule Name="iHour" Query="$."/>
							</Setting>
							<Setting Key1="Minute" Format=".*?/.*?/.*?\s.*?:(.*?):.*----$1">
								<Rule Name="iMinute" Query="$."/>
								<Rule Name="iMilliseconds" Query="$iHour*3600000 + $iMinute*60000">
									<Variable Name="varStartTime" Scope="Children"/>
								</Rule>

								<!-- Try to find wizcmd in the local directory first; if this fails, try the EXCHBINPATH dir. -->
								<Rule Name="szWizCmdDir" Query="if(getfile(@S2,'wizcmd.exe'),@S2,if(getfile(concat(@S3,'\bin'),'wizcmd.exe'),concat(@S3,'\bin')))" S2="%varCurrentDirectory%" S3="%varExchBinPath%"/>
								<Rule Name="fFoundWizCmd" Query="getfile($szWizCmdDir,'wizcmd.exe')"/>
								<Rule Name="szProgramName" Query="concat($szWizCmdDir,'\wizcmd.exe')">
									<Variable Name="varProgramName" Scope="Children"/>
								</Rule>
								<Rule Name="szConfigName" Query="concat(concat(concat($szWizCmdDir,'\'),@S2),'\extra.config.xml')" S2="%varExecutionCulture%">
									<Variable Name="varConfigName" Scope="Children"/>
								</Rule>
							</Setting>
							<Object Type="Engine" Name="Result file name">
								<Setting Key1="DataFileName">
									<Rule Name="szDataFileTime" Query="$."/>
									<Rule Name="szSchedFileName" Query="concat($szDataFolder,'\ExTRA.','%varPrettyDateTime%','.data.xml')">
										<Variable Name="varSchedDataFileName" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>
						</Object>
					</Object>
					<Object Type="Control" SubType="Label" Name="indent30" Position="LeftBelow" Text=" "/>
					<Object Type="Control" SubType="Label" Name="explaintext3" Position="NextTo" Text="(Se si seleziona questa opzione, lo strumento pianifica la raccolta dei dati per l'ora selezionata ed esegue l'uscita. È possibile avviare lo strumento in un secondo momento per analizzare i dati)."/>
					<Object Type="Control" SubType="Label" Name="InvalidTime" Position="LeftBelow" Text="Selezionare un orario posteriore di almeno 5 minuti all'ora corrente e incluso entro i 30 giorni successivi." Flags="Visible=False" ForeColor="Red" FontStyle="Bold"/>
				</Object>
				<Object Type="Control" SubType="Label" Name="SelectSomeData" Position="LeftBelow" Text="È necessario selezionare i dati per la raccolta." Flags="Visible=False" ForeColor="Red" FontStyle="Bold"/>
				<Object Type="Control" SubType="GradiatedBox" Name="MidLine1" Position="LeftBelow"/>
				<Object Type="Control" SubType="ShowHide" Name="ShowHideCreds" Position="Below" Text="Mostra opzioni di raccolta dati avanzate,Nascondi opzioni di raccolta dati avanzate">
					<Object Type="Control" SubType="GroupBox" Name="DataOptions" Position="Top" Text="Selezionare i dati sulle prestazioni per la raccolta">
						<Object Type="Control" SubType="Label" Name="PdhBLGFilelabel1" Position="Below" Percent="4" Text="In base ai sintomi riportati, alcune opzioni sono state preselezionate"/>
						<Object Type="If" Name="CollectPdh" Key1="true()">
							<Setting Key1="if('%varCollectPDH%'='1','True','False')" Substitution="ENABLED"/>
							<Object Type="Control" SubType="CheckBox" Name="CheckBoxPDH" Position="LeftBelow" Text="Raccogli dati PerfMon" Default="%varCollectPDH%">
								<Setting Key1="Checked">
									<Rule Name="fPdhChecked" Query="$.">
										<Variable Name="varCollectPDH" Scope="Children"/>
										<Variable Name="varAnalyzePDH" Scope="Children"/>
									</Rule>
									<Rule Name="szPdhFileName2" Query="concat($szRootDataDirectory2,'\%varDataFolderName%\%varPDHFileName%')">
										<Variable Name="varPDHFileName" Scope="Children"/>
									</Rule>
								</Setting>
								<Event Type="Changed">
									<Action Type="Enable" ControlName="PDHComboTime" Query="control-value('CheckBoxPDH')='1'"/>
								</Event>
							</Object>
							<Object Type="Control" SubType="Label" Name="indent1" Position="Below" Text=" "/>
							<Object Type="Control" SubType="Label" Name="label1" Position="NextTo" Text="I dati PerfMon verranno salvati nel file '%varPDHFileName%'."/>
							<Object Type="Control" SubType="Label" Name="label1a" Position="Below" Text="Selezionare per quanto tempo lo strumento deve raccogliere dati sulle prestazioni."/>
							<Object Type="Control" SubType="ComboBox" Name="PDHComboTime" Position="Below" SelectedIndex="%varPDHSelectedDuration%" Default="%szTimeFrame%">
								<Setting Key1="SelectedIndex">
									<Rule Name="iNotServerDuration" Query="$."/>
									<Rule Name="fReg2" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','PerfMonCollectionDuration',$.)"/>
									<Rule Name="f5Mins" Query="if($.='0',round(60*5 div @S1))" S1="%iSHORTSAMPLEINTERVAL%">
										<Variable Name="iSAMPLECOUNT" Scope="Children"/>
									</Rule>
									<Rule Name="f20Mins" Query="if($.='1',round(60*20 div @S1))" S1="%iSHORTSAMPLEINTERVAL%">
										<Variable Name="iSAMPLECOUNT" Scope="Children"/>
									</Rule>
									<Rule Name="f1Hour" Query="if($.='2',round(60*60*1 div @S1))" S1="%iSHORTSAMPLEINTERVAL%">
										<Variable Name="iSAMPLECOUNT" Scope="Children"/>
									</Rule>
									<Rule Name="f2Hours" Query="if($. = '3',round(60*60*2 div @S1))" S1="%iLONGSAMPLEINTERVAL%">
										<Variable Name="iSAMPLECOUNT" Scope="Children"/>
									</Rule>
									<Rule Name="f4Hours" Query="if($. = '4',round(60*60*4 div @S1))" S1="%iLONGSAMPLEINTERVAL%">
										<Variable Name="iSAMPLECOUNT" Scope="Children"/>
									</Rule>
									<Rule Name="f8Hours" Query="if($. = '5',round(60*60*8 div @S1))" S1="%iLONGSAMPLEINTERVAL%">
										<Variable Name="iSAMPLECOUNT" Scope="Children"/>
									</Rule>
									<Rule Name="fPeriodSample" Query="if(number($.) &lt; 3,@S0,@S1)" S0="%iSHORTSAMPLEINTERVAL%" S1="%iLONGSAMPLEINTERVAL%">
										<Variable Name="iSampleInterval" Scope="Children"/>
									</Rule>

									<!-- Now the time format -->
									<Rule Name="f5Mins2" Query="if($. = '0' or $. = '-1','00:05:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f20Mins2" Query="if($. = '1','00:20:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f1Hour2" Query="if($. = '2','01:00:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f2Hours2" Query="if($. = '3','02:00:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f4Hours2" Query="if($. = '4','04:00:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f8Hours2" Query="if($. = '5','08:00:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>
						</Object>
						<Object Type="If" Name="CollectExMon" Key1="true()">
							<Setting Key1="if('%varCollectExMon%'='1','True','False')" Substitution="ENABLED"/>

							<Object Type="Control" SubType="CheckBox" Name="CheckBoxExMon" Position="LeftBelow" Text="Raccogli dati ExMon" Default="%varCollectExMon%">
								<Setting Key1="Checked">
									<Rule Name="fExMonChecked" Query="$.">
										<Variable Name="varCollectExMon" Scope="Children"/>
										<Variable Name="varAnalyzeExMon" Scope="Children"/>
									</Rule>
									<Rule Name="szExMonFileName" Query="concat($szRootDataDirectory2,'\%varDataFolderName%\%varExMonBaseFileName%')">
										<Variable Name="varExMonFileName" Scope="Global"/>
									</Rule>
								</Setting>
								<Event Type="Changed">
									<Action Type="Enable" ControlName="ExMonTimeCombo" Query="control-value('CheckBoxExMon')='1'"/>
								</Event>
							</Object>
							<Object Type="Control" SubType="Label" Name="indent2" Position="Below" Text=" "/>
							<Object Type="Control" SubType="Label" Name="label2" Position="NextTo" Text="I dati sulla traccia ExMon verranno salvati nel file '%varExMonFileName%'."/>
							<Object Type="Control" SubType="Label" Name="label2a" Position="Below" Text="Selezionare per quanto tempo lo strumento deve raccogliere dati sulle prestazioni."/>
							<Object Type="Control" SubType="ComboBox" Name="ExMonTimeCombo" Position="Below" SelectedIndex="%varExMonSelectedDuration%" Default="%szExMonTimeFrame%">
								<Setting Key1="SelectedIndex">
									<Rule Name="iExmonDuration" Query="if($.&gt;=0,$.,0)"/>
									<Rule Name="fReg1" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','ExMonCollectionDuration',$.)"/>
									<Rule Name="fExMon5Mins" Query="if($iExmonDuration = 0,5,if($iExmonDuration = 1,20,30))">
										<Variable Name="varExMonSelectedDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f5MinsExMon" Query="if($. = '0'or $.='-1','00:05:00')">
										<Variable Name="varExMonTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f20MinsExMon" Query="if($. = '1','00:20:00')">
										<Variable Name="varExMonTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f30HourExMon" Query="if($. = '2','00:30:00')">
										<Variable Name="varExMonTimeFormatDuration" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>
						</Object>
						<Object Type="If" Name="CollectFCL" Key1="true()">
							<Setting Key1="if('%varCollectFCL%'='1','True','False')" Substitution="ENABLED"/>

							<Object Type="Control" SubType="CheckBox" Name="CheckBoxFCL" Position="LeftBelow" Text="Raccogli dati registro chiamate di funzione (FCL)" Default="%varCollectFCL%">
								<Setting Key1="Checked">
									<Rule Name="fFCLChecked" Query="$.">
										<Variable Name="varCollectFCL" Scope="Children"/>
										<Variable Name="varAnalyzeFCL" Scope="Children"/>
									</Rule>
									<Rule Name="szFCLFileName" Query="concat($szRootDataDirectory2,'\%varDataFolderName%\%varFCLFileName%')">
										<Variable Name="varFCLFileName" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>
							<Object Type="Control" SubType="Label" Name="indent3" Position="Below" Text=" "/>
							<Object Type="Control" SubType="Label" Name="label3" Position="NextTo" Text="I dati del registro chiamate di funzione verranno salvati nel file '%varFCLFileName%'."/>
						</Object>

						<!-- set Key1 to true() when event log rules are added -->
						<Object Type="If" Name="CollectEventLog" Key1="true()">
							<Setting Key1="if('%varCollectEventLog%'='1','True','False')" Substitution="ENABLED"/>
							<Object Type="Control" SubType="CheckBox" Name="CheckBoxEventLog" Position="LeftBelow" Text="Raccogli dati registro eventi" Default="%varCollectEventLog%">
								<Setting Key1="Checked">
									<Rule Name="fEventLogChecked" Query="$.">
										<Variable Name="varCollectEventLog" Scope="Children"/>
										<Variable Name="varAnalyzeEventLog" Scope="Children"/>
									</Rule>
									<Rule Name="szEventLogFileName" Query="concat($szRootDataDirectory2,'\%varDataFolderName%\%varEventLogFileName%')">
										<Variable Name="varEventLogFileName" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>
							<Object Type="Control" SubType="Label" Name="indent4" Position="Below" Text=" "/>
							<Object Type="Control" SubType="Label" Name="label4" Position="NextTo" Text="I dati del registro eventi verranno salvati nel file '%varEventLogFileName%'."/>
						</Object>

						<Object Type="Control" SubType="GradiatedBox" Name="MidLine3" Position="LeftBelow"/>
						<Object Type="Control" SubType="Label" Name="ServerLabel" Position="Below" Percent="20" Text="Alcuni dati verranno temporaneamente salvati sul server durante la raccolta, quindi copiati nella directory locale. È possibile specificare la directory che sarà utilizzata per l'archiviazione sul server. Indicare un percorso sul server, utilizzando il percorso locale del server, inclusa la lettera dell'unità (ad esempio, C:\Perflogs)."/>
						<Object Type="Control" SubType="Label" Name="ServerLabel2" Position="LeftBelow" Percent="20" Text="Directory di dati sul server"/>

						<Object Type="Control" SubType="TextBox" Name="DefaultRootFolderServer" Position="NextTo" Width="500" Default="%varServerRootDataDirectory%">
							<Setting Key1="UNCFileName">
								<!-- First, strip off trailing slash -->
								<Rule Name="szFolderNameNoSlash" Query="if((substring($., string-length($.), 1)='\'), substring($., 1, string-length($.)-1), $.)"/>
								
								<!-- Next, make sure you have a drive (prepend c: if you don't) -->
								<Rule Name="szFolderNameWithDrive" Query="if($szFolderNameNoSlash[contains(.,':')],$szFolderNameNoSlash,concat('c:',$szFolderNameNoSlash))">
									<Variable Name="varServerRootDataDirectory" Scope="Global"/>
								</Rule>
                                                                <Rule Name="fSetReg4Server" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA',concat('ServerRootDataFolder.','%varServer%'),$szFolderNameNoSlash)"/>

								<!-- Thirdly, change the colon to a dollar to make the share -->
								<Rule Name="szFolderNameDollar" Query="replace($szFolderNameWithDrive,':','$')"/>

								<!-- Finally, prepend the server name -->
								<Rule Name="szUNCRootDataDirectory2Server" Query="concat(@S2,$szFolderNameDollar)" S2="\\%varServer%\">
									<Variable Name="varUNCRootDirServer" Scope="Global"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="GradiatedBox" Name="MidLine6" Position="LeftBelow"/>
						<Object Type="Control" SubType="Label" Name="RemotePDHLabel" Position="Below" Percent="20" Text="È possibile raccogliere i dati PerfMon sul computer locale oppure sul server. Se la seguente casella di controllo è selezionata, i dati verranno raccolti in un file sul computer locale. Se non è selezionata, i dati verranno raccolti in un file sul server. Al completamento della raccolta dei dati, questi verranno copiati nella directory locale. "/>
						<!--						<Object Type="Control" SubType="Label" Name="RemotePDHLabel2" Position="Below" Percent="20" Text="Occasionally, some performance counters will not be available remotely. If this occurs, you may wish to uncheck the box below and collect the data on the server."/>-->
						<Object Type="Control" SubType="CheckBox" Name="CheckBoxLocalPDHCollection" Position="LeftBelow" Text="Raccogli dati PerfMon sul computer locale" Default="%varCollectPDHLocally%">
							<Setting Key1="Checked">
								<Rule Name="fSetRegLocalPDHCollection" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA',concat('LocalPDHCollection.','%varServer%'),$.)"/>
								<Rule Name="fLocalPDHCollectionChecked" Query="$.">
									<Variable Name="varCollectPDHLocally" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
					</Object>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="MidLine2" Position="LeftBelow"/>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Precedente"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="Avanti">
					<Event Type="Click">
						<!-- Check that we are scheduled for at least 5 min from when this screen is shown
							(to make sure that it can get picked up by the win scheduler)
							check that the date is less than 30 days from today.
							-->
						<Action Type="Visible" ControlName="SelectSomeData" Query="not(control-value('CheckBoxPDH')='1' or control-value('CheckBoxExMon')='1' or control-value('CheckBoxEventLog')='1' or control-value('CheckBoxFCL')='1')"/>
						<Action Type="Visible" ControlName="InvalidTime" Query="control-value('Schedule')='1' and (get-days(date-difference(control-value('StartTime'),'%varFutureDateTime%'))&gt;30 or get-seconds(date-difference(control-value('StartTime'),'%varFutureDateTime%'))&lt;-60)"/>
						<Action Type="Proceed" Query="control-value('Schedule')='0' or (get-days(date-difference(control-value('StartTime'),'%varFutureDateTime%'))&lt;=30 and get-seconds(date-difference(control-value('StartTime'),'%varFutureDateTime%'))&gt;=-60) and (control-value('CheckBoxPDH')='1' or control-value('CheckBoxExMon')='1' or control-value('CheckBoxEventLog')='1' or control-value('CheckBoxFCL')='1')"/>
					</Event>
					<Rule NextStep="CreateDataFolder" Name="fStartCollection"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CreateDataFolder" Title="Preparazione della raccolta dati" Display="Left">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%varDataFolder%" Substitution="varDataFolder" Display="Hide"/>
				<Setting Key1="%varCollectNow%" Substitution="varCollectNow" Display="Hide"/>
				<Setting Key1="%varUNCRootDirServer%" Substitution="varUNCRootDirServer" Display="Hide"/>
				<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
				<Object Type="Progress" Title="Creazione cartella dati in corso..." Text="Attendere. Creazione della cartella di archiviazione dei dati in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
					<Object Type="Command" Key2="cmd" Key3="/C md &quot;%varDataFolder%&quot;" SecurityContext="EXLOGON">

						<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
						<Rule NextStep="DisplayResultsStep" Name="fDisplayCreateDataFolderStep" Query="@S1=0 and $fAnyErrorCreateDataFolder" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule Name="szCreateDataFolder" Query="'CreateDataFolder'">
							<Variable Name="PreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szErrorStateTextCreateDataFolder" Query="if($fAnyErrorCreateDataFolder, string(@Title),' ')" Title="Sono stati rilevati uno o più errori durante la preparazione della raccolta dati." AlwaysEvaluate="True">
							<Variable Name="ErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="szCreateDataFolderResult" Query="string(@Title)" Title="Risultati raccolta dati">
							<Variable Name="DISPLAYTITLE" Scope="Global"/>
						</Rule>
						<Rule Name="fAnyErrorCreateDataFolder" Query="not($fSetInProgressSucceeded) or $fDirServerFailed" AlwaysEvaluate="True"/>

						<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- "/>
						<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
							<Rule Name="fSetInProgress1" Query="not($fSetInProgressSucceeded)" Error="Error" Sev="1" Title="Errore durante la creazione della directory dati" Text="Creazione della directory dati &quot;%varDataFolder%&quot; non riuscita.{0} {1}" P0="$." P1="$szSetInProgressDirErr" AlwaysEvaluate="True"/>
						</Setting>
						<Setting Key1="ReturnValue">
							<Rule Name="szVariableFile" Query="concat(@S1,'\Variables.txt')" S1="%varDataFolder%">
								<Variable Name="varVariableFile" Scope="Global"/>
							</Rule>
						</Setting>
						<Object Type="Registry" Key1="" Key3="Software\Microsoft\Windows NT\CurrentVersion">
							<Setting Key1="CurrentVersion" Substitution="VERSION">
								<Rule Name="fWin2k" Query="$.='5.0'" Error="Error" ReportIssue="Summary" Title="La raccolta e l'analisi dei dati sulle prestazioni non funzioneranno su questa versione di Windows" Text="Sul computer locale è in esecuzione Windows 2000. L'analisi e la raccolta dei dati sulle prestazioni non funzioneranno su questa versione di Windows." AlwaysEvaluate="True"/>
							</Setting>
							<Object Type="If" Key1="not('%VERSION%'='5.0')">
						<Object Type="Command" Key2="cmd" Key3="/C dir &quot;%varDataFolder%&quot;">
							<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
								<Rule Name="szSetInProgressDir" Query="$."/>
							</Setting>
							<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
								<Rule Name="szSetInProgressDirErr" Query="$."/>
							</Setting>
							<Setting Key1="ReturnValue">
								<Rule Name="fSetInProgressSucceeded" Query="$. = 0"/>
							</Setting>
						</Object>
						<Object Type="Command" Key2="cmd" Key3="/C md &quot;%varUNCRootDirServer%&quot;">
							<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- "/>
							<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- "/>
							<Setting Key1="ReturnValue">
								<Rule Name="fMdFailed" Query="$. != 0"/>
							</Setting>
							<Object Type="Command" Key2="cmd" Key3="/C dir &quot;%varUNCRootDirServer%&quot;">
								<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
									<Rule Name="szFailedtoFindDirOut" Query="$."/>
								</Setting>
								<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
									<Rule Name="szFailedtoFindDir" Query="concat($.,' ',$szFailedtoFindDirOut)"/>
								</Setting>
								<Setting Key1="ReturnValue">
									<Rule Name="fDirServerFailed" Query="$. != 0" Error="Error" Title="Directory '{0}' non trovata sul server" Text="La directory '{0}' viene utilizzata per la raccolta di dati temporanei, ma si è verificato un problema con la cartella. {1}" S0="%varUNCRootDirServer%" P1="$szFailedtoFindDir"/>
								</Setting>
							</Object>
						</Object>
							</Object>
						</Object>
						<Rule NextStep="CheckStoreProcess" Name="fDoCollectNow" Query="@S1=1 and not($fAnyErrorCreateDataFolder)" S1="%varCollectNow%" AlwaysEvaluate="True"/>
						<Rule NextStep="SaveVariables" Name="fDoScheduleNow" Query="not($fDoCollectNow or $fAnyErrorCreateDataFolder)" AlwaysEvaluate="True"/>
						<!-- Just in case someone cancelled and are doing this again, clean out the folder: -->
						<Object Type="Command" Key2="cmd" Key3="del &quot;%varDataFolder%\*&quot;">
							<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- "/>
							<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- "/>
							<Setting Key1="ReturnValue"/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SetUpCollectionAndAnalysis" Title="Preparazione dati" SkipSave="True" Display="Left">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%varDataFolder%" Substitution="varDataFolder" Display="Hide"/>
				<Setting Key1="%varCollectPDH%" Substitution="varCollectPDH" Display="Hide"/>
				<Setting Key1="%varCollectFCL%" Substitution="varCollectFCL" Display="Hide"/>
				<Setting Key1="%varCollectExMon%" Substitution="varCollectExMon" Display="Hide"/>
				<Setting Key1="%varCollectEventLog%" Substitution="varCollectEventLog" Display="Hide"/>
				<Setting Key1="%varAnalyzePDH%" Substitution="varAnalyzePDH" Display="Hide"/>
				<Setting Key1="%varAnalyzeFCL%" Substitution="varAnalyzeFCL" Display="Hide"/>
				<Setting Key1="%varAnalyzeExMon%" Substitution="varAnalyzeExMon" Display="Hide"/>
				<Setting Key1="%varAnalyzeEventLog%" Substitution="varAnalyzeEventLog" Display="Hide"/>
				<Setting Key1="%varIsMailboxServer%" Substitution="varIsMailboxServer" Display="Hide"/>

				<Object Type="Progress" Title="Preparazione dati in corso..." Text="Attendere. Avvio raccolta dati in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">

					<Object Type="Group" Name="Queuing collection and analysis" SecurityContext="EXLOGON">
						<Object Type="Group" Name="Queuing collection">
							<Rule NextStep="SetInProgress" Name="fSetInProgress" Query="'%varCollectPDH%'='1' or '%varCollectExMon%'='1' or '%varCollectFCL%'='1' or '%varCollectEventLog%'='1'"/>
							<Rule NextStep="CollectScheduledExMonData" Name="fCollectExMon" Query="'%varCollectExMon%'='1'"/>
							<Rule NextStep="E12Collection_GenerateCounterList" Name="fCollectPDH" Query="'%varCollectPDH%'='1'"/>
							<Rule NextStep="CollectFCL" Name="fCollectFCL" Query="'%varCollectFCL%'='1' and '%varIsMailboxServer%'='1'"/>
							<Rule NextStep="CollectEventLog" Name="fCollectEventLog" Query="'%varCollectEventLog%'='1'"/>
							<Rule NextStep="ClearInProgress" Name="fClearInProgress" Query="$fSetInProgress and not($fCollectExMon)"/>
							<Rule NextStep="GetExMonTime" Name="fWaitForExMon" Query="$fSetInProgress and $fCollectExMon"/>
							<Rule Name="szSetLocalPerfFolder" Query="string(@S2)" S2="%varDataFolder%">
								<Variable Name="varLocalPDHDir" Scope="Children"/>
							</Rule>
						</Object>
						<Object Type="Group" Name="Queuing analysis">
							<Rule NextStep="TestPdhFileRead" Name="fAnalyzePDH" Query="'%varAnalyzePDH%'='1'"/>
							<Rule NextStep="CheckUserActivity" Name="fAnalyzeExMon" Query="'%varAnalyzeExMon%'='1'"/>
							<Rule NextStep="CheckFCLData" Name="fAnalyzeFCL" Query="'%varAnalyzeFCL%'='1' and '%varIsMailboxServer%'='1'"/>
							<!-- Note: for the event log, collection and analysis are the same step -->
							<Rule NextStep="CollectEventLog" Name="fAnalyzeEventLog" Query="'%varAnalyzeEventLog%'='1' and not('%varCollectEventLog%')"/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SetInProgress" Title="Creazione cartella dati in corso..." SkipSave="True" Display="Left">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%varDataFolder%" Substitution="varDataFolder" Display="Hide"/>
				<Setting Key1="%varExMonEndTime%" Substitution="varExMonEndTime" Display="Hide"/>
				<Setting Key1="%varPerfmonEndTime%" Substitution="varPerfmonEndTime" Display="Hide"/>
				<Setting Key1="%varPrettyStartTime%" Substitution="varPrettyStartTime" Display="Hide"/>
				<Object Type="Group" Name="Creating data folder">
					<Object Type="Progress" Title="Avvio raccolta dati in corso..." Text="Attendere. Avvio raccolta dati in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
						<Object Type="Command" Key2="cmd" Key3="/C echo Data collection is still in progress &gt; &quot;%varDataFolder%\InProgress.txt&quot;" SecurityContext="EXLOGON">
							<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
								<Rule Name="szSetInProgress2" Query="$."/>
							</Setting>
							<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
								<Rule Name="fSetInProgress2" Query="$fSetInProgressFailed2" Error="Error" Sev="1" Title="Errore durante l'avvio della raccolta dati" Text="{0} {1}" P0="$." P1="$szSetInProgress2"/>
							</Setting>
							<Setting Key1="ReturnValue">
								<Rule Name="fSetInProgressFailed2" Query="$. != 0"/>
							</Setting>
							<Object Type="If" Key1="not(contains('%varPrettyStartTime%','%'))">
								<Object Type="Command" Key2="cmd" Key3="/C echo Scheduled data collection begins at: %varPrettyStartTime% &gt;&gt; &quot;%varDataFolder%\InProgress.txt&quot;"/>
							</Object>
							<Object Type="If" Key1="not(contains('%varPerfmonEndTime%','%'))">
								<Object Type="Command" Key2="cmd" Key3="/C echo PerfMon data collection will complete at: %varPerfmonEndTime% &gt;&gt; &quot;%varDataFolder%\InProgress.txt&quot;"/>
							</Object>
							<Object Type="If" Key1="not(contains('%varExMonEndTime%','%'))">
								<Object Type="Command" Key2="cmd" Key3="/C echo ExMon data collection will end at: %varExMonEndTime% &gt;&gt; &quot;%varDataFolder%\InProgress.txt&quot;"/>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetExMonTime" Title="Aggiorna ora corrente" Display="HideAll">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varExMonEndTime%" Substitution="varExMonEndTime" Display="Hide"/>
			<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
				<!-- need to get the updated time to determine how much longer to wait for ExMon collection
					use current time.
					-->
				<Object Type="WMI" Key3="Win32_OperatingSystem" SecurityContext="EXLOGON">
					<Setting Key1="LocalDateTime">
						<Rule Name="dUpdatedDateTimeEx" Query="date-parse(substring($.,1,14), 'yyyyMMddHHmmss')"/>
						<Rule Name="dEndTimePlusPadding" Query="date-add(@S1, get-timespan(30))" S1="%varExMonEndTime%"/>
						<Rule Name="iExMonSecondsLeft" Query="get-seconds(date-difference($dEndTimePlusPadding, $dUpdatedDateTimeEx))">
							<Variable Name="varExMonSecondsLeft" Scope="Children"/>
						</Rule>
					</Setting>
					<Rule NextStep="CopyExMonFileLocally" Name="fGoOnToExMon"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CopyExMonFileLocally" Title="Attendere il completamento della raccolta dati ExMon" Display="Left">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%SERVERNAME%" Substitution="varServer"/>
				<Setting Key1="%varExMonFileName%" Substitution="varExMonFileName" Display="Hide"/>
				<Setting Key1="%varUNCRootDirServer%" Substitution="varUNCRootDirServer" Display="Hide"/>
				<Setting Key1="%varPrettyDateTime%" Substitution="varPrettyDateTime" Display="Hide"/>
				<Setting Key1="%varExMonCollectFailure%" Substitution="varExMonCollectFailure" Display="Hide"/>
				<Setting Key1="%varExMonSecondsLeft%" Substitution="varExMonSecondsLeft" Display="Hide"/>
				<Setting Key1="%varDataFolderName%" Substitution="varDataFolderName" Display="Hide"/>
				<Setting Key1="%varExMonBaseFileName%" Substitution="varExMonBaseFileName" Display="Hide"/>
				<Setting Key1="%varRootDataDir%" Substitution="varRootDataDir" Display="Hide"/>
				<Object Type="Progress" Title="Attendere il completamento della raccolta dati ExMon" Text="Attendere. Copia dei dati ExMon dal server nella cartella dati in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
					<Object Type="If" Name="Copy ExMon file to local data directory" Key1="'%varExMonCollectFailure%'='0'" SecurityContext="EXLOGON">

						<!-- Wait till ExMon is collected. When the time is up, copy the file locally..-->
						<!-- Note: if time left is negative, this returns immediately -->
						<Object Type="Sleep" Key1="%varExMonSecondsLeft%" SecurityContext="EXLOGON">
							<Object Type="Command" Key1="%varServer%" Key2="cmd" Key3="/C logman stop ExPTA%varServer%%varPrettyDateTime% -s %varServer%" SecurityContext="EXLOGON">
								<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
									<Rule Name="szLogmanExMonError5" Query="$."/>
								</Setting>
								<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
									<Rule Name="fLogmanExMonError5" Query="$fLogmanExMonFailed5" Error="Error" Sev="1" Title="Errore durante la raccolta del file ExMon" Text="{0} {1}" P0="$." P1="$szLogmanExMonError5"/>
								</Setting>
								<Setting Key1="ReturnValue">
									<!--On Vista -rf with a small window can cause the run to end before we get to it.  We then get an error saying it is not running.  Ignore that.-->
									<Rule Name="fLogmanExMonFailed5" Query="($. != 0) and ($. != -2144337660)"/>
								</Setting>
								<Object Type="Command" Key1="%varServer%" Key2="cmd" Key3="/C logman delete ExPTA%varServer%%varPrettyDateTime% -s %varServer%" SecurityContext="EXLOGON">
									<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
										<Rule Name="szLogmanExMonError1" Query="$."/>
									</Setting>
									<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
										<Rule Name="fLogmanExMonError1" Query="$fLogmanExMonFailed1 and not($.='')" Error="Error" Sev="1" Title="Errore durante la raccolta del file ExMon" Text="{0} {1}" P0="$." P1="$szLogmanExMonError1"/>
									</Setting>
									<Setting Key1="ReturnValue">
										<Rule Name="fLogmanExMonFailed1" Query="$. != 0"/>
									</Setting>
								</Object>
								<Object Type="Sleep" Key1="20" SecurityContext="EXLOGON">
									<Object Type="Command" Key2="cmd" Key3="/C dir &quot;%varUNCRootDirServer%\ExPTA%varServer%%varPrettyDateTime%_000001.etl&quot; &quot;%varRootDataDir%\%varDataFolderName%\&quot;" SecurityContext="EXLOGON">
										<Setting Key1="ReturnValue" Substitution="ERRORCODE">
											<Rule Name="fDirFailed1" Query="$. != 0"/>
										</Setting>
										<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
											<Rule Name="szDirExMon" Query="$."/>
										</Setting>
										<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
											<Rule Name="fDirFailed2" Query="$fDirFailed1" Error="Error" Title="Impossibile trovare ExMon a livello locale" Text="Impossibile copiare il file da &quot;%varUNCRootDirServer%\ExPTA%varServer%%varPrettyDateTime%*&quot; a &quot;%varExMonFileName%&quot;. {0} {1}" P0="$." P1="$szDirExMon"/>
										</Setting>
									</Object>
									<Object Type="Command" Key2="cmd" Key3="/C xcopy &quot;%varUNCRootDirServer%\ExPTA%varServer%%varPrettyDateTime%_000001.etl&quot; &quot;%varRootDataDir%\%varDataFolderName%\&quot;" SecurityContext="EXLOGON">
										<Rule NextStep="ClearInProgress" Name="fDone" Query="true()"/>
										<Setting Key1="ReturnValue" Substitution="ERRORCODE">
											<Rule Name="fCopyFailed5" Query="$. != 0"/>
										</Setting>
										<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
											<Rule Name="szCopy" Query="$."/>
										</Setting>
										<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
											<Rule Name="fCopy" Query="$fCopyFailed5" Error="Error" Title="Copia locale del file ExMon non riuscita" Text="Impossibile copiare il file da &quot;%varUNCRootDirServer%\ExPTA%varServer%%varPrettyDateTime%*&quot; a &quot;%varExMonFileName%&quot;. {0} {1}" P0="$." P1="$szCopy"/>
											<Rule Name="fExMonLocation" Query="not($fCopyFailed5)" Error="None" Title="Posizione file dati ExMon" Text="Il file dati ExMon si trova in &quot;%varExMonFileName%&quot;."/>
										</Setting>
										<Object Type="Command" Key2="cmd" Key3="/C ren &quot;%varRootDataDir%\%varDataFolderName%\ExPTA%varServer%%varPrettyDateTime%_000001.etl&quot; &quot;%varExMonBaseFileName%&quot;">
											<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
												<Rule Name="szLogmanExmonRename" Query="$."/>
											</Setting>
											<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
												<Rule Name="fLogmanExmonRename" Query="$fLogmanExmonRenameFailed" Error="None" Sev="1" Title="Impossibile rinominare i dati Exmon sul server" Text="Rinominare: '{1}\{2}{3}_000001.etl' '{4}'. {0} {5}" P0="$." S1="%varDataFolderName%" S2="ExPTA%varServer%" S3="%varPrettyDateTime%" S4="%varExMonBaseFileName%" P5="$szLogmanExmonRename"/>
											</Setting>
											<Setting Key1="ReturnValue" Substitution="RENERRORCODE">
												<Rule Name="fLogmanExmonRenameFailed" Query="$. != 0"/>
											</Setting>
											<Object Type="Command" Key2="cmd" Key3="/C dir &quot;%varRootDataDir%\%varDataFolderName%\%varExMonBaseFileName%&quot;">
												<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
													<Rule Name="szFailedtoFindExmonFileOut" Query="$."/>
												</Setting>
												<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
													<Rule Name="szFailedtoFindExmonFile" Query="concat($.,' ',$szFailedtoFindExmonFileOut)"/>
												</Setting>
												<Setting Key1="ReturnValue" Substitution="DIRERRORCODE">
													<Rule Name="fDirExmonFileFailed" Query="$. != 0" Error="Error" Title="Impossibile trovare il file Exmon '{0}'." Text="Impossibile trovare il file '{0}'. {1}" S0="%varRootDataDir%\%varDataFolderName%\%varExMonBaseFileName%" P1="$szFailedtoFindExmonFile"/>
												</Setting>
												<Object Type="If" Key1="'%ERRORCODE%'=0 and '%RENERRORCODE%'=0 and '%DIRERRORCODE%'=0">
													<Object Type="Command" Key1="%varServer%" Key2="cmd" Key3="/C del &quot;%varUNCRootDirServer%\ExPTA%varServer%%varPrettyDateTime%_000001.etl&quot;">
														<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
															<Rule Name="szLogmanPerfmonFileName1" Query="$."/>
														</Setting>
														<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
															<Rule Name="fLogmanPerfmonFileName1" Query="$fLogmanPerfmonFailed6" Error="None" Sev="1" Title="Eliminazione dati PerfMon sul server non riuscita" Text="{0} {1}" P0="$." P1="$szLogmanPerfmonFileName1"/>
														</Setting>
														<Setting Key1="ReturnValue">
															<Rule Name="fLogmanPerfmonFailed6" Query="$. != 0"/>
														</Setting>
													</Object>
												</Object>
											</Object>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetPerfMonTime" Title="Aggiorna ora corrente" Display="HideAll">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varPerfmonEndTime%" Substitution="varPerfmonEndTime" Display="Hide"/>
			<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
				<!-- need to get the updated time to determine how much longer to wait for
					PerfMon collection to finish.
					-->
				<Object Type="WMI" Key3="Win32_OperatingSystem" SecurityContext="EXLOGON">
					<Setting Key1="LocalDateTime">
						<Rule Name="dUpdatedDateTimePDH" Query="date-parse(substring($.,1,14), 'yyyyMMddHHmmss')"/>
						<Rule Name="dEndTimePlusPaddingPDH" Query="date-add(@S1, get-timespan(60))" S1="%varPerfmonEndTime%"/>
						<Rule Name="iPerfMonSecondsLeft" Query="get-seconds(date-difference($dEndTimePlusPaddingPDH,$dUpdatedDateTimePDH))">
							<Variable Name="varPerfMonSecondsLeft" Scope="Children"/>
						</Rule>
						<Rule Name="iPdhLoopCount" Query="1">
							<Variable Name="varPdhLoopCount" Scope="Children"/>
						</Rule>
					</Setting>
					<Rule NextStep="CopyPerfmonFileLocally" Name="fGoOnToPerfMon"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CopyPerfmonFileLocally" Title="Attendere il completamento della raccolta dati PerfMon" Display="Left">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%SERVERNAME%" Substitution="varServer" Display="Hide"/>
				<Setting Key1="%varPDHFileNameShortServer%" Substitution="varPDHFileNameShortServer" Display="Hide"/>
				<Setting Key1="%varLogManName%" Substitution="varLogManName" Display="Hide"/>
				<Setting Key1="%varPDHFileName%" Substitution="varPDHFileName" Display="Hide"/>
				<Setting Key1="%varUNCRootDirServer%" Substitution="varUNCRootDirServer" Display="Hide"/>
				<Setting Key1="%varPdhSecondsLeft%" Substitution="varPdhSecondsLeft" Display="Hide"/>
				<Setting Key1="%varPdhLoopCount%" Substitution="varPdhLoopCount" Display="Hide"/>
				<Object Type="Progress" Title="Attendere il completamento della raccolta dati PerfMon" Text="Attendere. Copia dei dati PerfMon dal server nella cartella dati in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">

					<Object Type="Group" Name="Copy Perfmon file to local data directory" SecurityContext="EXLOGON">
						<!-- Wait till PerfMon collection is finished, then copy .-->
						<Object Type="Sleep" Key1="%varPdhSecondsLeft%" SecurityContext="EXLOGON">
							<Object Type="Command" Key1="%varServer%" Key2="cmd" Key3="/C logman stop %varLogManName% -s %varServer%" SecurityContext="EXLOGON">
								<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
									<Rule Name="szLogmanPerfmonError5" Query="$."/>
								</Setting>
								<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
									<Rule Name="fLogmanPerfmonError5" Query="$fLogmanPerfmonFailed5" Error="Error" Sev="1" Title="Errore durante l'arresto della raccolta dati PerfMon '{1}' sul server" Text="{0} {2}" P0="$." S1="%varLogManName%" P2="$szLogmanPerfmonError5"/>
								</Setting>
								<Setting Key1="ReturnValue">
									<Rule Name="fLogmanPerfmonFailed5" Query="$. != 0"/>
								</Setting>
								<Object Type="Sleep" Key1="20" SecurityContext="EXLOGON">
									<Object Type="Command" Key2="cmd" Key3="/C copy /y &quot;%varUNCRootDirServer%\%varPDHFileNameShortServer%&quot; &quot;%varPDHFileName%&quot;" SecurityContext="EXLOGON">
										<Rule NextStep="ClearInProgress" Name="fDone2" Query="true()"/>
										<Setting Key1="ReturnValue" Substitution="ERRORCODE">
											<Rule Name="fCopyFailed" Query="$. != 0"/>
											<Rule Name="fCopyFailedLoop" Query="if($fCopyFailed,60)">
												<Variable Name="varPdhSecondsLeft" Scope="Children"/>
											</Rule>
											<Rule Name="fCopyFailedLoop2" Query="if($fCopyFailed,'%varPdhLoopCount%'+1)">
												<Variable Name="varPdhLoopCount" Scope="Children"/>
											</Rule>
											<Rule NextStep="CopyPerfmonFileLocally" Name="fLoop" Query="$fCopyFailed and '%varPdhLoopCount%' &lt; 6"/>
										</Setting>
										<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
											<Rule Name="szCopy2" Query="$."/>
										</Setting>
										<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
											<Rule Name="fCopy2" Query="$fCopyFailed and not($fLoop)" Error="Error" Title="Copia locale del file PerfMon non riuscita" Text="Copia del file da &quot;%varUNCRootDirServer%\%varPDHFileNameShortServer%&quot; a &quot;%varPDHFileName%&quot; non riuscita. {0}" P0="$."/>
										</Setting>
										<Object Type="If" Key1="'%ERRORCODE%'=0">
											<Object Type="Command" Key1="%varServer%" Key2="cmd" Key3="/C del &quot;%varUNCRootDirServer%\%varPDHFileNameShortServer%&quot;">
												<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
													<Rule Name="szLogmanPerfmonFileName" Query="$."/>
												</Setting>
												<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
													<Rule Name="fLogmanPerfmonFileName" Query="$fLogmanPerfmonFailed7" Error="None" Sev="1" Title="Eliminazione dati PerfMon sul server non riuscita" Text="{0} {1}" P0="$." P1="$szLogmanPerfmonFileName"/>
												</Setting>
												<Setting Key1="ReturnValue">
													<Rule Name="fLogmanPerfmonFailed7" Query="$. != 0"/>
												</Setting>
											</Object>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ClearInProgress" Title="Completamento raccolta dati" Display="Left">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%varDataFolder%" Substitution="varDataFolder" Display="Hide"/>
				<Setting Key1="%varCurrentUserSid%" Substitution="varCurrentUserSid" Display="Hide"/>
				<Object Type="Progress" Title="Completamento raccolta dati in corso..." Text="Attendere. Completamento raccolta dati in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">

					<Object Type="Group" Name="Clear in progress indicator">
						<Object Type="Command" Key2="cmd" Key3="/C wait 1" SecurityContext="EXLOGON">
							<Object Type="Command" Key2="cmd" Key3="/C del &quot;%varDataFolder%\InProgress.txt&quot;" SecurityContext="EXLOGON">
								<Setting Key1="Output" Key2="stderr" Format="([\r\n])---- ">
									<Rule Name="fClearInProgress2" Query="$fClearInProgressFailed" Error="Error" Sev="1" Title="Errore durante l'arresto della raccolta dati" Text="{0} {1}" P0="$." P1="$szClearInProgress"/>
								</Setting>
								<Setting Key1="Output" Key2="stdout" Format="([\r\n])---- ">
									<Rule Name="szClearInProgress" Query="$."/>
								</Setting>
								<Setting Key1="ReturnValue">
									<Rule Name="fClearInProgressFailed" Query="$. != 0"/>
								</Setting>
								<Rule Name="fSetDataFolder" Query="regSetValue('HKEY_USERS','%varCurrentUserSid%\\Software\\Microsoft\\Exchange\\ExPTA','DefaultDataFolder','%varDataFolder%')"/>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetAnalysisInfo" Title="Configura analisi dati" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varDefaultDataFolder%" Substitution="varDefaultDataFolder" Display="Hide"/>
			<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Analizza dati prestazioni raccolti in precedenza"/>
				<Object Type="Control" SubType="Label" Name="ExBLG" Position="Below" Text="Selezionare una cartella contenente i dati da analizzare."/>
				<Object Type="Control" SubType="Label" Name="DefaultFolderLabel" Position="Below" Text="Selezionare la directory contenente i dati sulle prestazioni"/>
				<Object Type="Control" SubType="FileDialog" Name="DefaultFolder" Position="Below" Width="375" Text="Sfoglia..." DialogType="OpenFolder" Flags="ReadOnly=True|AllowCreate=True" Default="%varDefaultDataFolder%">
					<Setting Key1="FileName">
						<Rule Name="fSetDataFolder2" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','DefaultDataFolder',$.)"/>
						<Rule Name="fDefaultDataFolder" Query="$.">
							<Variable Name="varDefaultDataFolder" Scope="Global"/>
						</Rule>
					</Setting>
					<Event Type="Changed">
						<Action Type="ExecuteQuery" ControlName="BLGFileName" Query="control-value('BLGFileName',getfile(control-value('DefaultFolder'),'*blg')[1])"/>
						<Action Type="ExecuteQuery" ControlName="CheckBoxBLG" Query="control-value('CheckBoxBLG',if(string-length(getfile(control-value('DefaultFolder'),'*blg')) &gt; 0,'1','0')[1])"/>

						<Action Type="ExecuteQuery" ControlName="FCLFileName" Query="control-value('FCLFileName',getfile(control-value('DefaultFolder'),'*fcl'))"/>
						<Action Type="ExecuteQuery" ControlName="CheckBoxFCL" Query="control-value('CheckBoxFCL',if(string-length(getfile(control-value('DefaultFolder'),'*.fcl')) &gt; 0,'1','0'))"/>

						<Action Type="ExecuteQuery" ControlName="ExMonFileName" Query="control-value('ExMonFileName',getfile(control-value('DefaultFolder'),'*etl'))"/>
						<Action Type="ExecuteQuery" ControlName="CheckBoxExMon" Query="control-value('CheckBoxExMon',if(string-length(getfile(control-value('DefaultFolder'),'*.etl')) &gt; 0,'1','0'))"/>

						<Action Type="ExecuteQuery" ControlName="EventLogFileName" Query="control-value('EventLogFileName',getfile(control-value('DefaultFolder'),'*EventLog.xml'))"/>
						<Action Type="ExecuteQuery" ControlName="CheckBoxEventLog" Query="control-value('CheckBoxEventLog',if(string-length(getfile(control-value('DefaultFolder'),'*EventLog.xml')) &gt; 0,'1','0'))"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Label" Name="InvalidDefaultFolder" Position="Below" Text="Indicare una directory contenente i dati sulle prestazioni." Flags="Visible=False" ForeColor="Red" FontStyle="Bold"/>
				<Object Type="Control" SubType="Label" Name="CollectionInProgress" Position="Below" Text="La raccolta dati è tuttora in corso per la cartella dati selezionata. Selezionare una cartella dati differente." Flags="Visible=False" ForeColor="Red" FontStyle="Bold"/>
				<Object Type="Control" SubType="Label" Name="InvalidData" Position="Below" Text="Uno o più file dati tra quelli riportati di seguito non sono specificati. Selezionare un file dati." Flags="Visible=False" ForeColor="Red" FontStyle="Bold"/>
				<Object Type="Group" Name="Turn off collection">
					<Rule Name="fNoCollection" Query="'0'">
						<Variable Name="varCollectPDH" Scope="Children"/>
						<Variable Name="varCollectExMon" Scope="Children"/>
						<Variable Name="varCollectFCL" Scope="Children"/>
						<Variable Name="varCollectEventLog" Scope="Children"/>
					</Rule>
					<Rule Name="fSetUpOk" Query="$fCheckBoxBLG='1' or $fCheckBoxExMon='1' or $fCheckBoxFCL='1' or $fCheckBoxEventLog='1'"/>
					<Rule NextStep="GetCredentials" Name="fNeedConnectionInfo" Query="not($fHaveConnectionInfo) and not($fFCLOnly)" AlwaysEvaluate="True"/>
					<Rule NextStep="CheckStoreProcess" Name="fHaveConnectionInfo" Query="$fGotAllRequiredDocs"/>
					<Rule NextStep="CheckFCLData" Name="fSkipToFCLAnalysis" Query="$fFCLOnly and not($fGotAllRequiredDocs)"/>

					<Rule Name="fNothingSelected" Query="not($fSetUpOk)" Error="Error" Title="Nessun dato selezionato per l'analisi" Text="È necessario selezionare i dati da analizzare."/>
					<Rule Name="szDataAction2" Query="if($fGotAllRequiredDocs, 'Analyze','Default')" AlwaysEvaluate="True">
						<Variable Name="varDataAction" Scope="Global"/>
					</Rule>
					<!-- Verify we have all docs required to analyze data (the required docs are docs that require access to the server). Note EventLogDataDoc2 is not a required doc (it doesn't have any connectivity info). Note also that szUserDataDoc2 is not included intentionally, as this step is optional -->
					<Rule Name="fGotAllRequiredDocs" Query="string-length($szDataDoc2) &gt;0 and string-length($szMiscBasicChecksDataDoc2) &gt;0 and string-length($szBasicDiskDataDataDoc2) &gt;0 and string-length($szFindExchangeObjectsDataDoc2) &gt;0" AlwaysEvaluate="True"/>

					<!-- In the case where we are ONLY analyzing FCL data, we don't actually REQUIRE any of the xml files. -->
					<Rule Name="fFCLOnly" Query="not($fCheckBoxBLG or $fCheckBoxExMon or $fCheckBoxEventLog) and $fCheckBoxFCL" AlwaysEvaluate="True"/>
					<Rule Name="szDataDoc2" Query="getfile($fDefaultDataFolder,'ConnectivityCheck.xml')" AlwaysEvaluate="True">
						<Variable Name="varDataDoc" Scope="Global"/>
					</Rule>
					<Rule Name="szMiscBasicChecksDataDoc2" Query="getfile($fDefaultDataFolder,'MiscBasicChecks.xml')" AlwaysEvaluate="True">
						<Variable Name="varMiscBasicChecksDataDoc" Scope="Global"/>
					</Rule>
					<Rule Name="szBasicDiskDataDataDoc2" Query="getfile($fDefaultDataFolder,'BasicDiskData.xml')" AlwaysEvaluate="True">
						<Variable Name="varBasicDiskDataDataDoc" Scope="Global"/>
					</Rule>
					<Rule Name="szFindExchangeObjectsDataDoc2" Query="getfile($fDefaultDataFolder,'ExchangeObjects.xml')" AlwaysEvaluate="True">
						<Variable Name="varFindExchangeObjectsDataDoc" Scope="Global"/>
					</Rule>
					<Rule Name="szUserDataDoc2" Query="getfile($fDefaultDataFolder,'UserProfile.xml')" AlwaysEvaluate="True">
						<Variable Name="varUserDataDoc" Scope="Global"/>
					</Rule>
					<Rule Name="szEventLogDataDoc2" Query="getfile($fDefaultDataFolder,'EventLog.xml')" AlwaysEvaluate="True">
						<Variable Name="varEventLogDataDoc" Scope="Global"/>
					</Rule>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="MidLine1" Position="LeftBelow"/>
				<Object Type="Control" SubType="ShowHide" Name="ShowHideDataOptions" Position="Below" Text="Mostra opzioni di analisi avanzate,Nascondi opzioni di analisi avanzate">
					<Object Type="Control" SubType="Label" Name="label2" Position="Below" Percent="4" Text="Selezionare i dati da analizzare:"/>
					<Object Type="If" Name="AnalyzePerfMon" Key1="true()">
						<Setting Key1="getfile('%varDefaultDataFolder%','*blg')" Substitution="PDHFILE"/>
						<Setting Key1="if(getfile('%varDefaultDataFolder%','*blg')!='','1','0')" Substitution="PDHENABLED"/>
						<Setting Key1="if(getfile('%varDefaultDataFolder%','*blg')!='','True','False')" Substitution="ENABLED"/>

						<Object Type="Control" SubType="CheckBox" Name="CheckBoxBLG" Position="LeftBelow" Text="Analizza dati PerfMon" Default="%PDHENABLED%">
							<Event Type="Changed">
								<Action Type="Enable" ControlName="BLGFileName" Query="control-value('CheckBoxBLG')='1'"/>
							</Event>
							<Setting Key1="Checked">
								<Rule Name="fCheckBoxBLG" Query="$.='1'"/>
								<Rule Name="fSetPDHVal2" Query="$.">
									<Variable Name="varAnalyzePDH" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="Label" Name="indent5" Position="Below" Text=" "/>
						<Object Type="Control" SubType="Label" Name="label5" Position="NextTo" Text="Nome file dati PerfMon"/>
						<Object Type="Control" SubType="FileDialog" Name="BLGFileName" Position="Below" LineSpace="0" Width="390" Title="Seleziona file di registro in formato binario (.big) dei dati sulle prestazioni" Text="Sfoglia..." DialogType="OpenFile" FileFilter="BLG files (*.blg)|*.blg|All Files(*.*)|*.*" Flags="ReadOnly=True|Enabled=%ENABLED%" Default="%PDHFILE%">
							<Setting Key1="PDHFILE">
								<Rule Name="szPDHFileName3" Query="if($fCheckBoxBLG='1',$.)">
									<Variable Name="varPDHFileName" Scope="Local"/>
								</Rule>
							</Setting>
						</Object>
					</Object>
					<Object Type="If" Name="AnalyzeExMon" Key1="true()">
						<Setting Key1="getfile('%varDefaultDataFolder%','*etl')" Substitution="EXMONFILE"/>
						<Setting Key1="if(getfile('%varDefaultDataFolder%','*etl')!='','1','0')" Substitution="EXMONENABLED"/>
						<Setting Key1="if(getfile('%varDefaultDataFolder%','*etl')!='','True','False')" Substitution="ENABLED"/>
						<Object Type="Control" SubType="CheckBox" Name="CheckBoxExMon" Position="LeftBelow" Text="Analizza dati ExMon" Default="%EXMONENABLED%">
							<Event Type="Changed">
								<Action Type="Enable" ControlName="ExMonFileName" Query="control-value('CheckBoxExMon')='1'"/>
							</Event>
							<Setting Key1="Checked">
								<Rule Name="fCheckBoxExMon" Query="$.='1'"/>
								<Rule Name="fSetExMonVal1" Query="$.">
									<Variable Name="varAnalyzeExMon" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="Label" Name="indent6" Position="Below" Text=" "/>
						<Object Type="Control" SubType="Label" Name="label6" Position="NextTo" Text="Nome file di traccia ExMon"/>
						<Object Type="Control" SubType="FileDialog" Name="ExMonFileName" Position="Below" LineSpace="0" Width="390" Title="Selezionare file di traccia (etl) ExMon" Text="Sfoglia..." DialogType="OpenFile" FileFilter="Trace files (*.etl)|*.etl|All Files(*.*)|*.*" Flags="ReadOnly=True|Enabled=%ENABLED%" Default="%EXMONFILE%">
							<Setting Key1="EXMONFILE">
								<Rule Name="szExMonFileName1" Query="if($fCheckBoxExMon='1',$.)">
									<Variable Name="varExMonFileName" Scope="Global"/>
								</Rule>
							</Setting>
						</Object>
					</Object>
					<Object Type="If" Name="AnalyzeFCL" Key1="true()">
						<Setting Key1="getfile('%varDefaultDataFolder%','*fcl')" Substitution="FCLFILE"/>
						<Setting Key1="if(getfile('%varDefaultDataFolder%','*fcl')!='','1','0')" Substitution="FCLENABLED"/>
						<Setting Key1="if(getfile('%varDefaultDataFolder%','*fcl')!='','True','False')" Substitution="ENABLED"/>
						<Object Type="Control" SubType="CheckBox" Name="CheckBoxFCL" Position="LeftBelow" Text="Analizza dati FCL" Default="%FCLENABLED%">
							<Event Type="Changed">
								<Action Type="Enable" ControlName="FCLFileName" Query="control-value('CheckBoxFCL')='1'"/>
							</Event>
							<Setting Key1="Checked">
								<Rule Name="fCheckBoxFCL" Query="$.='1'"/>
								<Rule Name="fSetFCLVal2" Query="$.">
									<Variable Name="varAnalyzeFCL" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="Label" Name="indent7" Position="Below" Text=" "/>
						<Object Type="Control" SubType="Label" Name="label7" Position="NextTo" Text="Nome file registro chiamate di funzione"/>
						<Object Type="Control" SubType="FileDialog" Name="FCLFileName" Position="Below" LineSpace="0" Width="390" Title="Selezionare file registro chiamate di funzione (fcl)" Text="Sfoglia..." DialogType="OpenFile" FileFilter="FCL files (*.fcl)|*.fcl|All Files(*.*)|*.*" Flags="ReadOnly=True|Enabled=%ENABLED%" Default="%FCLFILE%">
							<Setting Key1="PDHFILE">
								<Rule Name="szFCLFileName1" Query="if($fCheckBoxFCL='1',$.)">
									<Variable Name="varFCLFileName" Scope="Local"/>
								</Rule>
							</Setting>
						</Object>
					</Object>
					<Object Type="If" Name="AnalyzeEventLog" Key1="true()">
						<Setting Key1="getfile('%varDefaultDataFolder%','*EventLog.xml')" Substitution="EVENTLOGFILE"/>
						<Setting Key1="if(getfile('%varDefaultDataFolder%','*EventLog.xml')!='','1','0')" Substitution="EVENTLOGENABLED"/>
						<Setting Key1="if(getfile('%varDefaultDataFolder%','*EventLog.xml')!='','True','False')" Substitution="ENABLED"/>

						<Object Type="Control" SubType="CheckBox" Name="CheckBoxEventLog" Position="LeftBelow" Text="Analizza dati registro eventi" Default="%EVENTLOGENABLED%">
							<Event Type="Changed">
								<Action Type="Enable" ControlName="EventLogFileName" Query="control-value('CheckBoxEventLog')='1'"/>
							</Event>
							<Setting Key1="Checked">
								<Rule Name="fCheckBoxEventLog" Query="$.='1'"/>
								<Rule Name="fSetEventLogVal2" Query="$.">
									<Variable Name="varAnalyzeEventLog" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="Label" Name="indent8" Position="Below" Text=" "/>
						<Object Type="Control" SubType="Label" Name="label8" Position="NextTo" Text="Nome file registro eventi"/>
						<Object Type="Control" SubType="FileDialog" Name="EventLogFileName" Position="Below" LineSpace="0" Width="390" Title="Selezionare file dati registro eventi (xml)" Text="Sfoglia..." DialogType="OpenFile" FileFilter="htm files (*EventLog.xml)|*EventLog.xml|All Files(*.*)|*.*" Flags="ReadOnly=True|Enabled=%ENABLED%" Default="%EVENTLOGFILE%">
							<Setting Key1="PDHFILE">
								<Rule Name="szEventLogFileName1" Query="if($fCheckBoxEventLog='1',$.)">
									<Variable Name="varEventLogFileName" Scope="Local"/>
								</Rule>
							</Setting>
						</Object>
					</Object>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="MidLine2" Position="Below"/>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="Precedente"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="Avanti">
					<Event Type="Click">
						<Action Type="Proceed" Query="string-length(control-value('DefaultFolder') &gt; 0) and string-length(getfile(control-value('DefaultFolder'),'InProgress.txt'))=0 and (number(control-value('CheckBoxBLG')) + number(control-value('CheckBoxExMon')) + number(control-value('CheckBoxFCL')) + number(control-value('CheckBoxEventLog')))&gt;0 and ((control-value('CheckBoxBLG')='1' and string-length(control-value('BLGFileName'))&gt;0) or control-value('CheckBoxBLG')=0) and ((control-value('CheckBoxExMon')='1' and string-length(control-value('ExMonFileName'))&gt;0) or control-value('CheckBoxExMon')=0) and ((control-value('CheckBoxFCL')='1' and string-length(control-value('FCLFileName'))&gt;0) or control-value('CheckBoxFCL')=0) and ((control-value('CheckBoxEventLog')='1' and string-length(control-value('EventLogFileName'))&gt;0) or control-value('CheckBoxEventLog')=0)"/>
						<Action Type="Visible" ControlName="CollectionInProgress" Query="string-length(getfile(control-value('DefaultFolder'),'InProgress.txt'))&gt;0"/>
						<Action Type="Visible" ControlName="InvalidDefaultFolder" Query="control-value('CheckBoxBLG')='0' and control-value('CheckBoxEventLog')='0' and control-value('CheckBoxExMon')='0' and control-value('CheckBoxFCL')='0'"/>
						<Action Type="Visible" ControlName="InvalidData" Query="(control-value('CheckBoxBLG')='1' and string-length(control-value('BLGFileName')) = 0) or (control-value('CheckBoxExMon')='1' and string-length(control-value('ExMonFileName')) = 0) or (control-value('CheckBoxFCL')='1' and string-length(control-value('FCLFileName')) = 0) or (control-value('CheckBoxEventLog')='1' and string-length(control-value('EventLogFileName')) = 0)"/>
					</Event>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ScheduleDataCollection" Title="Pianificazione raccolta dati" Display="Left">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%varStartTime%" Substitution="varStartTime" Display="Hide"/>
				<Setting Key1="%varStartDay%" Substitution="varStartDay" Display="Hide"/>
				<Setting Key1="%varPrettyStartTime%" Substitution="varPrettyStartTime" Display="Hide"/>
				<Setting Key1="%varProgramName%" Substitution="varProgramName" Display="Hide"/>
				<Setting Key1="%varConfigName%" Substitution="varConfigName" Display="Hide"/>
				<Setting Key1="%SERVERNAME%" Substitution="varServer"/>
				<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
				<Setting Key1="%varVariableFile%" Substitution="varVariableFile" Display="Hide"/>
				<Setting Key1="%varSchedDataFileName%" Substitution="varSchedDataFileName" Display="Hide"/>

				<Object Type="Progress" Title="Pianificazione raccolta dati in corso..." Text="Attendere. Pianificazione raccolta dati in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">

					<Object Type="At" Name="Performance Data" Key1="ExWiz-%varServer%" Key2="%varStartTime%" Key3="MONTH=%varStartDay%" Key4="%varProgramName%" Key5="-cfg &quot;%varConfigName%&quot; -dat &quot;%varSchedDataFileName%&quot; -g CHOOSESTARTSTEP 1 STARTSTEP Performance_ReadVariables varVariableFile &quot;%varVariableFile%&quot;" SecurityContext="EXLOGON">
						<Rule NextStep="DisplayResultsStep" Name="fDisplayScheduleDataCollection" Query="@S1=0 or $fReportFailure" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule NextStep="GetCredentials" Name="fGoBackandGetCredentials" Query="../Exception"/>
						<Rule Name="szDisplayScheduleDataCollectionTitle" Query="string(@Title)" Title="Stato pianificazione dati">
							<Variable Name="DISPLAYTITLE" Scope="Global"/>
						</Rule>
						<Rule Name="szScheduleDataCollection" Query="'ScheduleDataCollection'">
							<Variable Name="PreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szScheduleDataText" Query="if($fReportSuccess,$szReportSuccessText,$szReportFailureText)" AlwaysEvaluate="True">
							<Variable Name="ErrorStateText" Scope="Global"/>
						</Rule>
						<Setting Key1="JobName"/>
						<Setting Key1="JobTime"/>
						<Setting Key1="Recurrence">
							<Rule Name="fReportSuccess" Query="$." Error="None" ReportIssue="Summary" Title="Pianificazione raccolta dati eseguita correttamente" Text="La raccolta dati verrà avviata alle {0}" S0="%varPrettyStartTime%"/>
							<Rule Name="szReportSuccessText" Query="string(@Title)" Title="Raccolta dati pianificata."/>
						</Setting>
						<Rule Name="szAtExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
						<Rule Name="fReportFailure" Query="not($fReportSuccess)" Error="Error" ReportIssue="Summary" Title="Pianificazione raccolta dati non riuscita" Text="Raccolta dati non pianificata. {0}" P0="$szAtExceptionText" AlwaysEvaluate="True"/>
						<Rule Name="fReportFailureDontContinue" Query="if($fReportFailure,0)" AlwaysEvaluate="True">
							<Variable Name="varContinueRun" Scope="Children"/>
						</Rule>
						<Rule Name="szReportFailureText" Query="concat(string(@Title),$szAtExceptionText)" Title="Raccolta dati non pianificata. "/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SaveVariables" Title="Preparazione della pianificazione raccolta dati" Display="Left">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%varVariableFile%" Substitution="varVariableFile" Display="Hide"/>
				<Object Type="Progress" Title="Pianificazione raccolta dati in corso..." Text="Attendere. Pianificazione raccolta dati in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
					<Object Type="Variable" Name="Dump variables" Key1="DumpToFile" Key2="%varVariableFile%" SecurityContext="EXLOGON">
						<Setting Key1="JobName"/>
					</Object>
					<Rule NextStep="ScheduleDataCollection" Name="fDoneSaving" Query="true()"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ReadVariables" Title="Lettura raccolta dati per raccolta dati pianificata" SkipSave="True" Display="Left">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%varVariableFile%" Substitution="varVariableFile" Display="Hide"/>
				<Object Type="Variable" Name="Read variables" Key1="ReadFromFile" Key2="%varVariableFile%" SecurityContext="EXLOGON">
					<Setting Key1="ReadFile">
						<Rule NextStep="ResetContinueRun" Name="fReadFile"/>
					</Setting>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ResetContinueRun" Title="Reimpostazione valori predefiniti" SkipSave="True" Display="HideAll">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%varVariableFile%" Substitution="varVariableFile" Display="Hide"/>
				<Setting Key1="%varContinueRunTemp%" Substitution="varContinueRunTemp" Display="Hide"/>
				<!-- The value of varContinueRun was just overwritten when the variables were read
				in from the variable file, so we need to copy in the new value
					that the user has specified -->
				<Object Type="Group" Name="Reset Skip">
					<Rule Name="fResetContinueRun" Query="@S1" S1="%varContinueRunTemp%">
						<Variable Name="varContinueRun" Scope="Children"/>
					</Rule>
					<Rule NextStep="CheckStoreProcess" Name="nsCheckStoreProcess2"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CollectEventLog" Title="Controllo in corso del registro eventi..." Display="Left">
		<Object Type="Variable" Key1="Scalar" Key2="%varDataAction%" Key3="%varEventLogDataDoc%" Display="Hide">
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%SERVERNAME%" Substitution="varServer" Display="Hide"/>
			<Setting Key1="%varEventLogFileName%" Substitution="varEventLogFileName" Display="Hide"/>
			<Setting Key1="%varCurrentDateTimeUTC%" Substitution="varCurrentDateTimeUTC" Display="Hide"/>
			<Setting Key1="%varConfigDN%" Substitution="varConfigDN" Display="Hide"/>

			<Object Type="Progress" Title="Controllo in corso del registro eventi..." Text="Attendere. Ricerca di errori nel registro eventi in corso..." HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="Event Log Results" Class="Area" GroupingClass="True">
					<Rule NextStep="DisplayResultsStep" Name="fDisplayCollectEventLogStep" Query="$fFatalErrorCollectingEventLog" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szCollectEventLog" Query="'CollectEventLog'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<!-- Overall success or failure? -->
					<Rule Name="szErrorEventLog" Query="string(@Title)" Title="Sono stati rilevati uno o più errori."/>
					<Rule Name="szErrorStateTextCollectEventLog" Query="if(not($fFatalErrorCollectingEventLog),string(@Title),'')" Title="Raccolta dati del registro eventi completata nel file %varEventLogFileName%." AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCollectEventLogResult" Query="string(@Title)" Title="Risultati della raccolta dati del registro eventi">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="fFatalErrorCollectingEventLog" Query="false()"/>

					<Object Type="Group" Name="Last 24 hours" Class="Intervallo di tempo" GroupingClass="True">
						<Object Type="If" Key1="true()">
							<!-- Get the datetime of exactly 24 hours ago in the yyyyMMddHHmmss.000000+000 format as this format is faster for a WMI query -->
							<Setting Key1="date-add('%varCurrentDateTimeUTC%', get-timespan(-(24 * 3600)))" Substitution="STARTTIME" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
							<!-- Let's look if the app event log contains any events 2000, 2019 or 2020, as they can indicate a problem with Paged pool depletion -->
							<Object Type="Cache" Name="Events" Key1="Show" Key2="ListOfIDS" Key3="2000,2019,2020" Key4="," Class="ID evento" GroupingClass="True">
								<Setting Substitution="EVENTID"/>
								<Object Type="WMI" Key1="%varServer%" Key3="Win32_NTLogEvent" Key4="Logfile='System' AND EventCode=%EVENTID% AND SourceName='SRV' AND TimeWritten &gt; '%STARTTIME%'" TrackProgress="TrackProgress" Sort="TimeWritten DESC" Range="1">
									<Setting Key1="EventCode"/>
									<Setting Key1="Category"/>
									<Setting Key1="CategoryString"/>
									<Setting Key1="EventType"/>
									<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
									<Setting Key1="Data"/>
									<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
										<Rule Name="fEvt20xxWithinLast24hours" Query="true()" Error="Warning" Sev="4" ReportIssue="Issue" Title="È stato registrato l'evento 'SRV' nelle ultime 24 ore per indicare il possibile esaurimento della memoria kernel" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varServer%" S8="%EVTTIME%" S9="%EVENTID%" GUID="4dd3f1e8-a770-4c5c-8fbd-97847459b63f"/>
									</Setting>
								</Object>
							</Object>
							<Object Type="WMI" Key1="%varServer%" Key3="Win32_NTLogEvent" Key4="Logfile='System' AND EventCode=7031 AND SourceName='Service Control Manager' AND TimeWritten &gt; '%STARTTIME%'" TrackProgress="TrackProgress" Sort="TimeWritten DESC" Range="5">
								<Setting Key1="EventCode"/>
								<Setting Key1="Category"/>
								<Setting Key1="CategoryString"/>
								<Setting Key1="EventType"/>
								<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
								<Setting Key1="Data"/>
								<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
									<Rule Name="fEvt7031WithinLast24hours" Query="true()" Error="None" Sev="2" ReportIssue="Issue" Title="È stato registrato l'evento 'Gestione controllo servizi' nelle ultime 24 ore che indica l'arresto imprevisto di un servizio" Text="È presente un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varServer%" S8="%EVTTIME%" S9="%EVENTID%" GUID="823e4365-7fab-4198-b42f-c653c6e1940f"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varServer%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=9582 AND SourceName='MSExchangeIS' AND TimeWritten &gt; '%STARTTIME%'" TrackProgress="TrackProgress" Sort="TimeWritten DESC" Range="1">
								<Setting Key1="EventCode"/>
								<Setting Key1="Category"/>
								<Setting Key1="CategoryString"/>
								<Setting Key1="EventType"/>
								<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
								<Setting Key1="Data"/>
								<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
									<Rule Name="fEvt9582WithinLast24hours" Query="true()" Error="Error" Sev="2" ReportIssue="Issue" Title="È stato registrato l'evento 'MSExchangeIS' nelle ultime 24 ore che indica che si è verificato un errore durante l'aggiornamento ACL nella cartella" Text="È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varServer%" S8="%EVTTIME%" S9="9582" GUID="8dd08f2a-9b96-41ef-bb9f-eb96a828953c"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varServer%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=9665 AND SourceName='MSExchangeIS' AND TimeWritten &gt; '%STARTTIME%'" TrackProgress="TrackProgress" Sort="TimeWritten DESC" Range="1">
								<Setting Key1="EventCode"/>
								<Setting Key1="Category"/>
								<Setting Key1="CategoryString"/>
								<Setting Key1="EventType"/>
								<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
								<Setting Key1="Data">
									<Rule Name="fMemoryData" Query="hex($.)"/>
								</Setting>
								<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
									<Rule Name="fEvt9665WithinLast24hours3GB" Query="boolean(bitwise-and($fMemoryData,1))" Error="Warning" Sev="2" ReportIssue="Issue" Title="È stato registrato l'evento 'MSExchangeIS' nelle ultime 24 ore che indica la mancata impostazione dell'opzione /3GB" Text="L'opzione /3GB non è impostata. È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varServer%" S8="%EVTTIME%" S9="9665" GUID="0e9303a3-e410-47e9-9c4e-b423840d5d5b"/>
									<Rule Name="fEvt9665WithinLast24hoursUserVA" Query="boolean(bitwise-and($fMemoryData,2))" Error="Warning" Sev="2" ReportIssue="Issue" Title="È stato registrato l'evento 'MSExchangeIS' nelle ultime 24 ore che indica l'errata impostazione dell'opzione /Userva" Text="L'opzione /Userva non è impostata correttamente. È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varServer%" S8="%EVTTIME%" S9="9665" GUID="0e9303a3-e410-47e9-9c4e-b423840d5d5b"/>
									<Rule Name="fEvt9665WithinLast24hoursSystemPagesSet" Query="boolean(bitwise-and($fMemoryData,4))" Error="Warning" Sev="2" ReportIssue="Issue" Title="È stato registrato l'evento 'MSExchangeIS' nelle ultime 24 ore che indica la necessità di impostare 'SystemPages'" Text="È necessario impostare 'SystemPages'. È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varServer%" S8="%EVTTIME%" S9="9665" GUID="0e9303a3-e410-47e9-9c4e-b423840d5d5b"/>
									<Rule Name="fEvt9665WithinLast24hoursSystemPagesReset" Query="boolean(bitwise-and($fMemoryData,8))" Error="Warning" Sev="2" ReportIssue="Issue" Title="È stato registrato l'evento 'MSExchangeIS' nelle ultime 24 ore che indica la necessità di reimpostare 'SystemPages'" Text="È necessario reimpostare 'SystemPages'. È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varServer%" S8="%EVTTIME%" S9="9665" GUID="0e9303a3-e410-47e9-9c4e-b423840d5d5b"/>
									<Rule Name="fEvt9665WithinLast24hoursFreeblockThresholdSet" Query="boolean(bitwise-and($fMemoryData,16))" Error="Warning" Sev="2" ReportIssue="Issue" Title="È stato registrato un evento 'MSExchangeIS' nelle ultime 24 ore che indica l'errata impostazione di 'HeapDeCommitFreeBlockThreshold'" Text="'HeapDecommitFreeBlockThreshold' non impostato correttamente. È presente almeno un'occorrenza dell'ID evento {9} nel registro applicazioni del server {2} nelle ultime 24 ore. Ultima occorrenza alle {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varServer%" S8="%EVTTIME%" S9="9665" GUID="0e9303a3-e410-47e9-9c4e-b423840d5d5b"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varServer%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=9794 AND SourceName='MSExchangeIS Mailbox Store' AND TimeWritten &gt; '%STARTTIME%'" TrackProgress="TrackProgress" Sort="TimeWritten DESC" Range="1">
								<Setting Key1="EventCode"/>
								<Setting Key1="Category"/>
								<Setting Key1="CategoryString"/>
								<Setting Key1="EventType"/>
								<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- "/>
								<Setting Key1="Data"/>
								<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
									<Rule Name="fEvt9794WithinLast24hours" Query="('%varIsExchange12%'='1') and true()" Error="Error" Sev="2" ReportIssue="Issue" Title="Nelle ultime 24 ore è stato registrato un evento 'MSExchangeIS Mailbox Store'. Ciò indica un problema di prestazioni del server dovuto a un numero eccessivo di backlink a cartelle di ricerca." Text="Nel registro applicazioni del server {2} è presente almeno un'istanza dell'evento con ID {9} registrata nelle ultime 24 ore. Ora ultima istanza: {8}. Descrizione evento: {1}" S1="%EVTMESSAGE%" S2="%varServer%" S8="%EVTTIME%" S9="9794"/>
								</Setting>
							</Object>
						</Object>
					</Object>
					<Object Type="Group" Name="Last hour" Class="Intervallo di tempo" GroupingClass="True">
						<Object Type="If" Key1="true()">
							<!-- Get the datetime of exactly 1 hour ago in the yyyyMMddHHmmss.000000+000 format as this format is faster for a WMI query -->
							<Setting Key1="date-add('%varCurrentDateTimeUTC%', get-timespan(-(3600)))" Substitution="STARTTIME" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
							<Object Type="WMI" Key1="%varServer%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=9551 AND SourceName='MSExchangeIS Mailbox Store' AND TimeWritten &gt; '%STARTTIME%'" TrackProgress="TrackProgress" Sort="TimeWritten DESC" Range="20">
								<Setting Key1="EventCode"/>
								<Setting Key1="Category"/>
								<Setting Key1="CategoryString"/>
								<Setting Key1="EventType"/>
								<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- ">
									<Rule Name="szMessage9551" Query="$."/>
								</Setting>
								<Setting Key1="Data"/>
								<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
									<Rule Name="fEvt9551WithinLastHour" Query="true()"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varServer%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=9551 AND SourceName='MSExchangeIS Public Store' AND TimeWritten &gt; '%STARTTIME%'" TrackProgress="TrackProgress" Sort="TimeWritten DESC" Range="20">
								<Setting Key1="EventCode"/>
								<Setting Key1="Category"/>
								<Setting Key1="CategoryString"/>
								<Setting Key1="EventType"/>
								<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- ">
									<Rule Name="szMessage9551Pub" Query="$."/>
								</Setting>
								<Setting Key1="Data"/>
								<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
									<Rule Name="fEvt9551WithinLastHourPub" Query="true()"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%varServer%" Key3="Win32_NTLogEvent" Key4="Logfile='Application' AND EventCode=9548 AND SourceName='MSExchangeIS' AND TimeWritten &gt; '%STARTTIME%'" TrackProgress="TrackProgress" Sort="TimeWritten DESC" Range="20">
								<Setting Key1="EventCode"/>
								<Setting Key1="Category"/>
								<Setting Key1="CategoryString"/>
								<Setting Key1="EventType"/>
								<Setting Key1="Message" Substitution="EVTMESSAGE" SubstitutionFormat="([\r\n])---- ">
									<Rule Name="szMessage9548" Query="$."/>
								</Setting>
								<Setting Key1="Data"/>
								<Setting Key1="TimeWritten" Substitution="EVTTIME" SubstitutionFormat="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8">
									<Rule Name="fEvt9548WithinLastHour" Query="true()"/>
								</Setting>
							</Object>
							<Rule Name="f20Evt9548WithinLastHour" Query="count($fEvt9548WithinLastHour)=20" Error="Warning" Sev="2" ReportIssue="Issue" Title="Sono stati registrati almeno 20 eventi 'MSExchangeIS' con ID evento 9548 nell'ultima ora che indicano che un utente disabilitato non dispone di un SID account principale" Text="{1}" P1="$szMessage9548[1]" GUID="0c98bdc9-19f4-4047-8e59-aa4fd0b5bde8"/>
							<Rule Name="f20Evt9551WithinLastHour" Query="count($fEvt9551WithinLastHour)=20 and $fOrgModeNative" Error="Warning" Sev="2" ReportIssue="Issue" Title="Sono stati registrati almeno 20 eventi 'MSExchangeIS Archivio cassetta postale' con ID evento 9551 nell'ultima ora che indicano che si sono verificati errori durante l'aggiornamento di ACL nella cartella" Text="{1}" P1="$szMessage9551[1]" GUID="847b6d132-fde8-44df-87b1-36dc3f881469"/>
							<Rule Name="f20Evt9551WithinLastHourPub" Query="count($fEvt9551WithinLastHourPub)=20 and $fOrgModeNative" Error="Warning" Sev="2" ReportIssue="Issue" Title="Sono stati registrati eventi 'MSExchangeIS Archivio pubblico' con ID evento 9551 nell'ultima ora che indicano che si sono verificati errori durante l'aggiornamento di ACL nella cartella" Text="{1}" P1="$szMessage9551Pub[1]" GUID="847b6d132-fde8-44df-87b1-36dc3f881469"/>

							<Rule Name="f20Evt9551WithinLastHourMixed" Query="count($fEvt9551WithinLastHour)=20 and $fOrgModeMixed" Error="Warning" Sev="2" ReportIssue="Issue" Title="Sono stati registrati almeno 20 eventi 'MSExchangeIS' con ID evento 9551 nell'ultima ora che indicano indicare che si sono verificati errori durante l'aggiornamento di ACL nella cartella" Text="{1}" P1="$szMessage9551[1]" GUID="847b6d132-fde8-44df-87b1-36dc3f881469"/>
							<Rule Name="f20Evt9551WithinLastHourPubMixed" Query="count($fEvt9551WithinLastHourPub)=20 and $fOrgModeMixed" Error="Warning" Sev="2" ReportIssue="Issue" Title="Sono stati registrati eventi 'MSExchangeIS Archivio pubblico' con ID evento 9551 nell'ultima ora che indicano che si sono verificati errori durante l'aggiornamento di ACL nella cartella" Text="{1}" P1="$szMessage9551Pub[1]" GUID="847b6d132-fde8-44df-87b1-36dc3f881469"/>
						</Object>
					</Object>
					<Object Type="Directory" Key2="cn=Microsoft Exchange,cn=Services,%varConfigDN%">
						<Setting Key1="distinguishedName" Substitution="DN"/>
						<!-- Now let's focus on the Exchange Organization object, finding out some basic information about the org -->
						<Object Type="Group" Name="Rules" Display="Right">
							<Object Type="Directory" Key2="%DN%" Key3="objectClass=msExchOrganizationContainer" Key4="OneLevel" Display="Left" LogText="Elaborazione dell'organizzazione di Exchange in corso...">
								<Setting Key1="msExchMixedMode">
									<Rule Name="fOrgModeMixed" Query="$.='True'" Error="None" Text="L'organizzazione di Exchange è in modalità mista."/>
									<Rule Name="fOrgModeNative" Query="$.='False'" Error="None" Text="L'organizzazione di Exchange è in modalità nativa."/>
								</Setting>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>ef8VVe5MHOhNj5FjpyxPA7GeB00=</DigestValue></Reference></SignedInfo><SignatureValue>
    J50AnHTLwCm1exlue6kYupLRmoZYua7YwiNOrPJGE5mOkoWhI83gkoYaIwKQ7Bg/vq0SK8uF
    N/7gtcvgDLh85tksEVCYipBJvZ23d2DD2VOBRXelmhQfdD1uIV5HDshXM31rq+Cm19mFNkdK
    eggZcihO5dlNAvrVMB3GCmr9VYchnQ47LdmF/Bruy1jCrOOHClECj+93MxA4yV2Kt4FtiGga
    DVWTopRvmOl8wlALe53Y0rOemVu6fJQWo/sBs5qLPnz63ZOS9L2MUO5dI1rd8N76Jd7Ab+xn
    Gi3FYBe0rrfjYgetr2NxDf/OicsZgLA9WH2biSugWqnwygugX81edA==
  </SignatureValue><KeyInfo>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>
            vTCJ+0VyqFNrnolPACPAvtQdPbFZQDjzc5GCJuaWEgBT2RyCDjzOHbu990KNl9T8OBrkufnj
            7NNhA7+g09Z1TVxGqe1e8NLiaVsac+qzHI0EzSlEoGRZLx6YXW7Hqxg5gmXEp7yrdYgZ6oeX
            FCazfyZ2pNQ4OYTjsybVGPkr6dLJFlpUIfKXjYeGKf70SSzmi/gEP33NzZaShg1xA+LQ/gxC
            Nf/XuD/djkUKffbXS61b8HZyHXcjfYk1xBxdslADS0dtB6dViJgGgKaBrVRO2IHW+r9CwDG+
            VQ2Z1VNJEjDr5aWIfF7EeloUhwi0N2mg6zIkjAjr+dQUuuD8zeqkFQ==
          </Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
      <X509Data>
        <X509Certificate>
          MIIEejCCA2KgAwIBAgIKYQHPPgAAAAAADzANBgkqhkiG9w0BAQUFADB5MQswCQYDVQQGEwJV
          UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj
          cm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYDVQQDExpNaWNyb3NvZnQgQ29kZSBTaWduaW5nIFBD
          QTAeFw0wOTEyMDcyMjQwMjlaFw0xMTAzMDcyMjQwMjlaMIGDMQswCQYDVQQGEwJVUzETMBEG
          A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0
          IENvcnBvcmF0aW9uMQ0wCwYDVQQLEwRNT1BSMR4wHAYDVQQDExVNaWNyb3NvZnQgQ29ycG9y
          YXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9MIn7RXKoU2ueiU8AI8C+
          1B09sVlAOPNzkYIm5pYSAFPZHIIOPM4du733Qo2X1Pw4GuS5+ePs02EDv6DT1nVNXEap7V7w
          0uJpWxpz6rMcjQTNKUSgZFkvHphdbserGDmCZcSnvKt1iBnqh5cUJrN/Jnak1Dg5hOOzJtUY
          +Svp0skWWlQh8peNh4Yp/vRJLOaL+AQ/fc3NlpKGDXED4tD+DEI1/9e4P92ORQp99tdLrVvw
          dnIddyN9iTXEHF2yUANLR20Hp1WImAaApoGtVE7Ygdb6v0LAMb5VDZnVU0kSMOvlpYh8XsR6
          WhSHCLQ3aaDrMiSMCOv51BS64PzN6qQVAgMBAAGjgfgwgfUwEwYDVR0lBAwwCgYIKwYBBQUH
          AwMwHQYDVR0OBBYEFDh4BXPIGzKbX5KGVa+JusaZsXSOMA4GA1UdDwEB/wQEAwIHgDAfBgNV
          HSMEGDAWgBTMHc52AHBbr/HaxE6aUUQuo0Rj8DBEBgNVHR8EPTA7MDmgN6A1hjNodHRwOi8v
          Y3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9DU1BDQS5jcmwwSAYIKwYBBQUH
          AQEEPDA6MDgGCCsGAQUFBzAChixodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRz
          L0NTUENBLmNydDANBgkqhkiG9w0BAQUFAAOCAQEAKAODqxMN8f4Rb0J22EOruMZC+iRlNK51
          sHEwjpa2g/py5P7NN+c6cJhRIA66cbTJ9NXkiugocHPV7eHCe+7xVjRagILrENdyA+oSTuzd
          DYx7RE8MYXX9bpwH3c4rWhgNObBg/dr/BKoCo9j6jqO7vcFqVDsxX+QsbsvxTSoc8h52e4av
          xofWsSrtrMwOwOSff+jP6IRyVIIYbirInpW0Gh7Bb5PbYqbBS2utye09kuOyL6t6dzlnagB7
          gp0DEN5jlUkmQt6VIsGHC9AUo1/cczJyNh7/yCnFJFJPZkjJHR2pxSY5aVBOp+zCBmwuchvx
          IdptJEiAgRVAfJ/MdDhKTw==
        </X509Certificate>
      </X509Data>
      <X509Data>
        <X509Certificate>
          MIIEEjCCAvqgAwIBAgIPAMEAizw8iBHRPvZj7N9AMA0GCSqGSIb3DQEBBAUAMHAxKzApBgNV
          BAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jv
          c29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5MB4X
          DTk3MDExMDA3MDAwMFoXDTIwMTIzMTA3MDAwMFowcDErMCkGA1UECxMiQ29weXJpZ2h0IChj
          KSAxOTk3IE1pY3Jvc29mdCBDb3JwLjEeMBwGA1UECxMVTWljcm9zb2Z0IENvcnBvcmF0aW9u
          MSEwHwYDVQQDExhNaWNyb3NvZnQgUm9vdCBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUA
          A4IBDwAwggEKAoIBAQCpAr3BcOY78k4bKJ+XeF4w6qKpjSVf+P6VTKO3/p2iID58UaKboo9g
          MmvRQmR57qx2yVTa8uuchhyPn4Rms8VremIj1h083g8BkuiWxL8tZpqaaCaZ0Dosvwy1WCbB
          RucKPjiWLKkoOajsSYNC44QPu5psVWGsgnyhYC13TOmZtGQ7mlAcMQgkFJ+p55ErGOY9mGMU
          YFgFZZ8dN1KH96fvlALGG9O/VUWziYC/OuxUlE6u/ad6bXROrxjMlgkoIQBXkGBpN7tLEgc8
          Vv9b+6RmCgim0oFWV++2O14WgXcE2va+roCV/rDNf9anGnJcPMq88AijIjCzBoXJsyB3E4Xf
          AgMBAAGjgagwgaUwgaIGA1UdAQSBmjCBl4AQW9Bw72lyniNRfhSyTY7/y6FyMHAxKzApBgNV
          BAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jv
          c29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5gg8A
          wQCLPDyIEdE+9mPs30AwDQYJKoZIhvcNAQEEBQADggEBAJXoC8CN85cYNe24ASTYdxHzXGAy
          n54Lyz4FkYiPyTrmIfLwV5MstaBHyGLv/NfMOztaqTZUaf4kbT/JzKreBXzdMY09nxBwarv+
          Ek8YacD80EPjEVogT+pie6+qGcgrNyUtvmWhEoolD2Oj91Qc+SHJ1hXzUqxuQzIH/YIX+OVn
          bA1R9r3xUse958Qw/CAxCYgdlSkaTdUdAqXxgOADtFv0sd3IV+5lScdSVLa0AygS/5DW8AiP
          friXxas3LOR65Kh343agANBqP8HSNorgQRKoNWobats14dQcBOSoRQTIWjM4bk0cDWK3CqKM
          09VUP0bNHFWmcNsSOoeTdZ+n0qA=
        </X509Certificate>
      </X509Data>
      <X509Data>
        <X509Certificate>
          MIIEYDCCA0ygAwIBAgIKLqsR3FD/XJ3LwDAJBgUrDgMCHQUAMHAxKzApBgNVBAsTIkNvcHly
          aWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jw
          b3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5MB4XDTA3MDgyMjIy
          MzEwMloXDTEyMDgyNTA3MDAwMFoweTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0
          b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEj
          MCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2lnbmluZyBQQ0EwggEiMA0GCSqGSIb3DQEBAQUA
          A4IBDwAwggEKAoIBAQC3eX3WXbNFOag0rDHa+SU1SXfA+x+ex0Vx79FG6NSMw2tMUmL0mQLD
          TdhJbC8kPmW/ziO3C0i3f3XdRb2qjw5QxSUr8qDnDSMf0UEk+mKZzxlFpZNKH5nNsy8iw0ot
          fG/ZFR47jDkQOd29KfRmOy0BMv/+J0imtWwBh5z7urJjf4L5XKCBhIWOsPK4lKPPOKZQhRcn
          h07dMPYAPfTG+T2BvobtbDmnLjT2tC6vCn1ikXhmnJhzDYav8sTzILlPEo1jyyzZMkUZ7rtK
          ljtQUxjOZlF5qq2HyFY+n4JQiG4FsTXBeyS9UmY9mU7MK34zboRHBtGe0EqGAm6GAKTAh99T
          AgMBAAGjgfowgfcwEwYDVR0lBAwwCgYIKwYBBQUHAwMwgaIGA1UdAQSBmjCBl4AQW9Bw72ly
          niNRfhSyTY7/y6FyMHAxKzApBgNVBAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQg
          Q29ycC4xHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9z
          b2Z0IFJvb3QgQXV0aG9yaXR5gg8AwQCLPDyIEdE+9mPs30AwDwYDVR0TAQH/BAUwAwEB/zAd
          BgNVHQ4EFgQUzB3OdgBwW6/x2sROmlFELqNEY/AwCwYDVR0PBAQDAgGGMAkGBSsOAwIdBQAD
          ggEBAHurrn5KJvLOvE50olgndCp1s4b9q0yUeABN6crrGNxpxQ6ifPMCQ8bKh8z4U8zCn71W
          b/BjRKlEAO6WyJrVHLgLnxkNlNfaHq0pfe/tpnOsj945jj2Yarw4bdKIryP93+nWaQmRiL3+
          4QC7NPP3fPkQEi4F6ymWk0JrKHG3OI/gBw3JXWjNvYBBa2aou7e7jjTK8gMQfHr10uBC33v+
          4eGs/vbf1Q2zcNaS40+2OKJ8LdQ92zQLYjcCn4FqI4n2XGOPsFq7OddgjFWEGjP1O5igggyi
          X4uzLLehpcur2iC2vzAZhSAUDSq8UvRB4F4w45IoaYfBcOLzp6vOgEJydg4=
        </X509Certificate>
      </X509Data>
    </KeyInfo><Object id="ts-countersig"><X509Data><X509Certificate>MIIEqjCCA5KgAwIBAgIKYQWiMAAAAAAACDANBgkqhkiG9w0BAQUFADB5MQswCQYDVQQGEwJVUzET
MBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0
IENvcnBvcmF0aW9uMSMwIQYDVQQDExpNaWNyb3NvZnQgVGltZXN0YW1waW5nIFBDQTAeFw0wODA3
MjUxOTAxMTVaFw0xMzA3MjUxOTExMTVaMIGzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGlu
Z3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMQ0w
CwYDVQQLEwRNT1BSMScwJQYDVQQLEx5uQ2lwaGVyIERTRSBFU046ODVEMy0zMDVDLTVCQ0YxJTAj
BgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKAoIBAQDwBC2ylsAagWclsSZisxNLzjC6wBI4/IFlNAfENrIkaPYHBMAHl/S38XseYixG
2UukUTS302ztWju0g6FHPREILjVrRebCPIwCZgKpGGnrSu0nLO48d1uk1HCZS1eEENCvLfiJHebq
KbTnz54GYqdyVMI7xs8/uOGwWBBs5aXXw8J1N730heGB6CjYG/HyrvGCo9bXA6KfFYT7Pfqr4bYy
yKACZPPm/xomcQhTihUC8oMndkmCcafvrTJ4xtdsFk8iZZdiTUYv/yOvheymcL0Dy9rYMgXFK5BA
tp7VLIZst8sTMn2Nxn6uFy8y/Ga7HbBFVfit+i1ng2cpk4TSWqEjAgMBAAGjgfgwgfUwHQYDVR0O
BBYEFOiX9vfvjPHmaeNZaE73mIp63ZsuMB8GA1UdIwQYMBaAFG/oTj+XuTSrS4aPvJzqrDtBQ8bQ
MEQGA1UdHwQ9MDswOaA3oDWGM2h0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1
Y3RzL3RzcGNhLmNybDBIBggrBgEFBQcBAQQ8MDowOAYIKwYBBQUHMAKGLGh0dHA6Ly93d3cubWlj
cm9zb2Z0LmNvbS9wa2kvY2VydHMvdHNwY2EuY3J0MBMGA1UdJQQMMAoGCCsGAQUFBwMIMA4GA1Ud
DwEB/wQEAwIGwDANBgkqhkiG9w0BAQUFAAOCAQEADT93X5E8vqU1pNsFBYQfVvLvmabHCI0vs80/
cdWGfHcf3esXsr184/mZ8gpFSK0Uu2ks8j5nYlTy7n8nEZI57M7Zh06I92BHI3snFUAIn78NMQSC
2DW2DJwA04uqeGHFtYhBnT423FikJ5s62r0GXRSmsg9MwY48i/Jimfhm7dXzHCiwMtvKMQm8+yJo
Rkz603Mi5ymOIgD7Vr8GroGgFbo0+SiOH0piBaGJ9YFH6Q2RCNdYO48eawlpqcBIfFWCP18AOEOc
Bsw/2C+/T3MJPf26XvTH7DfCZGGgTdQ9cMxbsBOBwdSjMRq9ZNaW0no/KltGUwk8zQP5P1kAzIlT
YQ==</X509Certificate></X509Data><X509Data><X509Certificate>MIIEnTCCA4WgAwIBAgIQaguZT8AAJasR20UfWHpnojANBgkqhkiG9w0BAQUFADBwMSswKQYDVQQL
EyJDb3B5cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0IENvcnAuMR4wHAYDVQQLExVNaWNyb3NvZnQg
Q29ycG9yYXRpb24xITAfBgNVBAMTGE1pY3Jvc29mdCBSb290IEF1dGhvcml0eTAeFw0wNjA5MTYw
MTA0NDdaFw0xOTA5MTUwNzAwMDBaMHkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9u
MRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xIzAhBgNV
BAMTGk1pY3Jvc29mdCBUaW1lc3RhbXBpbmcgUENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEA3Ddu+6/IQkpxGMjOSD5TwPqrFLosMrsST1LIg+0+M9lJMZIotpFk4B9QhLrCS9F/Bfjv
db6Lx6jVrmlwZngnZui2t++Fuc3uqv0SpAtZIikvz0DZVgQbdrVtZG1KVNvd8d6/n4PHgN9/TAI3
lPXAnghWHmhHzdnAdlwvfbYlBLRWW2ocY/+AfDzu1QQlTTl3dAddwlzYhjcsdckO6h45CXx2/p1s
bnrg7D6Pl55xDl8qTxhiYDKe0oNOKyJcaEWL3i+EEFCy+bUajWzuJZsT+MsQ14UO9IJ2czbGlXqi
zGAG7AWwhjO3+JRbhEGEWIWUbrAfLEjMb5xD4GrofyaOawIDAQABo4IBKDCCASQwEwYDVR0lBAww
CgYIKwYBBQUHAwgwgaIGA1UdAQSBmjCBl4AQW9Bw72lyniNRfhSyTY7/y6FyMHAxKzApBgNVBAsT
IkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jvc29mdCBD
b3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5gg8AwQCLPDyIEdE+
9mPs30AwEAYJKwYBBAGCNxUBBAMCAQAwHQYDVR0OBBYEFG/oTj+XuTSrS4aPvJzqrDtBQ8bQMBkG
CSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsGA1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MA0G
CSqGSIb3DQEBBQUAA4IBAQCUTRExwnxQuxGOoWEHAQ6McEWN73NUvT8JBS3/uFFThRztOZG3o1YL
3oy2OxvR+6ynybexUSEbbwhpfmsDoiJG7Wy0bXwiuEbThPOND74HijbB637pcF1Fn5LSzM7djsDh
vyrNfOzJrjLVh7nLY8Q20Rghv3beO5qzG3OeIYjYtLQSVIz0nMJlSpooJpxgig87xxNleEi7z62D
Ok+wYljeMOnpOR3jifLaOYH5EyGMZIBjBgSW8poCQy97Roi6/wLZZflK3toDdJOzBW4MzJ3cKGF8
SPEXnBEhOAIch6wGxZYyuOVAxlM9vamJ3uhmN430IpaczLB3VFE61nJEsiP2</X509Certificate></X509Data><CounterSignature xmlns="http://schemas.microsoft.com/xmldsig/timestamp/2003" ts-format="cms-timestamp-message">MIIGyQYJKoZIhvcNAQcCoIIGujCCBrYCAQMxCTAHBgUrDgMCGjCCARMGCSqGSIb3DQEHAaCCAQQE
ggEAJ50AnHTLwCm1exlue6kYupLRmoZYua7YwiNOrPJGE5mOkoWhI83gkoYaIwKQ7Bg/vq0SK8uF
N/7gtcvgDLh85tksEVCYipBJvZ23d2DD2VOBRXelmhQfdD1uIV5HDshXM31rq+Cm19mFNkdKeggZ
cihO5dlNAvrVMB3GCmr9VYchnQ47LdmF/Bruy1jCrOOHClECj+93MxA4yV2Kt4FtiGgaDVWTopRv
mOl8wlALe53Y0rOemVu6fJQWo/sBs5qLPnz63ZOS9L2MUO5dI1rd8N76Jd7Ab+xnGi3FYBe0rrfj
Ygetr2NxDf/OicsZgLA9WH2biSugWqnwygugX81edKCCA32hggN5MIICYQIBATCB46GBuaSBtjCB
szELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAc
BgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjENMAsGA1UECxMETU9QUjEnMCUGA1UECxMebkNp
cGhlciBEU0UgRVNOOjg1RDMtMzA1Qy01QkNGMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFt
cCBTZXJ2aWNloiUKAQEwCQYFKw4DAhoFAAMVAE1vNX8OZDTal7GvxUD7b90OhaifoIHBMIG+pIG7
MIG4MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEe
MBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMQwwCgYDVQQLEwNBT0MxJzAlBgNVBAsTHm5D
aXBoZXIgTlRTIEVTTjoyMkExLTIwOEUtODdCMDErMCkGA1UEAxMiTWljcm9zb2Z0IFRpbWUgU291
cmNlIE1hc3RlciBDbG9jazANBgkqhkiG9w0BAQUFAAIFAM+xNIgwIhgPMjAxMDA2MDIxOTUwMzJa
GA8yMDEwMDYwMzE5NTAzMloweDA+BgorBgEEAYRZCgQBMTAwLjAKAgUAz7E0iAIBADAKAgEAAgIB
rgIB/zAIAgEAAgMDHaswCgIFAM+yhggCAQAwNgYKKwYBBAGEWQoEAjEoMCYwDAYKKwYBBAGEWQoD
AaAKMAgCAQACAw9CQKEKMAgCAQACAwehIDANBgkqhkiG9w0BAQUFAAOCAQEAfeQfZVj+FIsvXZmw
jCzQYReShQI+68rmirFdLYlnFCMCygDqA6ZpOYlYQbjL8xtx1ob3jMXHIFWcMCjGQaW7OtfDB+jr
ZBMyoiplqJUtMv5TQkNHIfYNULHVBsOgK3erq4MfLvFJks2S6JysNJupFvPlpbRduidlUngkwWNa
U2odd6mB4KxwqWqrsy0JINPmN4ETxcYoUtcoaHgfoOX9dvTNTdvO83zSLmHVm12r1dowwMpLSTyv
5qbvqaR3a6QCYazj+TvWrir8eapdUE8sTGNJzo3ichU4gTRubzcUdeh8DiCuwEFqTT5lwZ7pgyX8
XnPj3ILTuB4rGz3rrOLvWzGCAgwwggIIAgEBMIGHMHkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpX
YXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRp
b24xIzAhBgNVBAMTGk1pY3Jvc29mdCBUaW1lc3RhbXBpbmcgUENBAgphBaIwAAAAAAAIMAcGBSsO
AwIaoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAwNjAzMDEw
ODU1WjAjBgkqhkiG9w0BCQQxFgQU20VVWJAupXgFQARHqcT8AggiV5swDQYJKoZIhvcNAQEFBQAE
ggEApmFeIBe+DCDCVZScxqn3Q3PDz/0o+m9H3fv6g6qxi7idH+6g34TZKjSvsrL2oez893WRXL3k
ooeMhSfojb4j2M7Ljs0dmwz5dti5riGHm7A86e5UJBKvwtG5U9iNWSfjqZ6+2OjnJf0sB0GYtl65
zi4iQmTKcnBWl8459257KoZa/I9QckA4ZLLIUj9H2UUMAsbtv9sKhEvaFXXfYZVWRHDA/6kKi+xo
BuPZqwNkK3pomDg/HYoCNrG+/pzCAYLAFFt3eMErwoa3Ty7GHfTytKLLRKxwOvCnXeVTix7z3Z1w
G7KLEb2ZpSrnzKfc0grxLqTPIHiu5eSEK7fk8e7NeQ==</CounterSignature></Object></Signature></Wizard>