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.
Collect logs
The information is saved as a ZIP file that you can download with your browser. The ZIP file is also known as a support bundle.
-
From the Automate Overview page, click Help
, and then go to the Troubleshooting tab.
-
Click Download Support Bundle. A tanium-Automate-support-[timestamp].zip file downloads to the local download directory.
-
Contact Tanium Support to determine the best option to send the ZIP file. For more information, see Contact Tanium Support.
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 Troubleshooting Console and Interact.
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, a warning banner appears stating 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, 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.
Uninstall Automate
When you uninstall Automate, any collected data is saved by default so that you can restore the data if you later decide to reinstall Automate. In some cases, you might want to start "clean" and not restore the data. To do this, you must manually uninstall some files.
What happens when you uninstall Automate?
When you uninstall Automate, Tanium Console removes:
-
Automate workbench
To support data restoration, the uninstallation procedure does not remove:
-
Automation Engine Service
-
Collected data at <Tanium Module Server>\services\automate-files\
-
Collected data at <Tanium Module Server>\services\automation-files\
-
Playbook configurations
-
Playbook run logs
Uninstall Automate so data is restored when you reinstall
-
Sign in to Tanium Console as a user with the Administrator role.
-
From the Main menu, go to .
-
Under Automate, click Uninstall.
-
Review the summary and click Uninstall.
-
When prompted to confirm, enter your password and click OK.
If you later install Automate, the previous playbooks are restored.
Uninstall Automate so you start fresh when you reinstall
-
Uninstall Automate as described in the previous section.
-
Manually delete the following:
-
Automate files at <Tanium Module Server>\services\automate-files\
-
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.