KB: How do I enable Debug Logging for the SCOM VMware Monitoring

In some cases it is needed to get more internal logging on what the SCOM VMware Monitor processes are executing. Using a special registry key you can accomplish this.

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 "DebugLevel" /t REG_DWORD /d 5 /f
  2. Stop the SCOM agent
  3. Clear the OperationsManager eventlog
  4. Increase the retention size of the OperationsManager eventlog
  5. Start the SCOM agent

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

Deactivate debug logging

To disable the debug logging remove the created key in step 1 or change the value of DebugLevel to 0. 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