UNIX/Linux SCX Agent Diagnostic
Microsoft.Unix.SCX.Restart.Diagnostic (Diagnostic)
WARNING: Running this diagnostic is unsecure, do not run this against machines you do not trust as it may expose credentials to an unknown system.
Element properties:
Member Modules:
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>
<IgnoreElevation>false</IgnoreElevation>
</ProbeAction>
</Diagnostic>