Troubleshooting Automate
If Automate is not performing as expected, you might need to troubleshoot issues or change settings. For more information about specific settings, see Automate requirements.
Troubleshoot playbook import errors
If importing a playbook JSON file returns an error, ensure that:
-
the target environment has the same prerequisite solutions and content as the environment from which the playbook was exported.
-
your user account is assigned the necessary roles and permissions to view the playbook and associated content.
-
the playbook import file JSON schema definition has not changed, and all expected components are defined.
Troubleshoot playbook validation timeouts
When you save, run, or schedule a playbook, or when you configure a playbook trigger, Automate validates any steps that depend on another Tanium solution, such as Deploy or Connect. If the solution's service does not respond in time, you might see the following error:
Playbook validation timed out. A service required to validate one of the steps might be unavailable. Try again.
This error is retryable and does not mean your playbook is misconfigured. Wait a few moments, then try the action again. If the error persists, Contact Tanium Support to confirm that the required solution's service is running.
Troubleshoot failed playbook runs
Playbook runs that return an error before completion generally return one of the following error types.
|
Playbook error type |
Description |
|---|---|
|
overall playbook processing |
The playbook run cannot complete any playbook steps. This generally indicates an issue with Automate starting and running a playbook, such as if an Automate service is not running, or if Automate cannot establish communications with Gateway. |
|
playbook step processing |
A specific playbook run step fails to complete. Because step functionality varies, issues can be varied, but might include invalid endpoint targeting, insufficient permissions to access package or sensor content used in a playbook, action timeouts, or other such causes. |
Identify a playbook run error type
-
From the Main menu, go to .
-
In the Playbooks section, click Playbook Runs.
-
Expand the Filters section. Then select Ended with errors from the Status field to view all failed playbook runs.
-
Select a Playbook Name to view details for a failed playbook run. The Status notes if a playbook run failed on a specific step.
-
You have the following options:
-
If the playbook run failed before starting any playbook step, Contact Tanium Support to review the Automate service logs and diagnose and remediate the root cause.
-
If the playbook run failed at a specific playbook step, see Troubleshoot Deploy Action step errors, Troubleshoot Install Patch step errors, Troubleshoot Verify Condition step errors, or Troubleshoot other playbook step failures.
-
Troubleshoot Deploy Action step errors
If a Deploy Action step returns an error, review the endpoints targeted by the step, review the action details in the action history, or reissue the action to a test endpoint in the action history.
Review endpoints targeted by a Deploy Action step
If the Deploy Action step is running, but endpoints are returning errors, review the step count for specific endpoints with a status of Error.
-
From the Main menu, go to .
-
In the Playbooks section, click Playbook Runs.
-
Expand the Filters section. Then select Ended with errors from the Status field to view all failed playbook runs.
-
Select a Playbook Name to view details for a failed playbook run.
-
Click the Deploy Action step to expand step details.
-
In the Results section, click Error. Then click View Current Results to view these endpoints.
Note: The endpoint results after the step completes reflect the action deployment status at the time of step completion. The current results reflect only the endpoints that are currently online.
Review a Deploy Action step action details
If the Deploy Action step is complete and you want to verify the action details, you can view the action history which tracks the actions started from playbook runs. You can review the details of these actions and determine if the Deploy Action step configuration aligns with the actual result.
-
From the Main menu, go to .
-
Expand the Filters section. Select the Action Name attribute and the contains operator. Then enter Automate - Deploy Action and click Apply
. All platform package actions that originate from Automate have this action name.
-
Identify the action you want to review based on Package Name, Issuer, and Start Time.
-
Select an action. Click Show Status to view the action details.
Reissue a Deploy Action step action
If the Deploy Action step is complete but did not produce the desired results, you can reissue the action on a test endpoint. Review the results to ensure that the action completes successfully and performs as expected.
-
From the Main menu, go to .
-
Expand the Filters section. Select the Action Name attribute and the contains operator. Then enter Automate - Deploy Action and click Apply
. All platform package actions that originated from Automate have this action name.
-
Identify the action you want to review based on Package Name, Issuer, and Start Time.
-
Select an action. Click Show Status to view the action details.
-
Click Reissue.
-
Select an Action Group that contains only a test endpoint or is otherwise limited to a controlled set of endpoints. Then click Show Preview to Continue.
-
If the Targeting Criteria does not contain the expected endpoints, select a different Action Group.
-
Click Reissue Action, then confirm the action.
If the action does not complete as expected, see Tanium Console User Guide: Troubleshooting Console and Interact.
Troubleshoot action-locked endpoints that show Not Applicable
If a Deploy Action step reports action-locked endpoints as Not Applicable even though the package has Ignore Action Lock selected, the package snapshot in the step might have a different action lock setting than the source package. Automate counts endpoints with a Locked action status as Not Applicable.
To resolve the issue, update the package in the step.
-
From the Main menu, go to .
-
Click a Playbook Name to open the playbook. Then click Edit.
-
In the warning banner, click Review Step N. If the banner lists more than one step, click Review the playbook and then select each step that has a warning.
-
In the step, click Update Package. Click Save.
Troubleshoot a package that is out of sync with its source
Playbook steps store their own snapshot of the package. If the source package is updated or deleted, or if the snapshot has a different action lock setting than the source package, a warning banner appears stating that the package is out of sync with its source. The step continues to use its snapshot until you take action.
-
Open the step that has the warning banner.
-
From the Playbook Details page, click Review Step N in the warning banner.
-
From a schedule or trigger with parameter overrides, click Review this step in the warning banner.
-
-
If the source package still exists, click View Source Package to review the current version of the package before you decide what action to take.
-
If a newer version of the package is available, or the banner in the step states that the package has a different action lock setting than its source package, click Update Package. Parameter values carry over automatically where the parameter name and type match the new version. Review any parameters that were removed or changed.
-
If the source package is deleted and the step lets you select the package, select a different package for the step.
Troubleshoot Install Patch step errors
If an Install Patch step returns an error, review the corresponding Patch install deployment details, including deployment errors.
-
From the Main menu, go to .
-
You have the following options:
-
If the deployment is still running, click Active.
-
If the deployment is not running, click Inactive.
-
-
Expand the Filters section. Select a deployment name containing Deployment - Tanium Automate. All Patch deployments that originate from Automate have this deployment name.
-
Expand a deployment to view the details, including the creation time. Based on the playbook start time, click the deployment Name that corresponds to the Install Patch step.
-
Review the errors in the Deployment Errors section.
Troubleshoot Verify Condition step errors
If the Verify Condition step does not return the expected results, issue the verification question within Tanium Interact as a question.
-
From the Main menu, go to .
-
In the Playbooks section, click Playbook Runs.
-
Expand the Filters section. Then select Ended with errors from the Status field to view all failed playbook runs.
-
Select a Playbook Name to view details for a failed playbook run.
The Status notes if a playbook run failed on a specific step.
-
Click the failed Verify Condition step to expand step details.
-
Copy the following question template and paste it into a plaintext editor:
Get [Meet Condition] from [Target Endpoints - Computer Groups] and from all computers with [Target Endpoints - Question Criteria]
-
Copy the Meet Condition value from the Verify Condition step and paste it into the question template, replacing [Meet Condition].
-
Copy the If any of the following targets value from the Verify Condition step and paste it into the question template, replacing [Target Endpoints - Computer Groups] with a target computer group and replacing [Target Endpoints - Question Criteria] with target question criteria. Delete any unused clause from the question template.
Note: Depending on the complexity of your Verify Condition step, you might have to further adjust the question template. -
Copy the updated question template and paste it into the quick search bar in the Console header to ask the question. Compare the actual results to your expected results and adjust your configuration as needed.
Troubleshoot other playbook step failures
If playbook runs continue to fail after following troubleshooting information on this page, Contact Tanium Support to review the Automate service logs and diagnose and remediate the root cause.
Contact Tanium Support
To contact Tanium Support for help, sign in to the Tanium Customer Community.
For more information about submitting a support case, see Case Submission Form.