KB: How do I enable Debug Logging for the VMware Management Pack

In certain situations, it may be necessary to obtain more detailed internal logging of the processes executed by the VMware Management Pack. This can be achieved by configuring a specific registry key.

Activate debug logging

To activate the debug logging. Please execute the steps below on every MS server that is responsible for the VMware monitoring.

  1. Run the this command as administrator on the SCOM servers where the VMware Collector is running:
    reg add "HKLM\Software\OpsLogix\VMware\Client Modules" /v "DebugMode" /t REG_DWORD /d 5 /f

    reg add "HKLM\Software\OpsLogix\VMware\Collector" /v "DebugMode" /t REG_DWORD /d 5 /f

  2. Stop the "Microsoft Monitoring Agent" and the "Opslogix VMware Collector Service"
  3. Clear the OperationsManager eventlog
  4. Increase the retention size of the OperationsManager eventlog
  5. Start the "Microsoft Monitoring Agent" and the "Opslogix VMware Collector Service"

After this all debug messages will be logged in the OperationsManager NT eventlog starting with event sources "Opslogix VMware ...."

If you want to debug the 'VMware MP Configuration' dashboard then add on the machine were you run the SCOM console the key below and restart the SCOM console:

reg add "HKLM\Software\OpsLogix\vmware\ui\" /v "DebugMode" /t REG_DWORD /d 7 /f

Deactivate debug logging

To disable the debug logging remove the created key in step 1 or change the value of DebugLevel to 0.

DebugLevels

Possible values are : 

DebugLevel Logging Mode
-1 SilentMode
0 ExceptionMode (Default)
1 VerboseMode
3 DebugMode
5 TraceMode
6 TraceMode with outputting first part of the PB content
7 [only for support engineers] TraceMode with outputting complete PB content to local XML file