Troubleshooting Discover

If Discover is not performing as expected, you might need to troubleshoot issues or change some settings. To send information to Tanium for troubleshooting, collect logs and other relevant information.

Collect logs

The information is saved as ZIP files that you can download with your browser. The zip files are also known as a support bundle.

To download logs, complete the following steps:

  1. From the Discover Overview page, click Help help.
  2. From the Troubleshooting tab, select the solutions for which to gather troubleshooting packages and click Create packages.

    By default, all solutions are selected.

  3. When the packages are ready, click Download Support Bundle. ZIP files of all the selected packages download to the local download directory.
    Tip: Some browsers might block multiple downloads by default. Make sure to configure your browser to permit multiple downloads from Tanium Console.
  4. Contact Tanium Support to determine the best option to send the ZIP file. For more information, see Contact Tanium Support.

Discover maintains logging information in the discover.log file in the <Module Server>/services/discover-service-files/discover.log directory.

Collect troubleshooting information from endpoints

You can use Client Management to directly connect to an endpoint and collect a bundle of logs and other artifacts, sometimes referred to as an Endpoint Must Gather (EMG).

  1. From the Main menu, go to Shared Services > Client Management.
  2. From the Client Management menu, click Client Health.
  3. In the Single Endpoint View search box, enter all or part of an IP address or a computer name.

    Matching results appear after the search completes.

  4. From the search results, click the computer name.

    Client Management opens the Endpoint Details page in Single Endpoint View (SEV).

  5. Click the Client Health tab and, if the endpoint is not yet Connected, click Direct Connect.
  6. In the Available Steps grid, select the domains (types of logs and artifacts) for which you want to gather troubleshooting information.

    For Patch information, select the Core and Patch domains.

    For Comply information, select the Comply domain and then select Comply Database, Comply Extension Data, and Comply Intel.

    For Endpoint Management for Operational Technology entity provider information, select the Core domain and then select Tanium Client Logs. Select the Entity domain and then select Config Data, Entity Log, and Entity Provider Metadata.

  7. Click Gather from Endpoint.

    The selected logs and artifacts are gathered from the endpoint. The package appears in the Must Gathers section, and the name of the package corresponds with its time stamp.

  8. When Finished appears in the Run State column, select the package and click Download to download a ZIP file that contains the troubleshooting information.

    For more information about collecting troubleshooting information in Single Endpoint View, see Collect troubleshooting information.

    For more information about how to connect directly to endpoints, see Tanium™ Discover.

    For more information about Client health features in Client Management, see Monitor the Client health overview in Discover and Access detailed Client health and troubleshooting information on an endpoint.

Identify and resolve issues with Client Extensions

Use the following steps to troubleshoot issues with the Client Extensions that Discover installs and uses. During troubleshooting, consider environmental factors such as security exclusions, file locks, CPU usage, RAM usage, and disk failures.

