JVM Collection - The current JVM is not monitored by a JVM data collector agent for z/OSMF
search cancel

JVM Collection - The current JVM is not monitored by a JVM data collector agent for z/OSMF

book

Article ID: 265154

calendar_today

Updated On:

Products

SYSVIEW Performance Management

Issue/Introduction

How to setup to collect JVM information for z/OSMF

In Chorus/MSMTC PROC it's possible to added the agent and see at startup

+GSV1001I (010000D1) SYSVIEW for JVM Data Collector Agent Rel
+GSV1002I (010000D1) Copyright (c) 2022 Broadcom Inc. and/or 
+GSV1003I (010000D1) Application GSV_MSMTC_010000D1          
+GSV1042I (010000D1) Target SYSVIEW SSID GSVX Build 1010     
+GSV1004I (010000D1) Thread eXternalDataInterface ThreadId 11
MSM0013I CA CSM STARTUP INITIATED                      

//STDENV   DD DSN=MSM.R60.RUNT.SAMPLIB(MSMLIB),
//            DISP=SHR            

and this member has this in it

AGT="/usr/lpp/CNM4MNT/sysview/cnm4h00/runtime/jvmdata/binpc"
IJO="$IJO -agentpath:$AGT/libgsvoagt4.so"      

How to activate the JVM again in the z/OSMF stc started task

Environment

Release : 17.0 and 16.0

Resolution

It is needed to create a local-override.cfg file and specify the JVM_OPTIONS string in that file.
If the USERDIR parameter contains this:

USERDIR='/global/zosmf'

Create the local_override.cfg file under the /global/zosmf/configuration directory. 

In there specify exactly the following, :

JVM_OPTIONS=-agentpath:/usr/lpp/CNM4MNT/sysview/cnm4h00/runtime/jvmdata/binpc/libgsvoagt4.so

 

Additional Information

https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/andrii-vasylchenko1/2018/09/28/add-or-modify-jvm-options-in-zosmf-liberty-server?lang=en