Summary
Setting the websphere MP collector to trace
Question
After a successful deployment of the WebSphere discovery and the management templates, the performance data is not being collected
Answer
- Prechecks
We need to ensure that all documented prerequisites are met before proceeding with any troubleshooting.
- Tracing
Enable tracing on the logs
-
Stop Monitoring process
- /var/opt/OV/bin/instrumentation/WebSphere_Perl WebSphere_Config.pl stopMonitoring
-
Navigate to the instrumentation directory and edit this files setting them to trace mode
- /var/opt/OV/bin/instrumentation/WebSphere_Discovery_Log4j.properties
- /var/opt/OV/bin/instrumentation/WebSpherecmlog4j.properties
- /var/opt/OV/conf/WebSphere/wbsjmx/WebSphere_Config.collConfig
- /var/opt/OV/bin/instrumentation/WebSphere_Config.collConfig
- /var/opt/OV/tmp/WebSphere/collectionManager/WebSpherecmlog4j.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:
- /var/opt/OV/bin/instrumentation/WebSphere_Perl WebSphere_Config.pl startMonitoring
-
Gather the following direcotries
- /var/opt/OV/conf/WebSphere/wbsjmx/
- /var/opt/OV/tmp/WebSphere/
- /var/opt/OV/tmp/CSV
- /var/opt/OV/log/WebSphere/
- Open the file /var/opt/OV/bin/instrumentation/WebSpherecmadvconfig.properties and add any where CMAdvConfig.DUMP_METRICS_TO_CSV=false
- Gather an ovcodautil dumpds <Web_Sphere DS> output