Advisor Proxy Setting Rule

Microsoft.IntelligencePacks.Types.HealthServiceProxyConfiguration (Rule)

Rule configuring the Health Service to use the HTTP proxy configured for the Advisor service.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryCustom
EnabledFalse
Alert GenerateFalse
RemotableFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Discovery.Scheduler Default
WA WriteAction Microsoft.IntelligencePacks.Types.HealthServiceProxyConfigurationWriteAction System.PrivilegedMonitoringAccount

Source Code:

<Rule ID="Microsoft.IntelligencePacks.Types.HealthServiceProxyConfiguration" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.HealthService" Remotable="false">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="System!System.Discovery.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Minutes">15</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.IntelligencePacks.Types.HealthServiceProxyConfigurationWriteAction" RunAs="System!System.PrivilegedMonitoringAccount">
<WebProxyAddress/>
<ProxyAuthenticationDomainName>$RunAs[Name="Advisor!Microsoft.SystemCenter.Advisor.RunAsProfile.Proxy"]/Domain$</ProxyAuthenticationDomainName>
<ProxyAuthenticationUserName>$RunAs[Name="Advisor!Microsoft.SystemCenter.Advisor.RunAsProfile.Proxy"]/UserName$</ProxyAuthenticationUserName>
<ProxyAuthenticationPassword>$RunAs[Name="Advisor!Microsoft.SystemCenter.Advisor.RunAsProfile.Proxy"]/Password$</ProxyAuthenticationPassword>
<ScriptTimeoutSeconds>120</ScriptTimeoutSeconds>
</WriteAction>
</WriteActions>
</Rule>