Stalled discovery runs
Restarting or continuing
At the next scheduled scan window, any runs that are on hold or blocked will continue or restart, depending on whether all endpoints have been started. The following happens:
- The scan fails to finish in a scan window and all endpoints have not been started. The scan continues at the next window.
- The scan fails to finish in a scan window and all endpoints have been started. The scan restarts at the next window.
Identifying locked and on-hold runs in the UI
The Currently Processing Runs tab of the Discovery Status window displays a red (on hold) notice if a run is on hold and a red (blocked) notice if a run is blocked.
To identify on-hold runs
Click anywhere in the row of the on hold run to display the Discovery Run page for that run. To check the scanning window:
- From the Discovery Status page, click the Scheduled Runs tab.
- The timing information for each scheduled run is shown in a table.
If you want to edit the discovery run, click its entry in the table to display the Edit an Existing Run dialog box.
To identify blocked runs
- Click the (blocked) notice. A dialog box is displayed, showing the reason for the discovery run being blocked.
The blocked endpoint is shown, and the reason for it being blocked is given. In the preceding example, the blocked endpoint is 137.72.94.27, and it is blocked because the DiscoveryRuncommand.DiscoveryRuncommand pattern is attempting to access another endpoint (137.72.94.219) that is currently outside a scan window.
To view the status of the Reasoning service by using the tw_reasoning_status utility
The tw_reasoningstatus utility enables you to view the status of the Reasoning service. Typically, this utility is used by Customer Support as a troubleshooting tool for investigating possible problems.
To use the utility, type the following command at the $TIDEWAY/bin/ directory:
tw_reasoningstatus [options]
where options are either the command described in the following table or the standard, inherited options detailed in Using-command-line-utilities.
Example of viewing the status of the Reasoning service
- On the command line, type the following:
$TIDEWAY/bin/tw_reasoningstatus --username joe - If you do not provide a password, you are prompted for one.
After providing a password, a status is displayed that includes engine status, pool state, queue length, and so forth. The output is saved in the tw_svc_reasoning.log file.