How to set Weblogic MP to trace?

  • KM03770118
  • 29-Dec-2020
  • 13-May-2021

Summary

What files need to be edited to have the MP collector set to trace mode

Question

After a successful deployment of the Weblogic discovery and the management templates, the performance data is not being collected

 

Answer

We need to ensure that all documented prerequisites are met before proceeding with any troubleshooting.

https://docs.microfocus.com/itom/MP_for_Oracle_Weblogic:2020.11/Prerequisites

Enable tracing on the logs

  1. Stop Monitoring process
    1. /opt/OV/bin/ovc -stop weblogicmp
  2. Navigate to the instrumentation directory and edit this files setting them to trace mode
    1. /var/opt/OV/bin/instrumentation/Weblogic_Config.collConfig
    2. /var/opt/OV/conf/Weblogic/jmx/Weblogic_Config.collConfig
    3. /var/opt/OV/tmp/Weblogic/collectionManager/Weblogiccmlog4j.properties
    4. /var/opt/OV/bin/instrumentation/Weblogiccmlog4j.properties
    5. /var/opt/OV/bin/instrumentation/Weblogic_Discovery_Log4j.properties
  3. Remove all previous log files from /var/opt/OV/log/WebSphere
  4. Open the file  /var/opt/OV/bin/instrumentation/WebSpherecmadvconfig.properties  and add any where  CMAdvConfig.DUMP_METRICS_TO_CSV=true
  5. Start monitoring:
    1.  /opt/OV/bin/ovc -start weblogicmp
  6. Gather the following direcotries
    1. /var/opt/OV/bin/instrumentation/
    2. /var/opt/OV/conf/Weblogic/jmx/
    3. /var/opt/OV/tmp/Weblogic/
    4. /var/opt/OV/conf/Weblogic/schedules
    5. /var/opt/OV/log/Weblogic

 

  1. Gather an ovcodautil dumpds <Web_Logic DS> output