Troubleshooting Software Management in ServiceNow

Troubleshoot the list of applications within ServiceNow not updating

If the applications list on the All > CSD 2.0 for Tanium > Applications page is not updating, follow these troubleshooting steps:

  1. Go to All > CSD 2.0 for Tanium > Server Instances and make sure the server instance is configured. If the server instance appears in red or the Connection Status column contains false, continue to the next step.
  2. Go to All > System Logs > Outbound HTTP Requests and filter the log by a URL field to show requests to your Tanium instance. If the Response status for requests is 403, create an API token within Tanium Console, and then update the Tanium Server instance in ServiceNow with the new token. For more information, see Creating API tokens for ServiceNow and Create a server instance in ServiceNow.
  3. Go to All > System Logs > System Log > All and search for log messages that contain Discover Tanium Application. If the following errors appear, complete the indicated troubleshooting steps:

Troubleshoot a deployment workflow failing to delete a filter group

Make sure that permission to create, modify, and delete filter groups is granted to the Tanium user that you used to create an API key. For more information, see Manage role assignments for a user.

Troubleshoot no Tanium Deploy deployment being created for an approved software catalog request

  1. Go to All > CSD 2.0 for Tanium > Server Instances, click the applicable Server Instance, and make sure that the Tanium Limiting Group field is populated with a Tanium computer group ID. For more information, see Configure a Tanium server instance.
  2. Go to All > System Logs > Outbound HTTP Requests and filter the log by a URL field to show requests to your Tanium instance. If the Response status for requests is 403, create a new API token within Tanium Console, and then update the Tanium Server instance in ServiceNow with the new token. For more information, see Creating API tokens for ServiceNow and Create a server instance in ServiceNow.
  3. Review the provider for the catalog item:
    1. Go to All > Client Software Distribution 2.0 > Software Items and open the catalog item that was requested and that did not prompt creation of a Tanium Deploy deployment.
    2. In the Related Lists sections of the form, go to the CSD Catalog Item Fulfillment Configurations tab.
    3. Make sure that a software configuration appears, and that it indicates Tanium in the Provider column. If the appropriate software configuration is not associated with the catalog item, click New, select Tanium as the Provider and the Software configuration associated with the catalog item. If no such software configuration exists, restart the process of creating a software catalog item from the application imported from Tanium Deploy. For the steps, see Create software catalog items.
  4. Review the workflow steps:
    1. Go to All > Process Automation > Flow Administration > Today's Executions and filter the Name column with *Deploy.
    2. Click an entry in the Created column to open the flow engine context for an execution record.
    3. Click Related Links > Open in Operations View to view the flow execution in Workflow Studio.
    4. Review the details of the flow execution to determine if there are waiting or failed steps. Click a step name to review details and any error messages.

      If an error indicates a response status of 403, create an API token within Tanium Console, and then update the Tanium Server instance in ServiceNow with the new token. For more information, see Creating API tokens for ServiceNow and Create a server instance in ServiceNow.

Troubleshoot an error indicated during creation of a catalog task

If a catalog task for a request of a software item appears on the All > Service Desk > My Work page with a Short description of Problem deployment software <Application Name> and a Description of Deployment error: InternalError: Cannot convert NaN to java.lang.Long (Process.Automation.<GUID>, line XX), complete the following steps:

  1. Go to All > CSD 2.0 for Tanium > Server Instances and click the applicable Server Instance.
  2. Verify that both the Tanium Limiting Group and Max Deploy Time (seconds) settings are configured. If either of these settings is blank, the error indicated in this section occurs for associated catalog tasks.

View lease management activity

You can view the following lease management tables, which help you to verify that lease jobs were created correctly, audit lease activity for compliance, and troubleshoot deployment issues tied to lease scheduling or execution.

  • Client Software Distribution Lease Execution: This table contains scripts that are scheduled to run the subflows and flows associated with deployment, revocation, and lease management. To view this table, navigate to https://<yourinstance>.service-now.com/sn_csd_lease_execution_list.do

    in your browser.

  • Client Software Distribution Lease Schedule: This table contains the schedule entries for deployment, lease and revocation. To view this table, navigate to https://<yourinstance>.service-now.com/sn_csd_lease_schedule_list.do in your browser.

  • Client Software Distribution Lease Managers: This table links the requested item with the required lease execution and schedule. To view this table, navigate to https://<yourinstance>.service-now.com/sn_csd_lease_manager_list.do in your browser.

Note: If these URLs return 404 "Not found" errors, the ServiceNow CSD 2.0 application might not be installed. For more information, see Installing the Software Management application in ServiceNow.