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

Connectivity Host vs. Processes

Babar_Qayyum
DynaMight Guru
DynaMight Guru

Dear All,

The following screenshot shows 100% connectivity on the process (all the processes connectivity is 100%) level but 85% on the host level.

Babar_Qayyum_0-1631458293216.png

 

The below screenshot is from the same host with the TCP connection refused. 

Babar_Qayyum_1-1631458379629.png

What could be the reason behind this mismatching data?

Regards,

Babar

8 REPLIES 8

dave_mauney
Dynatrace Champion
Dynatrace Champion

Connection refused happen due to the lack of a process listening on a port that a client has specified, so unfortunately this situation is quite normal.  It would be awesome if we one day provide client IP and port information for connection refused…

Hello @dave_mauney 

Thank you for your comments.

Do you mean there is another process that is not detected by the Dynatrace?

and the TCP connection refused belong to that process?

 

Regards,

Babar

No, my contention is that there is no process on the monitored host that is listening on the port being called.  Since we don't provide the client IP or port, we cannot really do much more with these in Dynatrace, but you could use other tools to find out what  IP(s) and port(s) are attempting to make these connections.

Hello @dave_mauney 

Thank you. I try to find a way to use some other tools as you suggested.

Regards,

Babar

I interpret this to mean that a TCP port (or ports) is being called on that host, but the port is not being listened to by any of the running processes. Thus, we can't say that any of those listed processes are refusing that connection, since they're not listening to that port in the first place.

 

You could see this e.g. if a load balancer has a health check configured for a port that's no longer used. It would keep the host's connectivity below 100 %, but it wouldn't affect any specific process.

Hello @kalle_lahtinen 

Do you mean that in past someone requested to open the port from any source to this perticular host and now no process is listening on that port?

Regards,

Babar

No, it means that a TCP connection was attempted on this host, but the specific port used in the connection is not being listened to on that host.

 

You should basically be able to lower a host's TCP connectivity metric by just manually running tests for random ports that are not being used. So just pick a port that's not being listened to (you can double check that via netstat) and then run e.g. "curl MyHostName:53777" from a remote server. In the example I chose port 53777 as one that probably wouldn't be used.

 

Btw note that if there's a firewall blocking the connection between your remote server and the host with OneAgent running, that test above would never even end up on the server. So  in order for the host connectivity percentage to go down, the TCP call does have to actually arrive on that host.

Hello @kalle_lahtinen 

Let me check through SolairWinds or any other network tool to understand who is calling which port with the 100% failure rate.

Regards,

Babar

Featured Posts