• 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 Stefan K. · Nov 21, 2014 at 04:03 AM ·

Virtualized IP address / 127.0.0.1 not working for web server agent

Hello everyone,

I run into a problem when starting a local web server (XAMPP) on a Citrix system with virtualized IP addresses together with the dtwsagent module. The agent inside the web server tries to send data to its peer service over 127.0.0.1, but the peer is listening on a virtual local ip other than that. I confirmed this behavior by turning on detailed logging information for the web server agent.

Is it possible to configure the local ip the web server agent uses to connect to its peer service or does some other workaround exist?

Best regards

Stefan

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.

3 Replies

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

Answer by Andreas G. · Nov 21, 2014 at 07:45 PM

Hi. Are you talking about the dynaTrace Web Server Agent or the Module that gets loaded into Apache? Can you post the log file you are looking at?

I assume you talk about the web server agent. This agent gets the connection information from dtwsagent.ini. You can just change the collector addreses from 127.0.0.1 to any IP that will work for you and then restart the dynaTrace Web Server Agent Service

Andi

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 Stefan K. · Nov 21, 2014 at 08:23 PM

Hi Andi,

the web server agent successfully connects to the collector (I can see this in the dynaTrace Client), but the Apache module cannot connect to the web server agent (peer service) because I cannot configure the IP, just the port. From the Apache module log (increased debug level) I can see that it tries to connect to its "peer service" at 127.0.0.1:<portOfWebServerAgent>.

I can send you the log on Monday, but if you have any ideas beforehand, please let me know.

Stefan

PS. I assumed that the Apache module gets its connection information from the dtwsagent.ini as well, please correct me if I am wrong.

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 21, 2014 at 09:09 PM

Can you tell me which dT version you are using?

And yes - you are correct - it gets the port configuration from dtwsagent.ini. We first try localhost. Starting with dT 6.1 we then also test 127.0.0.1. Its not configurable to use a different IP. In your case I assume localhost gets resolved with 127.0.0.1. If that doesnt work for your environment you can change that in your hosts file on your windows box and specify a differnt IP for localhost

Please give this a try

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