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.

  1. From the Automate Overview page, click Help help, and then go to the Troubleshooting tab.
  2. Click Download Support Bundle. A tanium-Automate-support-[timestamp].zip file downloads to the local download directory.
  3. 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 failed playbook runs

Playbook runs that return an error before completion generally return one of the following error types.

Table 1. Playbook 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

  1. From the Main menu, go to Automate > Overview.
  2. In the Playbooks section, click Playbook Runs.
  3. Expand the Filters section. Then select Ended with errors from the Status field to view all failed playbook runs.
  4. Select a Playbook Name to view details for a failed playbook run. The Status notes if a playbook run failed on a specific step.
  5. You have the following options:

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.

Note: Before troubleshooting, see Action best practices. For more information about action statuses, see View status for simple actions.

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.

  1. From the Main menu, go to Automate > Overview.

  2. In the Playbooks section, click Playbook Runs.

  3. Expand the Filters section. Then select Ended with errors from the Status field to view all failed playbook runs.

  4. Select a Playbook Name to view details for a failed playbook run.

  5. Click the Deploy Action step to expand step details.

  6. 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.

  1. From the Main menu, go to Administration > Actions > Action History.

  2. Expand the Filters section. Select the Action Name attribute and the contains operator. Then enter Automate - Deploy Action and click Apply check. All platform package actions that originate from Automate have this action name.

  3. Identify the action you want to review based on Package Name, Issuer, and Start Time.

  4. 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.

  1. From the Main menu, go to Administration > Actions > Action History.
  2. Expand the Filters section. Select the Action Name attribute and the contains operator. Then enter Automate - Deploy Action and click Apply check. All platform package actions that originated from Automate have this action name.
  3. Identify the action you want to review based on Package Name, Issuer, and Start Time.
  4. Select an action. Click Show Status to view the action details.
  5. Click Reissue.
  6. 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.
  7. If the Targeting Criteria does not contain the expected endpoints, select a different Action Group.
  8. Click Reissue Action, then confirm the action.

    If the action does not complete as expected, see Troubleshooting Console and Interact.

Troubleshoot Install Patch step errors

If an Install Patch step returns an error, review the corresponding Patch install deployment details, including deployment errors.

Note: For more information about troubleshooting Patch install deployments, see Reference: Common Patch errors.
  1. From the Main menu, go to Modules > Patch > Deployments.
  2. You have the following options:
    • If the deployment is still running, click Active.

    • If the deployment is not running, click Inactive.

  3. Expand the Filters section. Select a deployment name containing Deployment - Tanium Automate. All Patch deployments that originate from Automate have this deployment name.
  4. 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.
  5. 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.

Note: If you receive specific messages that indicate a problem with returning question results, see Troubleshoot Interact issues.
  1. From the Main menu, go to Automate > Overview.
  2. In the Playbooks section, click Playbook Runs.
  3. Expand the Filters section. Then select Ended with errors from the Status field to view all failed playbook runs.
  4. Select a Playbook Name to view details for a failed playbook run.

    The Status notes if a playbook run failed on a specific step.

  5. Click the failed Verify Condition step to expand step details.
  6. 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]

  7. Copy the Meet Condition value from the Verify Condition step and paste it into the question template, replacing [Meet Condition].
  8. 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.
  9. 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.

Important: Consult with Contact Tanium Support before you uninstall or reinstall Automate.

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

  1. Sign in to Tanium Console as a user with the Administrator role.

  2. From the Main menu, go to Administration > Configuration > Solutions.

  3. Under Automate, click Uninstall.

  4. Review the summary and click Uninstall.

  5. When prompted to confirm, enter your password and click OK.

If you later install Automate, the previous playbooks are restored.

Note: In an Active-Active deployment, the Automate workbench and Automate menu remain on the cluster member on which the uninstallation was not run. The Automate workbench must be manually removed from that instance. Contact Contact Tanium Support for assistance. For more information about Active-Active deployments, see Installing Tanium Servers in an active-active HA cluster.

Uninstall Automate so you start fresh when you reinstall

  1. Uninstall Automate as described in the previous section.

  2. Manually delete the following:

    • Automate files at <Tanium Module Server>\services\automate-files\