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
-
Stop Monitoring process
- /opt/OV/bin/ovc -stop weblogicmp
-
Navigate to the instrumentation directory and edit this files setting them to trace mode
- /var/opt/OV/bin/instrumentation/Weblogic_Config.collConfig
- /var/opt/OV/conf/Weblogic/jmx/Weblogic_Config.collConfig
- /var/opt/OV/tmp/Weblogic/collectionManager/Weblogiccmlog4j.properties
- /var/opt/OV/bin/instrumentation/Weblogiccmlog4j.properties
- /var/opt/OV/bin/instrumentation/Weblogic_Discovery_Log4j.properties
- Remove all previous log files from /var/opt/OV/log/WebSphere
- Open the file /var/opt/OV/bin/instrumentation/WebSpherecmadvconfig.properties and add any where CMAdvConfig.DUMP_METRICS_TO_CSV=true
-
Start monitoring:
- /opt/OV/bin/ovc -start weblogicmp
-
Gather the following direcotries
- /var/opt/OV/bin/instrumentation/
- /var/opt/OV/conf/Weblogic/jmx/
- /var/opt/OV/tmp/Weblogic/
- /var/opt/OV/conf/Weblogic/schedules
- /var/opt/OV/log/Weblogic
- Gather an ovcodautil dumpds <Web_Logic DS> output