Tip: For more information about the Client Extensions that Discover installs and uses, see Client Extensions.
  1. If endpoints have Client Extension shared process mode enabled and you need to troubleshoot resource usage or crashes in the combined TaniumCX.exe or TaniumCX process, disable shared process mode on the affected endpoints, and then reproduce the issue if possible. For more information, see Manage Client extension shared process mode.
  2. To review the health of Client Extensions or to start an investigation into an existing error, ask a question using the Client Extensions - Status sensor.

    The results of these questions help to identify endpoints with errors and provide a starting point to deploy actions that might help correct the issue. Filter the results and drill down as necessary to investigate results that indicate errors.

    Tip: Consider whether endpoints with errors share common characteristics, such as operating system, domain or organization unit, or the antivirus software that is installed.
  3. Target one or more endpoints with errors, and uninstall tools that report errors without blocking reinstallation. For more information, see Remove Discover tools from endpoints and Uninstall tools installed by Endpoint Configuration.
    CAUTION: When you perform a hard uninstallation of some tools, the uninstallation also removes data that is associated with the tool from the endpoint. This data might include important historical or environmental data. If data that you want to keep is associated with the tool, make sure you perform only a soft uninstallation of the tool.

    Wait for automatic reinstallation of the tool. If the reinstallation does not resolve the issue, continue to the next step.

  4. Ask a question using the Endpoint Configuration - Tools Status Details sensor, and include filters to limit the results to the tool that you are investigating. For example:

    Get Endpoint Configuration - Tools Status Details having Endpoint Configuration - Tools Status Details:Tool Name contains <Tool_Name> from all machines with Endpoint Configuration - Tools Status:Tool Name contains <Tool_Name>

    Review the columns in the results for specific information about errors. The following table provides guidance for some common error conditions:

    Table 1. Potential errors returned by the Endpoint Configuration - Tools Status Details sensor

    Error Condition

    Possible Resolution

    No error appears, but an available new version has not been installed

    Review the Targeted Version column to make sure that the endpoint has received the latest manifest. If the targeted version does not yet show the updated version, the Endpoint Configuration manifest has not updated on the endpoint, usually for one of the following reasons:

    • The manifest update is still pending. Either wait for the manifest to update and then review the results again, or follow the steps in Verify and manually update the Endpoint Configuration manifest.

    • Action lock is enabled on the endpoint. Follow the steps in Verify and manually update the Endpoint Configuration manifest to identify endpoints with action lock turned on.

    • Discover is no longer installed, or it is no longer targeting the endpoint. In some cases, Discover might stop targeting an endpoint because it no longer needs the endpoint for a particular workload. Consider whether Discover should still target the endpoint:

      • If it is expected or intentional that Discover no longer targets the endpoint, you can optionally uninstall Discover tools and dependencies. For more information, see Remove Discover tools from endpoints.

      • If Discover should still target the endpoint, make sure that the Discover action group includes the endpoint, and make sure Discover targets the endpoint in any expected configurations or profiles. Then, either wait for the manifest to update and then review the results again, or follow the steps in Verify and manually update the Endpoint Configuration manifest.

    Installation Blocker:

    Unmet Dependencies: [Tool name]

    If no Failure Message or Failure Step appears, the endpoint might be waiting for the dependencies to install. Wait to see if the condition resolves on its own. If this condition remains for an extended period, ask the question again and review any error information in other columns, especially the Failing Dependency column.

    Failing Dependency:[Tool name]

    Ask the question: Endpoint Configuration - Tools Status Details having Endpoint Configuration - Tools Status Details:Tool Name contains [Tool name] from all machines with Endpoint Configuration - Tools Status:Tool Name contains [Tool name]

    Investigate further errors with the tool.

    If the dependency has not been installed on an endpoint, ask the question: Get Endpoint Configuration - Tools Retry Status from all machines with Computer Name equals Computer_Name to review the retry status for the tool installation. For more information, see Review tool installations that are scheduled for a retry.

    Manually Blocked:

    blocked

    The tool was previously blocked, either manually or during a previous uninstallation. Unblock the tool. For more information, see Block or unblock tools from installing on an endpoint.

  5. Review the Extensions logs on the endpoint. Take note of entries that include fail or error. For more information, see Review the Extensions log for an endpoint.

For additional help, collect all logs for Discover, and contact Tanium Support.

Review the Extensions log for an endpoint

