question

Hogan K. avatar image
Hogan K. asked ·

OneAgent on AppMon -- changing communication port

Hi,

We have a AppMon 7.0 collector host with 5 collector instances on running on a range of port 9995 to 9999 for classic agents and port 8042 to 8044 for One Agents.

We are recently testing One Agent for NGINX but do not know how to change the comm port to 8042 or 8044 -- not seemed to be in dtwsagent.ini and also no mention in documentations.

Is this possible?

Thanks

configurationagent7.0NGINX
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.

Gastón B. avatar image
Gastón B. answered ·

Thank you very much @Babar Q !!!

I will try that !

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.

Gastón B. avatar image
Gastón B. answered ·

i have the same problem. Port 8043 timed out because there is no 8043 open in the collector side.

2018-10-22 19:37:05.584 UTC [4abd687f] warning [native] Bootstrapping failed: unable to perform request using https://x.x.x.x:8043/communication: Timeout was reached. Totaltime: 19.9432s, Uploadsize: 260b, Downloadsize: 0b, Connecttime: 0s 2018-10-22 19:37:05.584 UTC [4abd687f] info [native] Could not read persisted agent binary path:

The only port open is 9998.

<agentlistenaddressconfig>

<listenaddress agentaddress="" agentport="9998" />

</agentlistenaddressconfig>


Is it here where i should open the 8043 port?

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

Hello @Gaston B.

As per the documentation port # 8043 uses for the Node.js Agent connection.

You can change these ports in Settings > Dynatrace Server... > Services > General

Ensure that your firewall configuration allows communication between the components.

Regards,

Babar

0 Likes 0 · ·
Babar Q. avatar image
Babar Q. answered ·

Hello Hogan,

Edit communication port in <DT_HOME>/collector/conf/collector.config.xml and <DT_HOME>/server/conf/server.config.xml respectively.

Check the following link for the communication setup:

https://www.dynatrace.com/support/doc/appmon/installation/set-up-communication-connections/

Regards,

Babar

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

Hi Babar, thanks for your response. I don't find the link provides any steps/guide in changing the communication port for One agent.

We have collectors listening on 8042, 8043 and 8044. But I could not find a way to edit (on agents) to connect by port 8042 or 8044.

Perhaps this is not documented? Thanks

0 Likes 0 · ·