URLGenie.GetCertificate.Special.MT

URLGenie.GetCertificate.Special.MT (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource URLGenie.GetCertificate.Special.PB.DS Default
PASSTHRU ProbeAction System.PassThroughProbe Default
PROBE ProbeAction URLGenie.GetCertificate.PB.PA Default
FilterCritical ConditionDetection System.ExpressionFilter Default
FilterHealthy ConditionDetection System.ExpressionFilter Default
FilterWarning ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelector
DaysToExpiryCriticaldouble$Config/DaysToExpiryCritical$
DaysToExpiryWarningdouble$Config/DaysToExpiryWarning$
IntervalSecondsint$Config/IntervalSeconds$
ProbeTimeoutSecondsint$Config/ProbeTimeoutSeconds$
TLS_Versionstring$Config/TLS_Version$
URLstring$Config/URL$
WriteToEventLogbool$Config/WriteToEventLog$

Source Code:

<UnitMonitorType ID="URLGenie.GetCertificate.Special.MT" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="CriteriaOK" NoDetection="false"/>
<MonitorTypeState ID="CriteriaError" NoDetection="false"/>
<MonitorTypeState ID="CriteriaWarning" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>URLGenie.PowerShellWebSecurityProtocol.TLS</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DaysToExpiryCritical" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="DaysToExpiryWarning" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ProbeTimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TLS_Version" type="TLS"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="URL" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="WriteToEventLog" type="xsd:boolean"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="DaysToExpiryCritical" Selector="$Config/DaysToExpiryCritical$" ParameterType="double"/>
<OverrideableParameter ID="DaysToExpiryWarning" Selector="$Config/DaysToExpiryWarning$" ParameterType="double"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="ProbeTimeoutSeconds" Selector="$Config/ProbeTimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TLS_Version" Selector="$Config/TLS_Version$" ParameterType="string"/>
<OverrideableParameter ID="URL" Selector="$Config/URL$" ParameterType="string"/>
<OverrideableParameter ID="WriteToEventLog" Selector="$Config/WriteToEventLog$" ParameterType="bool"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="URLGenie.GetCertificate.Special.PB.DS">
<DaysToExpiryCritical>$Config/DaysToExpiryCritical$</DaysToExpiryCritical>
<DaysToExpiryWarning>$Config/DaysToExpiryWarning$</DaysToExpiryWarning>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<ProbeTimeoutSeconds>$Config/ProbeTimeoutSeconds$</ProbeTimeoutSeconds>
<TLS_Version>$Config/TLS_Version$</TLS_Version>
<URL>$Config/URL$</URL>
<WriteToEventLog>$Config/WriteToEventLog$</WriteToEventLog>
</DataSource>
<ProbeAction ID="PROBE" TypeID="URLGenie.GetCertificate.PB.PA">
<DaysToExpiryCritical>$Config/DaysToExpiryCritical$</DaysToExpiryCritical>
<DaysToExpiryWarning>$Config/DaysToExpiryWarning$</DaysToExpiryWarning>
<ProbeTimeoutSeconds>$Config/ProbeTimeoutSeconds$</ProbeTimeoutSeconds>
<TLS_Version>$Config/TLS_Version$</TLS_Version>
<URL>$Config/URL$</URL>
<WriteToEventLog>$Config/WriteToEventLog$</WriteToEventLog>
</ProbeAction>
<ProbeAction ID="PASSTHRU" TypeID="System!System.PassThroughProbe"/>
<ConditionDetection ID="FilterHealthy" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Status']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">HEALTHY</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterWarning" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Status']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">WARNING</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterCritical" TypeID="System!System.ExpressionFilter">
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Status']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">CRITICAL</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Status']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">WARNING</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Status']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">HEALTHY</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="CriteriaOK">
<Node ID="FilterHealthy">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="CriteriaWarning">
<Node ID="FilterWarning">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="CriteriaError">
<Node ID="FilterCritical">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="CriteriaOK">
<Node ID="FilterHealthy">
<Node ID="PROBE">
<Node ID="PASSTHRU"/>
</Node>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="CriteriaWarning">
<Node ID="FilterWarning">
<Node ID="PROBE">
<Node ID="PASSTHRU"/>
</Node>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="CriteriaError">
<Node ID="FilterCritical">
<Node ID="PROBE">
<Node ID="PASSTHRU"/>
</Node>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>