Base Page SSL Certificate CN Invalid

SLDSampleWebApplication.BasePage.SSLCertificateCNInvalid (UnitMonitorType)

This monitor detects if the CN for the base pages SSL certificate is valid.

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DS1 DataSource SLDSampleWebApplication.UrlDataSource Default
OnDemandReset ProbeAction System.PassThroughProbe Default
CDCertificateCNInvalid ConditionDetection Microsoft.SystemCenter.WebApplication.Boolean.CriteriaMatch Default
CDCertificateCNOK ConditionDetection Microsoft.SystemCenter.WebApplication.Boolean.CriteriaDoesNotMatch Default

Source Code:

<UnitMonitorType ID="SLDSampleWebApplication.BasePage.SSLCertificateCNInvalid" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="CertificateCNInvalid" NoDetection="false"/>
<MonitorTypeState ID="CertificateCNOK" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<element xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" name="RequestID" type="xsd:unsignedInt"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS1" TypeID="SLDSampleWebApplication.UrlDataSource"/>
<ProbeAction ID="OnDemandReset" TypeID="System!System.PassThroughProbe"/>
<ConditionDetection ID="CDCertificateCNInvalid" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.Boolean.CriteriaMatch">
<DataItemEvaluationQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/CertificateCNInvalid</DataItemEvaluationQuery>
</ConditionDetection>
<ConditionDetection ID="CDCertificateCNOK" TypeID="MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.Boolean.CriteriaDoesNotMatch">
<DataItemEvaluationQuery>RequestResults/RequestResult[@Id="$Config/RequestID$"]/BasePageData/CertificateCNInvalid</DataItemEvaluationQuery>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="CertificateCNInvalid">
<Node ID="CDCertificateCNInvalid">
<Node ID="DS1"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="CertificateCNOK">
<Node ID="CDCertificateCNOK">
<Node ID="DS1"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="CertificateCNOK">
<Node ID="OnDemandReset"/>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>