Use Client Management to directly connect to an endpoint and view and download extension logs.

  1. From the Main menu, go to Shared Services > Client Management.
  2. From the Client Management menu, click Client Health.
  3. In the Direct Connect search box, enter all or part of an IP address or a computer name.

    Matching results are displayed after the search completes.

  4. From the search results, click the computer name to connect to the endpoint.
  5. Click the Logs tab, and select an extensions[#].log file.
  6. (Optional) To download the log, click Download.

For additional help, collect all logs for Discover, and contact Tanium Support.

View Discover scan ranges

You might want to see the ranges that are scanned before you run discovery, or to troubleshoot discovery that has already run. To see the calculated gaps between the managed interfaces, use the Discover Scan Range sensor. The sensor returns results for Windows, macOS, Linux, AIX, and Solaris endpoints.

For example, you might use the question: Get Computer Name and Operating System and Tanium Client IP Address and Discover Scan Range from all machines. The results contain the range between each of the managed endpoints and its forward and backward peers.

Problem: No results from running a scan

To return results, Discover tools must be distributed to the endpoints. If you do not see results:

  • Check the configuration of the Discover action group. For more information, see Import Discover with default settings.

  • Check the status of the Discover action group. From the Main menu, go to Administration > Actions > Scheduled Actions.

Problem: Some endpoints are not scanning

You might find that some endpoints are not scanning. For example, the question: Get Discover Last Scan Range from all machines returns [no results].

Try adjusting the Start at time of the scheduled action to a few minutes after the Opening Time of the configured scan window in the profile.

  1. Get the start time of the start window for your profile. From the Main menu, go to Modules > Discover > Profiles. Hover over the profile_name and click Edit edit-filter. In the Scan Window section, note the value of the Opening Time setting.

  2. From the Main menu, go to Administration > Actions > Scheduled Actions. Click the Tanium Discover action group.

  3. Select the scheduled action that is associated with the profile:

    • Distributed scan profile: Discover - Execute Scan [profile_name] or Discover - Execute Scan for Non-Windows [profile_name].
    • Satellite scan profile: Discover - Execute Satellite Scan [profile_name] or Discover - Execute Satellite Scan for Non-Windows [profile_name].
  4. Click Edit.

  5. Edit the Start at time to start a few minutes after the Opening Time you found in your profile.

Note: Discover cannot perform satellite or distributed scans on endpoints with action locks turned on. See Locking down actions on endpoints.
Important: In some cases, Discover might stop targeting an endpoint because it no longer needs the endpoint for a particular workload. For example, if an endpoint is being used in a level 4 distributed scan, and peer endpoints appear with adjacent IP addresses, Discover no longer needs the original endpoint for the level 4 scan and no longer targets it. For more information, see Identify and resolve issues with Client Extensions.

Problem: Satellite profile appears in ERRORED state

Symptom

When you view the Profiles page, a satellite profile appears with a status of Needs Deployment. When you expand the profile, the Status Details contains ERRORED.

Cause

Reasons why a profile appears in ERRORED state include the following:

  • Tanium Direct Connect is not installed.

  • The satellite in the profile is not available.

  • The profile publish was interrupted.

  • The profile targets more than 4,096 IP addresses.

Solution

Discover automatically tries to republish ERRORED profiles at regular intervals. After you resolve the underlying issue for an ERRORED profile, wait until Discover republishes the profile.

  1. If all satellite profiles are in ERRORED state, verify Direct Connect is installed.

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

    2. Navigate the Content section and use the filter to find Direct Connect.

    3. Verify that a version appears in the Imported Version column. If the Imported Version column is empty, install Direct Connect. See Installing Direct Connect.

  2. Make sure the satellite defined in the profile is available.

    1. From the Main menu, go to Modules > Discover > Profiles.

    2. Click the name of the profile to open the Edit Profile page.

    3. In the Satellites section, verify that one satellite is selected, and that the Status for the selected satellite is Online.

      • If a satellite is selected is online, continue to step 3.

      • If no satellite is selected, select another satellite and then click Save.

      • If the selected satellite is Offline, select another satellite and then click Save. Alternatively, you can investigate why the currently selected satellite is offline.

      • If necessary, edit the list of available satellites in Direct Connect. For more information, see Managing satellites.

    4. If you made changes to the profile, click Save.

      The Profiles page opens and a notification appears if the profile saved successfully.

    5. Wait a few minutes and then refresh the Profiles page. If the profile publishes successfully, the status changes to Published check-solid or Scan Completed check-solid.

  3. Edit the profile and make sure the combined total of any networks selected in the Scan Inclusions targets 4,096 IP addresses or less. If necessary, remove networks or add scan exclusions to reduce the number of targeted IP addressess. For information, see Configure profile for satellite scan.

  4. If Direct Connect is installed, the satellite in the profile is online and available, and the profile targets 4,096 IP addresses or less, it is possible that an interruption occurred when Discover attempted to publish the profile. In this situation, you can either re-save the profile to force Discover to publish the profile, or wait until Discover automatically publishes the profile.

    1. From the Main menu, go to Modules > Discover > Profiles.

    2. Click the name of the profile to open the Edit Profile page.

    3. Click Save.

      The Profiles page opens and a notification appears if the profile saved successfully.

    4. Wait a few minutes and then refresh the Profiles page. If the profile publishes successfully, the status changes to Published check-solid or Scan Completed check-solid.

Problem: Scans are delayed for profiles that exclude isolated endpoints

If a profile excludes isolated endpoints, Discover does not launch a scan until the endpoint's isolation status is stable for 5 minutes. Expect this delay after a Tanium Client restart, a hibernate or wake event, or a network change.

If the isolation status is still unstable, Discover retries the scan up to 10 times at 5-minute intervals (approximately 50 minutes total) before abandoning the attempt for the current execution. The scan runs at the next scheduled launch.

In the endpoint extension logs (extensions0.txt), affected scan attempts record Isolation is Unstable or Isolation is Unstable, will try again messages.

Problem: Error with locations CSV file

If you see Error: Network specified for a parent. Networks can only be specified at the lowest level of the hierarchy. in the workbench and are unable to import the locations file, confirm that no row ends at a location that is the parent of a location in another row.

For example, consider the following CSV file:

Figure 1. Example locations CSV file
Example locations CSV file

Think of the hierarchy specified in the CSV file as a tree, and each row is a branch. Line 1 creates a United States branch with a sub-branch for Michigan. Line 8 creates a France branch. Line 11 creates a branch for Germany and a sub-branch for Berlin.

Line 13 creates the error because it ends at Germany, which line 11 already uses as the parent of Berlin. If line 13 specified another German state, as line 14 does, it would not create an error.

Problem: Needs deployment profile status

This warning indicates there is a profile mismatch between the Tanium Server and the Tanium Client. Contact support for assistance.

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.

Problem: An interface is missing or out of date

Discover updates interface data when an import completes. To see when the last import completed and when the next import runs, from the Main menu, go to Modules > Discover > Overview and review the Recent & Upcoming Imports chart in the Activity section.

Interfaces might appear in saved question results before they appear in Discover data. To view Discover interfaces in Interact, from the Main menu, go to Modules > Interact > Overview and filter for Discover in the Saved Questions section. The following saved questions are available for Discover:

  • Discover - Managed Interfaces
  • Discover - Managed Interfaces Include IPv6
  • Discover - Unmanaged Interfaces
  • Discover - Unmanaged Interfaces Include IPv6

Click a saved question to view the Question Results grid.

Important: Duplicate MAC addresses can prevent interfaces from appearing in Discover data. To sort by MAC Address in Question Results, click the Network Adapters: MAC Address column.
Important: Sensor errors can prevent Discover from reporting managed interfaces. To view sensor errors in Question Results, in the Console header, hover over User and select Preferences. Confirm Hide Error Results from Questions is not selected. For more information, see Managing sensors for collecting endpoint data.

For more information, see Saved questions overview.

FAQ: Why is the number of managed interfaces higher than the client status?

If you compare the number of managed interfaces in Discover, you might notice that the number is often higher than the number of Tanium Clients that are reported on the Client Status page.

This disparity is expected. Interfaces are unique MAC addresses. One Tanium Client with multiple network interface controllers (NICs) displays as multiple interfaces in Discover. Virtualization software can increase the number of interfaces reported for a computer, if the computer has multiple virtual machines running.

You can also view the Environment Status section in Tanium Console to view the discrepancy between the number of managed interfaces and the Total Endpoints.

Remove Npcap from endpoints

You can deploy an action to remove Npcap from an endpoint or computer group.

  1. In Interact, target the computers from which you want to remove Npcap.
    • For computers with Npcap installed using Discover 4.3 or later, ask a targeting question:

      Get Endpoint Configuration - Tools Status from all machines with Is Windows equals True

    • For all other computers with Npcap installed or if you are not sure how Npcap was installed, ask a targeting question: Get Discover - Installed Npcap Version from all machines

  2. In the results, select Npcap (if using the Endpoint Configuration package) or the versions (if using the Discover package), and select the targets from which you want to remove Npcap. For more information, see Analyzing question results in Interact.
  3. Click Deploy Action.
  4. On the Deploy Action page, select the package:
    • If using the Endpoint Configuration package, do the following:

      1. Enter Endpoint Configuration - Uninstall in the Deployment Package box, and select Endpoint Configuration - Uninstall Tool [Windows].

      2. For Tool Name, select Npcap.

      3. (Optional) By default, after the tools are removed they cannot be reinstalled. To allow tools to be automatically reinstalled, clear the selection for Block reinstallation. Re-installation occurs almost immediately.

    • If using the Discover package, do the following:

      1. Enter Discover - Uninstall Npcap in the Deployment Package box.

      2. (Optional) By default, the package only uninstalls Tanium-installed versions of Npcap. To uninstall all installations of Npcap, select Remove Any Npcap Version.

  5. Click Show preview to continue.
  6. A results grid appears at the bottom of the page to show the targeted endpoints for your action. If you are satisfied with the results, click Deploy Action.

Remove Discover tools from endpoints

You can deploy an action to remove Discover tools from an endpoint or computer group. Separate actions are available for Windows and non-Windows endpoints.

  1. In Interact, target the endpoints from which you want to remove the tools. For example, ask a question that targets a specific operating system:Get Endpoint Configuration - Tools Status from all machines with Is Windows equals true
  2. In the results, select the row for Discover, drill down as necessary, and select the targets from which you want to remove Discover tools. For more information, see Drill down into results.
  3. Click Deploy Action.
  4. For the Deployment Package, select Endpoint Configuration - Uninstall Tool [Windows] or Endpoint Configuration - Uninstall Tool [Non-Windows], depending on the endpoints you are targeting.
  5. For Tool Name, select Discover.
  6. (Optional) By default, after the tools are removed they cannot be reinstalled. To allow tools to be automatically reinstalled, clear the selection for Block reinstallation. Re-installation occurs almost immediately.
    Note:

    If reinstallation is blocked, you must unblock it manually:

    • To allow Discover to reinstall tools, deploy the Endpoint Configuration - Unblock Tool [Windows] or Endpoint Configuration - Unblock Tool [Non-Windows] package (depending on the targeted endpoints).

    • If you reinstall tools manually, select Unblock Tool when you deploy the Endpoint Configuration - Reinstall Tool [Windows] or Endpoint Configuration - Reinstall Tool [Non-Windows] package.

  7. (Optional) To remove all Discover databases and logs from the endpoints, clear the selection for Soft uninstall.
    CAUTION: When you perform a hard uninstallation of some tools, the uninstallation also removes data that is associated with the tool from the endpoint. This data might include important historical or environmental data. If data that you want to keep is associated with the tool, make sure you perform only a soft uninstallation of the tool.
  8. (Optional) To also remove any tools that were dependencies of the Discover tools that are not dependencies for tools from other solutions, select Remove unreferenced dependencies.
  9. (Optional) In the Deployment Schedule section, configure a schedule for the action.
    Tip: If some target endpoints might be offline when you initially deploy the action, select Recurring Deployment and set a reissue interval.
  10. Click Show preview to continue.
  11. A results grid appears at the bottom of the page showing you the targeted endpoints for your action. If you are satisfied with the results, click Deploy Action.
    Note: If you have enabled Endpoint Configuration approval, tool removal must be approved in Endpoint Configuration before tools are removed from endpoints.

Uninstall Discover

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

  2. Select the checkbox in the Discover section and then click Uninstall and follow the process.

  3. Delete any remaining Discover-related scheduled actions and action groups. For more information, see Delete an action group.

  4. Check for Discover artifacts on your endpoints. Ask the question: Get Endpoint Configuration - Tools Status Details having Endpoint Configuration - Tools Status Details:Tool Name contains Discover from all machines with Endpoint Configuration - Tools Status:Tool Name contains Discover. To remove the tools from the endpoints that the question returns, see Remove Discover tools from endpoints.

  5. Check for Discover plugin schedules. From the Main menu, go to Administration > Configuration > Plugins. In the Plugin Schedules section, if plugin schedules exist for Discover, contact Tanium Support.

Note: After you uninstall Discover, Tanium no longer installs the Discover and discover-cx endpoint tools to new endpoints. The uninstall does not automatically remove endpoint tools from existing endpoints. For more information about how to remove the Discover and discover-cx endpoint tools from existing managed endpoints, see Uninstall tools installed by Endpoint Configuration.