Typ monitorování přístupu pro UNIX/Linux
Microsoft.Unix.WSMan.Access.MonitorType (UnitMonitorType)
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="Microsoft.Unix.WSMan.Access.MonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Available"/>
<MonitorTypeState ID="NotAvailable"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="Interval" type="xsd:int"/>
<xsd:element name="SyncTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" ParameterType="int" Selector="$Config/Interval$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Unix.WSMan.TimedEnumerator">
<TargetSystem>$Target/Property[Type="Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_Agent?__cimnamespace=root/scx</Uri>
<Filter/>
<OutputErrorIfAny>true</OutputErrorIfAny>
<SplitItems>false</SplitItems>
<Interval>$Config/Interval$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</DataSource>
<ProbeAction ID="EnableMonitoring" TypeID="Microsoft.Unix.EnableInstanceMonitoringOverrideAction">
<ManagedEntityId>$Target/Id$</ManagedEntityId>
<Value>true</Value>
</ProbeAction>
<ProbeAction ID="DisableMonitoring" TypeID="Microsoft.Unix.EnableInstanceMonitoringOverrideAction">
<ManagedEntityId>$Target/Id$</ManagedEntityId>
<Value>false</Value>
</ProbeAction>
<ConditionDetection ID="ErrorFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">//ErrorCode</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>0x80070005</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="SuccessFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<Not>
<Expression>
<Exists>
<ValueExpression>
<XPathQuery Type="String">//ErrorCode</XPathQuery>
</ValueExpression>
</Exists>
</Expression>
</Not>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Available">
<Node ID="EnableMonitoring">
<Node ID="SuccessFilter">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="NotAvailable">
<Node ID="DisableMonitoring">
<Node ID="ErrorFilter">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>