question

Sebastian K. avatar image
Sebastian K. asked ·

Keeping host metrics after setting it up again (AWS)

Hello,

our client deployment process contains killing host and creating it once again with one agent and new application build. Unfortunately the problem is that after each deployment metrics for this host are starting from the beginning. Host name and IP are the same. The question is... is it any way to tell dynatrace that this new host is the same that was available moment ago? Host is changing so processes has the same story.

Sebastian

oneagentdynatrace saashost monitoringamazon web services
4 comments
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.

Can you preserve the configuration directory of oneagent? It includes the generated unique ID of the host. I think this is also related to MAC addresses of network interfaces. Are they also preserved?

0 Likes 0 · ·

I think for now everything is being deleted to the ground and recreated so nothing is left after previous installation.

Sebastian

0 Likes 0 · ·
  • When is the Oneagent installed?
  • Is it a from scratch OS installation or some kind of VM image restore?
  • Do the MAC addresses of network cards change between the individual lifecycles?
  • Can you assure there will be no more than one instance of this VM?
  • Can you somehow manage the lifecycle?

This is effectively an anti-pattern - as if the host gets really reinstalled - it is, in fact, a new host and should be treated accordingly.
If it is the same image just restored to a snapshot - you have to convince the customer to include oneagent into the image or at least the configuration files.

0 Likes 0 · ·

Julius, general it is AWS, so host is killed and srarted from scratch. One agent is installed after setting up new instance (after application deployment) with the same IP and host name. I don't know what with MAC Address. I don't think it will be easy to put oneagent into host image because there is 5 or 6 host types that use the same os image I think. For now I'm checking options we have.

Sebastian

0 Likes 0 · ·

1 Answer

Chad T. avatar image
Chad T. answered ·

At this time I dont think thats possible. AS if the AWS instance is completely cleared, then all the config files will be gone as well, and the oneagent will deploy with a new GUID and hence you will see a new host (might have the same name, but the Dynatrace GUID is different) It might be a good idea to post a RFE for this is your organization needs this functionality.

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.

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