Skip to content

RemoteExecAssetStatus

Provides detail on a single target of a remote execution task.

Instance Methods

getAsset()

Returns the asset upon which the command was run

getAssetId()

Returns the asset id of the asset upon which the command was run. It also may return an asset name if a variable expansion took place.

getRetries()

The number of retries that took place

getCondition()

The exit condition. One of the following values:

ValueDescription
0The inital state (Nothing has started yet)
1Running
2Exited normally
3Terminated with a signal
4Terminated with a core dump
5Unable to create logfile
6The user was not valid or the principal did not contain a user valid for this host.
7The user/password were not valid
8The fork() or CreateProcess() system call failed
9The process cannot start because of some kind of failure. See the agent log.
10The process cannot start because of some kind of failure. See the agent log.
11Could not start an interactive process
12Waiting of authenticaion
13There was a failure in the win32 subsystem. See the agent log.

getCondition()

A textual name corresponding to the exit condition.

getTaskId()

The id of the task.

getCommand()

The expanded command to execute

getTaskLog()

The task log for this command

isWaitForProcess()

Returns true if situate will wait for the process to complete.

isWaitForProcess()

Returns the id of the child process

getTimeStarted()

Returns the start time of the process

getTimeExited()

Returns the time the process exited

getExitStatus()

If the process exited normally (getCondition() returned 2), then this is the exit status of the child process.

getExitSignal()

If the process exited with a signal, this returns the specific signal.

getCannotStartReason()

If the process could not be started and getCondition() returned 9, then this string will provide more detail. of the child process.

Workload Automation and Orchestration