Troubleshooting Asset

To collect and send information to Tanium for troubleshooting, collect relevant information.

Configure report timeout period

Configure the report timeout period to increase or decrease the amount of time that Asset tries to load a report page before presenting a timeout error. To troubleshoot the error, see Troubleshoot reports.

  1. From the Asset Overview page, click Settings cog, and then go to the Advanced tab.
  2. Specify the Report Timeout in minutes. After this timeout period, Asset presents an error.
  3. Click Save.

Reset differential load

To optimize performance, Asset imports data from Tanium Data Service incrementally. As an Asset administrator, you have the option to perform a one-time import for a complete load from Tanium Data Service. Be aware that importing a complete load might take longer than the regular incremental loads.

  1. From the Asset Overview page, click Settings cog and then go to the Advanced tab.
  2. In the Reset Differential Load section, select Enabled.
  3. Click Save.

The next time Asset is scheduled to import data, Asset imports a complete load from Tanium Data Service. Asset reverts the Reset Differential Load option and future scheduled imports retrieve incremental data.

Troubleshoot reports

If you see a report timeout error message when trying to view a report, consider the following resolutions or workarounds.

  • Try to view the report again.

  • Look at the data using a view.

    • Create a view that includes the assets. For more information, see Configuring views.

    • Export the data to Connect or another destination. For more information, see Exporting data.

Troubleshoot asset data exports and imports

View status of imports and exports

On the Asset Overview page in the Activity section, you can view a timeline of the recent imports and exports.

Figure 1. Example Activity section from the Asset Overview page
Example timeline of recent imports and exports
The timeline contains each job run, with one of the following statuses:
Icon Status

purple

Scheduled

green

Successful

red

Error
To view the Job Run History page for runs that finished successfully green or failed with an error red, click the status icon of the run on the timeline.
Tip: You can view the log for the latest import of each AWS, Microsoft Azure, Microsoft Intune, and Google compute source in Asset. For more information, see Monitor compute source import runs.

Disable imports and exports

Data imports and exports run on a configured schedule by default. You can disable this schedule to resolve issues, or you can run the import or export manually.

  1. From the Main menu, go to Modules > Asset > Inventory Management > Schedules.
  2. Hover over the import or export schedule that you want to disable and click Edit edit2.
  3. Clear the Run this connection on a defined schedule setting. Click Update.
  4. If you want to manually run an import or export, go to the Inventory Management > Schedules page. In the row of the source that you want to import or export, click Run Now caret-right.

Fix missing information in export to ServiceNow with Tanium Asset integration

If Asset has finished exporting data to ServiceNow using the Tanium Asset integration and some endpoints are missing or are missing information, work with Tanium Support to review trace logs and make necessary changes.

  1. Update the ServiceNow destination log level to trace.
    1. From the Main menu, go to Modules > Asset > Inventory Management > Destinations.
    2. Click Edit edit2 next to the destination.
    3. Set the Log Level to Trace.
    4. Click Update.
  2. Run the export again.
    1. From the Main menu, go to Modules > Asset > Inventory Management > Schedules and then go to the Export Schedules tab.
    2. Click Run Now next to the schedule.
  3. Contact Tanium Support for assistance reviewing logs and making necessary changes.

    Search the logs for the following errors.

    Table 1. Potential log errors for missing information in ServiceNow exports

    Error

    Explanation

    ABANDONED

    Generally, jobs are abandoned because of a large number of errors. These errors might occur because of the difference between identifying an endpoint in Asset and ServiceNow. Asset identifies endpoints based on multiple attributes, and ServiceNow (by default) identifies endpoints based on a unique name and serial number.

    This error might also indicate missing required fields in ServiceNow because of data class customization or a different business rule.

    TIMED

    Timed out jobs are usually caused by a business rule or other database issue within ServiceNow. If the duration field in the log file is around 300, Asset might have exported too much data to ServiceNow. You can decrease the job size using an API Settings mapping.

    logContextID

    logContextId indicates that an entry in the job was logged. Errors are usually categorized as ABANDONED or TIMED.

