Type | WriteActionModuleType |
Isolation | Any |
Accessibility | Public |
RunAs | Default |
InputType | System.BaseData |
OutputType | System.BaseData |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
InvokeAction | WriteAction | Microsoft.Unix.WSMan.Invoke.VarPriv.WriteAction | Default |
InvokePriv | WriteAction | Microsoft.Unix.WSMan.Invoke.VarPriv.WriteAction | Default |
ID | ParameterType | Selector | Display Name | Description |
---|---|---|---|---|
ResetOnRead | bool | $Config/ResetOnRead$ | 다음 읽기 시 다시 설정 | False로 설정할 경우 로그 파일 마지막 검색에서 현재 시간 사이의 모든 로그 파일 이벤트가 잠재적 경고에 대해 처리되지 않습니다. True로 설정할 경우 로그 파일 마지막 검색에서 로그 파일의 다음 모니터링 검색 사이의 모든 로그 파일 이벤트가 잠재적 경고에 대해 처리되지 않습니다. 유지 보수 모드 종료 전에 이 작업을 즉시 실행하는 경우 이 값을 False로 설정하세요. 유지 보수 모드 시작 시 이 작업을 실행하는 경우 이 값을 True로 설정하세요. |
<WriteActionModuleType ID="Microsoft.Unix.ResetLogFileMonitoring.WriteAction" Accessibility="Public">
<Configuration>
<xsd:element name="TargetSystem" type="xsd:string"/>
<xsd:element name="ResetOnRead" type="xsd:boolean" minOccurs="0" default="false"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ResetOnRead" ParameterType="bool" Selector="$Config/ResetOnRead$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<WriteAction ID="InvokePriv" TypeID="Microsoft.Unix.WSMan.Invoke.VarPriv.WriteAction">
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<UserName>$RunAs[Name="Microsoft.Unix.PrivilegedAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Microsoft.Unix.PrivilegedAccount"]/Password$</Password>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
<Selector/>
<InvokeAction>ExecuteCommand</InvokeAction>
<Input><p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"><p:command>/opt/microsoft/scx/bin/scxlogfilereader -g $Config/ResetOnRead$ </p:command><p:timeout>60</p:timeout></p:ExecuteCommand_INPUT></Input>
<TimeOutInMS>600000</TimeOutInMS>
</WriteAction>
<WriteAction ID="InvokeAction" TypeID="Microsoft.Unix.WSMan.Invoke.VarPriv.WriteAction">
<TargetSystem>$Config/TargetSystem$</TargetSystem>
<UserName>$RunAs[Name="Microsoft.Unix.ActionAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Microsoft.Unix.ActionAccount"]/Password$</Password>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
<Selector/>
<InvokeAction>ExecuteCommand</InvokeAction>
<Input><p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"><p:command>/opt/microsoft/scx/bin/scxlogfilereader -g $Config/ResetOnRead$ </p:command><p:timeout>60</p:timeout></p:ExecuteCommand_INPUT></Input>
<TimeOutInMS>600000</TimeOutInMS>
</WriteAction>
</MemberModules>
<Composition>
<Node ID="InvokePriv">
<Node ID="InvokeAction"/>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.BaseData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>