UNIX/Linux Shell Command Data Source

Microsoft.Unix.ShellCommand.Invoke.DataSource (DataSourceModuleType)

UNIX/Linux Shell Command Data Source for WSMan invoke

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsDefault
OutputTypeMicrosoft.SystemCenter.WSManagement.WSManData

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Scheduler Default
Invoke ProbeAction Microsoft.Unix.ShellCommand.ProbeAction Default
Filter ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Intervalint$Config/Interval$IntervalInterval in seconds.
ShellCommandstring$Config/ShellCommand$
TimeOutint$Config/TimeOut$
TimeOutInMSstring$Config/TimeOutInMS$

Source Code:

<DataSourceModuleType ID="Microsoft.Unix.ShellCommand.Invoke.DataSource" Accessibility="Public" Batching="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="Interval" type="xsd:unsignedInt" minOccurs="1"/>
<xsd:element name="SyncTime" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="TargetSystem" type="xsd:string" minOccurs="1"/>
<xsd:element name="UserName" type="xsd:string" minOccurs="1"/>
<xsd:element name="Password" type="xsd:string" minOccurs="1"/>
<xsd:element name="ShellCommand" type="xsd:string" minOccurs="1"/>
<xsd:element name="TimeOut" type="xsd:unsignedInt" minOccurs="1"/>
<xsd:element name="TimeOutInMS" type="xsd:unsignedInt" minOccurs="1"/>
<xsd:element name="FilterExpression" type="ExpressionType" maxOccurs="1" minOccurs="0"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Interval" Selector="$Config/Interval$" ParameterType="int"/>
<OverrideableParameter ID="ShellCommand" Selector="$Config/ShellCommand$" ParameterType="string"/>
<OverrideableParameter ID="TimeOut" Selector="$Config/TimeOut$" ParameterType="int"/>
<OverrideableParameter ID="TimeOutInMS" Selector="$Config/TimeOutInMS$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="Scheduler" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval>$Config/Interval$</Interval>
<SyncTime>$Config/SyncTime$</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
<ProbeAction ID="Invoke" TypeID="Microsoft.Unix.ShellCommand.ProbeAction">
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<UserName>$Config/UserName$</UserName>
<Password>$Config/Password$</Password>
<ShellCommand>$Config/ShellCommand$</ShellCommand>
<TimeOut>$Config/TimeOut$</TimeOut>
<TimeOutInMS>$Config/TimeOutInMS$</TimeOutInMS>
</ProbeAction>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>$Config/FilterExpression$</Expression>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Filter">
<Node ID="Invoke">
<Node ID="Scheduler"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>WSM!Microsoft.SystemCenter.WSManagement.WSManData</OutputType>
</DataSourceModuleType>