Fix duplicate entries in ServiceNow with Tanium Asset integration

If you use ServiceNow Paris, Quebec, or Rome with the Tanium Asset integration, ServiceNow creates duplicate entries for some CIs (such as Network Adapters, Storage Devices, and File Systems) in the ServiceNow CMDB when an export runs. This is a known ServiceNow issue. Update the ServiceNow system properties to work around this issue.

  1. In ServiceNow, enter sys_properties.list in the Filter navigator.
  2. In System Properties, click New.
  3. Enter glide.identification_engine.dependent_items_bulk_query as the Name and true as the Value.
  4. Click Submit.

Troubleshoot software inventory and usage monitoring

To return inventory and usage data, endpoints must have the correct version of Asset and the swmgr tool installed.

  1. In Interact, ask the following question: Get Endpoint Configuration - Tools Status Details from all machines
  2. For the Asset tool name, confirm that the installed version is correct.
  3. For the swmgr-cx tool name, confirm that the installed version is 2.0.34 or later.

Troubleshoot disabled attributes

Issue

Attributes are automatically disabled on the Modules > Asset > Inventory Management > Entities & Attributes page.

Causes

Asset disables attributes for the following reasons:

  • Attributes are supplied to Asset through sensor results harvested by Tanium Data Service. If harvesting for the underlying sensor is disabled in Tanium Data Service, Asset disables the attribute. For more information about data collection through Tanium Data Service, see Managing Tanium Data Service.

  • When a change occurs to the underlying sensor that retrieves data for a custom attribute, Asset disables the attribute.

Solution

  1. Check to see if the sensor recently changed:

    1. From the Main menu, go to Modules > Asset > Inventory Management > Entities & Attributes. Search for the attribute and then expand the attribute. Remember the name in the Entity column.

    2. From the Main menu, go to Administration > Content > Sensors.

    3. Search for the name that was in the Entity column on the Entities & Attributes page.

    4. View the timestamp in the Last Modification column to see when the sensor last changed.

      Tip: Ensure that you can view the entire width of the table. If the Last Modification column does not appear, click Customize Columns customize-columns and select the option to show the Last Modification column.
  2. If the sensor recently changed, perform the following steps to enable the attribute:

    1. Manually delete the attribute. For more information, see Delete attributes.

    2. Wait a minimum of one hour for the next load from Tanium Data Service.

    3. Re-add the attribute to Asset. For more information, see Configure additional Tanium entities and attributes.

    4. Wait at least two import cycles from the Tanium source. Tanium Data Service gathers results from endpoints after which Asset retrieves those results from Tanium Data Service.

      Note: For more information about import intervals, see About the Tanium source.
    5. Verify the attribute is enabled. From the Main menu, go to Modules > Asset > Inventory Management > Entities & Attributes and search for the attribute. Expand the attribute entry and verify the status of the attribute is Ready.

Remove unneeded data from the Asset database

Purge assets

Asset purges stale assets on an individual basis. Asset purges endpoints if not seen within the configured stale data age for the source from which the asset originates, or based on a purge report. For more information, see Configure data retention and vacuuming.

Asset Operators can manually remove assets from the Asset database earlier than the stale data age. In a report that shows the assets you want to remove, select the rows and click Delete.

If the asset you deleted returns results for sensors registered with Tanium Data Service, the asset is re-added to the Asset database. Note that when the asset is re-added, the asset might only contain partial data due to incremental loads from Tanium Data Service. To fully re-add a purged asset, you can perform a one-time import for a complete load from Tanium Data Service. For more information, see Reset differential load.

Delete attributes

To delete an attribute, you must disable the attribute, then remove references.

