question

Thaneswaran B. avatar image
Thaneswaran B. asked ·

How to DT_CUSTOM_PROP for JBoss

Hi,

We are trying to enter DT_CUSTOM_PROP to JBoss JVM. But OneAgent is not picking up the values.

Please help!


Thanks,

oneagentjava
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Chad T. avatar image
Chad T. answered ·

are you in the correct working directory? also what file are you adding that data into? Keep in mind, depending on the file you are updating the oneagent will need to be recycled and possibly the service (Depending on that file).


hostcustomproperties: only requires a oneagent recycle - read more about it here: https://www.dynatrace.com/support/help/how-to-use-dynatrace/hosts/configuration/define-tags-and-metadata-for-hosts/?_ga=2.92874974.290378475.1590062244-275491800.1590062244

DT_CUSTOM_PROP requires the service/process to be restarted

4 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

We added to the system properties like this:

We can view this entry in the JVM argument but DT didn't pick up as Env custom meta data.

any advice? thanks

1 Like 1 · ·
1590153969236.jpeg (14.9 KiB)
Chad T. avatar image Chad T. Thaneswaran B. ·

okay, well i do know that system properties can take a while to show up, Have you recycled the host/anent since setting the properties?

0 Likes 0 · ·

yes both Oneagent and the JVM process was restarted. We could be able to see the DT_CUSTOM_PROP entry in the JVM argument. It shows up like this;

Not sure why there's a "back slash". Can you please confirm the entry into the system properties is correct? thanks.

I was trying to look for docs on DT site for JBoss entry, i was able to find one for TomCat but not for JBoss. If you have any link that will be very helpful as well.

0 Likes 0 · ·
1590156205999.png (3.9 KiB)
Chad T. avatar image Chad T. Thaneswaran B. ·

Interesting, im not 100% sure where the issue is then, Maybe someone else on the forums will sport the issue. You also might want to open a ticket or support chat with Dynatrace on this.

0 Likes 0 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions session replay diagnostic tools permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android