WindowsAzurePack.Monitor.SSLCertValidationDisabled.Monitoring (UnitMonitor)

Element properties:

TargetWindowsAzurePack.Monitoring
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeWindowsAzurePack.MonitorType.CustomSingleEventLogTimer2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows Azure Pack Site SSL Certificate Validation Disabled Alert
Server SSL certificate validation 'DisableSslCertValidation' has been disabled in web.config file of the site, use PowerShell cmdlet 'Set-MgmtSvcSetting' to enable the server SSL certificate Validation. Event 105. Refer to the Event Log event description for more information.
RunAsDefault
CommentWAP Monitor Event for Admin API

Source Code:

<UnitMonitor ID="WindowsAzurePack.Monitor.SSLCertValidationDisabled.Monitoring" Accessibility="Public" Enabled="true" Target="WindowsAzurePack.Monitoring" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="WindowsAzurePack.MonitorType.CustomSingleEventLogTimer2StateMonitorType" ConfirmDelivery="false" Comment="WAP Monitor Event for Admin API">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="WindowsAzurePack.Monitor.SSLCertValidationDisabled.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ErrorEventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<!-- Computer name for the event. We will use a variable to get the target computer name. -->
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<!-- Name of the log containing the event. -->
<LogName>Microsoft-WindowsAzurePack-MgmtSvc-Monitoring/Operational</LogName>
<!-- Expression for the event -->
<Expression>
<And>
<!-- Expression for the event number -->
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">165</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<!-- Expression for the event source -->
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-WindowsAzurePack-MgmtSvc-Monitoring</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
<TimerWaitInSeconds>10800</TimerWaitInSeconds>
</Configuration>
</UnitMonitor>