Note: When you disable an attribute, Tanium Data Service unregisters the underlying sensor if the sensor is not registered by another Tanium solution.
  1. Disable the attribute.
    1. From the Main menu, go to Modules > Asset > Inventory Management > Entities & Attributes.
    2. Expand the entity that contains the attribute and click Edit edit2 next to the attribute that you want to disable.
    3. Clear the Enabled setting. Click Save.
  2. Remove references to the attribute from all reports, views, permissions, and ServiceNow destinations.
    1. Click Delete trash next to the attribute that you want to remove.

      If the option to delete an attribute does not appear, make sure to disable the attribute, wait one minute, and then refresh the Entities & Attributes page.

    2. A list of known locations where the attribute is used appears. Click the link for each item and then edit the item to remove the use of the attribute.
    3. Click Refresh to list the remaining references.
  3. After you remove the references, type the name of the attribute to confirm its deletion. Click Delete Attribute.

The attribute is deleted from the Asset database on the next load of data from Tanium Data Service.

Note: When you delete the last attribute for an entity, including custom entities, Asset also deletes the entity.

Configure data retention and vacuuming

You can configure data retention and automatic vacuuming on the Asset database.

  1. From the Asset Overview page, click Settings cog, and then go to the Advanced tab.
    • Asset purges stale assets by source. To purge stale assets from the Tanium source that have not been seen by Asset within the timeframe of the configured stale data age, enable Purge Stale Assets. Then, indicate the age of stale data to remove. The minimum number is seven days. The default and maximum number is 180 days.

    • To purge assets based on a report, enable Purge by Report and select the report. To select a report, you must be an Asset Operator and not assigned to an Asset user permissions group. The report must meet the following criteria:

      • Is not a summary or reserved report.

      • Only has attributes from the Asset column.

      • Has a filter with attributes that do not include parentheses. For example, the report can include Asset ID but not Device ID (Physical Disk).

    • To purge short-lived assets, enable Purge Short-lived Assets. Short-lived assets are endpoints that are online less than 1% of the time (approximately 30 minutes) in the first 48 hours after Asset adds them to the Asset database. When you select this option, Asset purges endpoints that have less than 1% usage through the first 30 days. Purges run at the start of every hour. If an asset falls below the 1% usage threshold, Asset purges the asset from its database.

      Note: Asset computes usage as (online time / (days * 24 hours) = usage). For example, if an endpoint is added to Asset and is used for an hour in the first two days, the endpoint is not purged as the endpoint is online for approximately 2% of the time, or (1 hour / 48 hours = ~2.08%). If the endpoint is not used for the next three days, the usage falls to less than 1% usage and Asset purges the asset as short-lived (1 hour / 120 hours = ~0.8%). For more information about how Tanium Data Service purges short-lived assets, see Purging short-lived endpoints.

      After 30 days, Asset no longer considers the asset as short-lived and does not purge the asset as short-lived.

    • To adjust the trigger and amount of work done during automatic vacuuming, navigate to the Automatic Vacuuming section to adjust the Cost Limit and Scale Factor values. The Postgres VACUUM operation reclaims storage that is occupied by dead tuples. By default, the database is vacuumed when 1% of tuples are considered dead, and the cost limit (amount of work per vacuum cycle) is set to 1000.

  2. Click Save.
  3. For custom sources, configure when to purge stale assets from each source when you create or edit the source. For more information about how to create or edit custom sources, see Configuring sources.

Identify and resolve issues with Client Extensions

Use the following steps to troubleshoot issues with the Client Extensions that Asset 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 Asset 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 Asset tools from endpoints and Endpoint Configuration User Guide: Uninstall a tool 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 2. 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:

    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, 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, contact Tanium Support.

Remove Asset tools from endpoints

You can deploy an action to remove Asset 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 Asset, drill down as necessary, and select the targets from which you want to remove Asset tools. For more information, see Tanium Interact User Guide: Drill Down.
  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 Asset.
  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 Asset 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 Asset 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 Asset 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.