Security Compliance

How to run Patch Manager Diagnostics and enable logging

This article describes how to run the SolarWinds Patch Manager Full Diagnostics utility in Patch Manager.

First published date

10/17/2018 10:18 PM

Last published date

3/6/2023 5:49 PM

Overview

Occasionally, diagnostics may be required to investigate an issue in the Patch Manager environment, and this article describes how to run the SolarWinds Patch Manager Full Diagnostics utility and enable logging.

Product section

Patch Manager

Resolution

How to enable Server Side Logging

  1. In the navigation pane, click Patch Manager System Configuration.

  2. In the center pane, click Log Adjuster.

  3. In the Log Adjuster window, modify the Logging Level to Verbose, and click Apply.

    When the test is over, change the logging level back the previous value in order to save disk space on your server.

  4. Launch the problematic task and wait for it to run to completion/error.
  5. After the task is completed, launch the Patch Manager Diagnostic Tool from one of the following locations:
    • Start menu
    • C:\Program Files\SolarWinds\Patch Manager\Server\ServerDiagnostics.exe

    Patch Manager creates a zipped folder named SolarWindsDiagnostics.zip.

 

How to enable Client / Agent Side Logging

WMI providers + Agent

  1. Enable WMI providers logging. This also works for agent
    1. Run regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\EminentWare\Logging, add DWORD (key=value):
      1. Enable=1
      2. Level=1
      3. Options=1
      4. Logging=15 (maximum logging level)
  2. Enable agent logging through PaM console
    1. Go to Patch Manager System Configuration\Policy Editor
    2. Either create new policy and then assign it to desired scope or edit the default policy
    3. Edit 6 entries:
      1. Agent Logging
        • Logging Enabled=1
        • Logging Level=15
        • Logging Options=1
      2. Worker Process
        • Logging Enabled=1
        • Logging Level=15
        • Logging Options=1
  3. Agent logs are located in C:\ProgramData\Solarwinds\Logs\PM on PM Agent nodes and WMI Provider (non-agent) logs are located under C:\Windows\system32\WBEM\Logs\

To upload your diagnostics, create a support case in the Customer Portal (if not done already).

  1. Log in to the SolarWinds Customer Portal.

  2. Open a Support Case. You can do this one of two ways: 1) On the Customer Portal menu bar, navigate to Technical Support > Open a Support Case, or 2) Scroll to the bottom of the Home page and click Open a Support Case.

  3. After you submit a case, click Upload Diagnostics.

    Note: You have the option to upload your diagnostics as you create your support case, or you can upload your diagnostics up to 30 days later.

    The Serv-U File Sharing page appears with options to upload one or more files.

  4. To upload one or more files, click Browse to find and select your files, and then click Upload. After uploading your files, the case is updated providing Support representatives access to the diagnostic files.