Unix SCX エージェント診断

Microsoft.Unix.SCX.Restart.Diagnostic (Diagnostic)

警告 :この診断を実行するのは安全ではありません。資格情報が不明なシステムに公開される場合があるため、信頼しないコンピュータに対してこの診断を実行しないでください。

Element properties:

TargetMicrosoft.Unix.Computer
MonitorMicrosoft.Unix.WSMan.Heartbeat.Monitor
RemotableTrue
Timeout300
Execute On StateError
CategoryMaintenance
Enabledfalse
AccessibilityPublic
CommentIn response to Heartbeat failure

Member Modules:

ID Module Type TypeId RunAs 
SSHCommand ProbeAction Microsoft.Unix.SSHCommand.ProbeAction Default

Source Code:

<Diagnostic ID="Microsoft.Unix.SCX.Restart.Diagnostic" Comment="In response to Heartbeat failure" Accessibility="Public" Enabled="false" Target="Microsoft.Unix.Computer" Monitor="Microsoft.Unix.WSMan.Heartbeat.Monitor" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Maintenance</Category>
<ProbeAction ID="SSHCommand" TypeID="Microsoft.Unix.SSHCommand.ProbeAction">
<Host>$Target/Property[Type="Microsoft.Unix.Computer"]/PrincipalName$</Host>
<Port>$Target/Property[Type="Microsoft.Unix.Computer"]/SSHPort$</Port>
<UserName>$RunAs[Name="Microsoft.Unix.AgentMaintenanceAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Microsoft.Unix.AgentMaintenanceAccount"]/Password$</Password>
<Command>/opt/microsoft/scx/bin/tools/scxadmin -status</Command>
<TimeoutSeconds>20</TimeoutSeconds>
</ProbeAction>
</Diagnostic>