• 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 Kevin J. · Mar 05, 2012 at 03:52 PM · web performance monitoring

UEM with Custom Apache Rules Defined

I ran into a situation a few weeks ago on a POC where I installed dT on an app that was developed several years ago, and its infrastructure was never really updated.

They wanted to see UEM, but were using Apache 1.x, which we do not support for UEM. The next logical approach was to enable UEM through the Java agent, which we did. This allowed the js file to be injected into each page, but the dT monitoring POSTs were not making it back to the dT server. After spending a lot of time troubleshooting this, with the help of support, we determined the cause had to do with the Apache configuration not allowing the monitoring POSTs to pass through Apache to the app server.

So...for anyone who may run into a situation where Apache is too old, or when Apache has a lot of custom configuration around which requests can pushed to the app server or not, the below snippet might help.

To work around this, I had to add a new rule in the web.xml file for the app to allow the UEM monitoring POSTs to pass through to the app server.

These are sample steps for what I had to do in this environment (OAS 10g), but may vary slightly, depending on the app server in place.

  • Open D:\ora10gas\j2ee\home\dcss\WEB-INF\web.xml
  • add servlet mapping entry to ensure dynaTrace js and monitoring requests make it to the java agent
    *<servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>/dynatrace/*</url-pattern>
    </servlet-mapping>*
  • change dynaTrace UEM settings to specify /dynatrace/ for uem agent and monitor agent paths
Comment
Chad T.

People who like this

1 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.

2 Replies

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

Answer by Kevin J. · Mar 07, 2012 at 05:40 PM

Alex-

Yes, we tried that during the PoC. I don't remember the exact reason now, but I believe it did not work because the server rules were very specific and prevented our posts from making it through.

Kevin

Comment
Chad T.

People who like this

1 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 Alexander S. · Mar 06, 2012 at 05:26 PM

Kevin, this is a good solution.

Have you tried to set the agent and monitor signal to a path already know by the apache? For example the context root of the current web app? So then the signal should also end in the app server and you don't need to redeploy the application.

Alex

Comment
Chad T.

People who like this

1 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

No one has followed this question yet.

Related Questions

UEM visit concerning an Application load balanced on 2 DataCenters

Can we move the Dynatrace Js script to the bottom of the page

Monitoring a specific web client response (zooms, etc)

Filtering page action pure paths by web request URI and Query

Should I see these 409 errors in dT?

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