Report Manager accessible monitor type for instance of Reporting Services
RunAs | Microsoft.SQLServer.Core.RunAs.Monitoring |
Accessibility | Internal |
Support Monitor Recalculate | False |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
Trigger | DataSource | System.Scheduler | Default |
Probe | ProbeAction | Microsoft.SQLServer.ReportingServices.Windows.ProbeAction.ReportManagerAccessible | Default |
DirectoryNotEmpty | ConditionDetection | System.ExpressionFilter | Default |
IsError | ConditionDetection | System.ExpressionFilter.IntervalSuppression | Default |
IsSuccessful | ConditionDetection | System.ExpressionFilter | Default |
ID | ParameterType | Selector | Display Name | Description |
---|---|---|---|---|
IgnoredStatusCodes | string | $Config/IgnoredStatusCodes$ | Ignored status codes checkup | This parameter allows checking if responses from the Report Manager with admittedly invalid status codes should be passed as valid ones. You can set a list of valid codes divided by semicolons. |
SampleCount | int | $Config/SampleCount$ | Number of samples | Indicates, how many times a measured value should breach a threshold before the state is changed. |
TimeoutSeconds | int | $Config/TimeoutSeconds$ | Timeout (seconds) | Specifies the time the workflow is allowed to run before being closed and marked as failed. |
IntervalSeconds | int | $Config/IntervalSeconds$ | Interval (seconds) | The recurring interval of time in seconds in which to run the workflow. |
SyncTime | string | $Config/SyncTime$ | Synchronization Time | The synchronization time specified by using a 24-hour format. May be omitted. |
UrlPosition | int | $Config/UrlPosition$ | URL position | Indicates which URL to use to monitor availability of Report Manager. The URLs are taken from the SSRS configuration manager in the exact order, in which they are displayed in both the SSRS configuration manager and in the Reporting Services instance properties. |
<UnitMonitorType ID="Microsoft.SQLServer.ReportingServices.Windows.MonitorType.Instance.ReportManagerAccessible" Accessibility="Internal" RunAs="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.Monitoring">
<MonitorTypeStates>
<MonitorTypeState ID="Success" NoDetection="false"/>
<MonitorTypeState ID="Error" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ServiceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IgnoredStatusCodes" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceVersion" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SampleCount" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="VirtualDirectory" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ConfigurationFile" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="UrlPosition" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IgnoredStatusCodes" ParameterType="string" Selector="$Config/IgnoredStatusCodes$"/>
<OverrideableParameter ID="SampleCount" ParameterType="int" Selector="$Config/SampleCount$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="UrlPosition" ParameterType="int" Selector="$Config/UrlPosition$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="Trigger" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/IntervalSeconds$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.SQLServer.ReportingServices.Windows.ProbeAction.ReportManagerAccessible">
<ServiceName>$Config/ServiceName$</ServiceName>
<IgnoredStatusCodes>$Config/IgnoredStatusCodes$</IgnoredStatusCodes>
<InstanceVersion>$Config/InstanceVersion$</InstanceVersion>
<VirtualDirectory>$Config/VirtualDirectory$</VirtualDirectory>
<ConfigurationFile>$Config/ConfigurationFile$</ConfigurationFile>
<UrlPosition>$Config/UrlPosition$</UrlPosition>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<Publisher>SQLReportingServicesMonitoringWindows</Publisher>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</ProbeAction>
<ConditionDetection ID="DirectoryNotEmpty" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<Value Type="String">$Config/VirtualDirectory$</Value>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>?*</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="IsSuccessful" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Status']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Success</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="IsError" TypeID="System!System.ExpressionFilter.IntervalSuppression">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Status']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Error</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<SuppressionSettings>
<MatchCount>$Config/SampleCount$</MatchCount>
<SampleCount>$Config/SampleCount$</SampleCount>
</SuppressionSettings>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="IsSuccessful">
<Node ID="Probe">
<Node ID="DirectoryNotEmpty">
<Node ID="Trigger"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="IsError">
<Node ID="Probe">
<Node ID="DirectoryNotEmpty">
<Node ID="Trigger"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>