cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UEM Health check

gschiattarella
Newcomer

Hi,

I wanted to ask if someone could help me with the following problem

What is the mistake?
Thanks in advance

9 REPLIES 9

Babar_Qayyum
Leader

Hello Giovanni,

Make sure that the HTTP headers x-dtPostBody, x-dtHealthCheck and x-dtAgentId do not get blocked in your environment. The UEM Health Check needs them to work properly.

Please check the below link for the 404 error.

https://community.dynatrace.com/community/display/...

Regards,

Baba

gschiattarella
Newcomer

@Babar Q.:

Thank you for the reply. how can I do to properly set HTTP headers x-dtPostBody, x-dtHealthCheck and x-dtAgentId Thanks in advance

Babar_Qayyum
Leader

Hello Giovanni,

Below are the reasons of this issue, so first of all you will have to verify the below.

JavaScript Agent Delivery

This check verifies that a valid JavaScript Agent is injected into the requested web page.

The Agent is not delivered.

The Agent URL is not reachable. The following reasons may explain why:


  • The Agent path is not handled by a web server with an installed Agent. A typical case is a Java server with an application that runs in a sub-path (e.g. /app/) but no root application is available. When the JavaScript Agent is requested from the root path, it fails.
  • The path of the Agent is not handled by the servlet engine itself, but by a custom part of the app server. (WebSphere sometimes does that for static content). For more information, see KB-464 Requests to dtagent_XXX.js and dynaTrace Monitor result in a 404.
  • The Agent path is blocked by a firewall.

What is your agent and dynatracemonitor path in the User Experience settings?

Is this default or you changed?

What is your JavaScript location on Web/Java?

Regards,

Babar

gschiattarella
Newcomer

Hello Babar,

Thank you for the reply.

This is the configuration:

I hope you can help me!

thanks in advance!!!

Giovanni

Babar_Qayyum
Leader

Hello Giovanni,

What is your application architecture e.g. Web (web server Apache, IIS etc..) > App (.Net, Java etc... > ?

The Agent path is not handled by a web server with an installed Agent.

A typical case is a Java server with an application that runs in a sub-path (e.g. /app/) but no root application is available. When the JavaScript Agent is requested from the root path, it fails.

Can you ask from developers or owner of the application about the sub-path (e.g. /app/)?

  • If they provide you the sub-path, then change the agent location from (/) to provided path.

Last consideration should be to check whether the Agent path is blocked by a firewall.

Regards,

Babar

gschiattarella
Newcomer

Hello Babar,

I set the agent location with the correct path, thanks a lot!

But now I have another problem, here is the error:

What am I doing wrong?

Regards

Giovanni

Babar_Qayyum
Leader

Hello Giovanni,

Provide the same path in the monitor request path.

Regards,

Babar

gschiattarella
Newcomer

Hello Babar,

thanks, now works fine.

thanks a lot for the support!

Regards,

Giovanni

Hello Giovanni,

Great News !!!

Regards,

Babar