• 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 karthikeyan s. · Jan 14, 2016 at 07:06 AM · configuration agent collector

Issue in connecting apache and tomcat agent with collector

Hi,

We are facing issue in connecting the apache agents to connect the Dynatrace collector.

We checked the following options

1. Both the host and DT collector are on same network

2. There is no Firewall issue.

3. DT collector and the server is running with latest DT version 6.1.0.8387

4. There is no Collector grouping, also tried by removing the collectorlist.* from the dir.

Please suggest us the solution.

From Tomcat log, I saw following:

2016-01-12 09:19:01 [04e71815] info [native] Trying to connect to rgh3n0c:11023 for up to 60 seconds

2016-01-12 09:19:01 [04e71815] info [native] Connected successfully

2016-01-12 09:19:01 [04e71815] info [native] Server requests us to use Agent 6.1.0.8387 with a hash of 7c22b0ce964cc1d4f901baaf536466be

2016-01-12 09:19:01 [04e71815] info [native] Agent already available locally

2016-01-12 09:19:01 [04e71815] info [native] Loading Agent /xjp/dynatrace/agent/linux-x86-64/agent/downloads/6.1.0.8387/native/linux-x86-64/libdtagentcore.so

2016-01-12 09:19:01 [04e71815] info [native] POSIX clock type CLOCK_MONOTONIC detected

2016-01-12 09:19:01 [04e71815] info [native] Loading collector peer list from /xjp/dynatrace/agent/linux-x86-64/agent/conf/collectorlist.bxpcnj_tomcat-qa-xjp-rest.partition_r003ytn0c

2016-01-12 09:19:01 [04e71815] info [native] POSIX clock type CLOCK_MONOTONIC detected

…

2016-01-12 09:19:01 [04e71815] info [native] Agent name .................. bxpcnj_tomcat-qa-xjp-rest.partition_r003ytn0c

2016-01-12 09:19:01 [04e71815] info [native] Server/Collector ............ rgh3n0c:9998

2016-01-12 09:19:01 [04e71815] info [native] Interface type .............. JVMTI

2016-01-12 09:19:01 [04e71815] info [native] Process ID .................. 10344

2016-01-12 09:19:01 [04e71815] info [native] JVM name .................... Java HotSpot(TM) 64-Bit Server VM 23.21-b01

2016-01-12 09:19:01 [04e71815] info [native] JVM vendor .................. Oracle Corporation

2016-01-12 09:19:01 [04e71815] info [native] JVM info .................... mixed mode, sharing

2016-01-12 09:19:01 [04e71815] info [native] Detected application server: Apache Tomcat

2016-01-12 09:19:01 [04e71815] info [native] Could not retrieve LoadBalancing configuration from rgh3n0c:9998 (111): Connection refused

2016-01-12 09:19:01 [04e71815] info [native] Trying to connect to Server/Collector for up to 19 seconds

2016-01-12 09:19:21 [04e71815] severe [native] Exception while connecting to collector, info:<connect()/apr_socket_connect(), 111, Connection refused>

@

**********************

Though there is no Collector grouping, we removed the collectorlist.* from the dir and tried but it results the same.

2016-01-13 16:01:35 [8a1fa8fe] info [native] Could not retrieve LoadBalancing configuration from rgh3n0c:9998 (111): Connection refused

2016-01-13 16:01:35 [8a1fa8fe] info [native] Trying to connect to Server/Collector for up to 19 seconds

2016-01-13 16:01:55 [8a1fa8fe] severe [native] Exception while connecting to collector, info:<connect()/apr_socket_connect(), 111, Connection refused>

2016-01-13 16:01:55 [8a1fa8fe] warning [native] Unable to register with Server/Collector rgh3n0c:9998, CONTINUING WITHOUT INSTRUMENTATION.

Thanks

Karthik

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.

2 Replies

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

Answer by Andreas G. · Jan 14, 2016 at 07:39 PM

Is there anything in the collector log? there are several "communication channels" between agent and collectdor. in the beginning it seems you get a successful connection to download the collector list. the next attempt fails though. So - looking at the collector log would be interesting

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 Mikhail A. · Jan 14, 2016 at 09:00 AM

Do your Collector locate in same domain which Tomcat? Try to write the full name of the collector (with domain or localhost) or better write ip-adress in agent conf string

And also check that the ports 9998 will be open

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

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Instrumentation Issue: Why Application Servers are not configuring, while the webservers for the same machines are configuring?

Adobe Flash Player on dynatrace version 5.6 or 6.2

Configuration for JUnit Test Perfomance View (Business Transaction, Measure, Sensor pack methods)

One agent reporting to two Servers?

Agent can't connect to dynatrace server. How to configure the firewall.

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