Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-15046

Improve Asset Discovery Logging to Associate the Entry with the Pattern Executed

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Assets Discovery
    • None
    • 0
    • 5
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Issue Summary

      Currently, in Assets Discovery, when an error occurs the log collected is impossible to tie back to the pattern executed on the host.

      To help troubleshoot related issues, DEBUG level logging in Assets Discovery should note which pattern executed, and if it was successful or errored against the target-host.

      Steps to Reproduce

      1. Enable Debug Logging in Assets Discovery
      2. Create a scan that includes all patterns
      3. Run the scan against your target host(s)

      Expected Results

      Logging generated ties the pattern to the results in a clear-to-understand method.

      Actual Results

      If an error occurs, we see something like this and cannot tie it back to the pattern.

      [Normal] Invalid query 
         at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
         at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
         at ProviderClasses.ScanProviders.WMI.WMIQueryScanProcess.HandleManagementObjectCollection(ManagementObjectCollection managementObjectCollection) in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE206-BUILD\ProviderClasses\ScanProviders\WMI\WMIQueryScanProcess.cs:line 146 

      Workaround

      Change scan parameters and de-select patterns until the error no longer occurs in a scan

              Unassigned Unassigned
              6a1ad6d343e3 Patrick Turbett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: