• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by Jibi U. · Nov 22, 2014 at 03:30 AM ·

Agent rename and [number] gets added

 

I sometimes see that after JVM restart, the agent gets renamed with a bracket and number added ..... how can this be prevented as sometimes people have dashboards filtered by agent and they see data missing and causes some confusion....

Agent Details
Name: APP_PROD_DC[1]@APPABC.com:18918

 

Jibi

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

5 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Jibi U. · Nov 24, 2014 at 01:12 PM

Made the change as below : 

 

# WARNING:
# Manual changes in this file, except changes that are related to memory allocation, may cause severe problems and system instability.
# Apply manual changes only if you have explicit instructions from dynaTrace Support.
-basedir
collector
-restartonfailure
-vmargs
-Xmx2G
-Xms2G
-XX:MaxPermSize=128m
-XX:PermSize=128m
-XX:+UseConcMarkSweepGC
-XX:+DisableExplicitGC
-XX:CMSInitiatingOccupancyFraction=60
-XX:+UseCMSInitiatingOccupancyOnly
-XX:CMSIncrementalSafetyFactor=40
-XX:+CMSClassUnloadingEnabled
-XX:-EliminateLocks
-XX:-DoEscapeAnalysis
-XX:-UseLoopPredicate
-Dosgi.configuration.area=osgi
-Dosgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, com.dynatrace.diagnostics.collectorbootstrap@4:start
-Declipse.ignoreApp=true
-Dosgi.noShutdown=true
-Djava.util.logging.manager=com.dynatrace.diagnostics.util.modern.LogManager
-Djava.awt.headless=true
-Dorg.osgi.framework.language=en
-Dosgi.framework.extensions=com.dynatrace.diagnostics.bootstrap.hook
-Dosgi.nl=en_US
-Dosgi.nl.user=en_US
-Duser.country=US
-Duser.language=en
-server
-XX:+UseCompressedOops
-Dcom.dynatrace.diagnostics.collector.agentcenter.unique_agent_names_with_index=false

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image

Answer by Jibi U. · Nov 24, 2014 at 01:08 PM

Thanks Jason, Andi. I will try it out. 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image

Answer by Jason O. · Nov 22, 2014 at 03:51 AM

Jibi,

It's getting indexed. There are a few posts already about this. This one: Agents gets an index after reboot might help you out as there are some similarities to your problem.

When you restart the JVM, the dT server keeps the old agent while the new one (that gets an index) comes online. The old one won't get any data and will show as disconnected. If you leave this agent is disconnected for 3 days, it will remove itself, but this can be problematic as you're filtering by agent.

Perhaps you should take a look at this post too: Unique Agent Names with Index . It describes how to turn the indexing off in the collectors and this may help with your issue.

I'm not an expert on this, however, I have researched it a bit and thought I'd point you in the right direction.

Jason

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image

Answer by Andreas G. · Nov 22, 2014 at 03:50 AM

Here are the details on how to toggle that feature: Unique Agent Names with Index

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

avatar image

Answer by Jibi U. · Nov 22, 2014 at 03:31 AM

For the particulr case agent path was

-agentpath:/opt/tomcat/dynatrace/current/agent/lib64/libdtagent.so=name=APP_PROD_DC,server=dtserver.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

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

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A