How to check connectivity between CA Performance Management components without telnet
Telnet is found on fewer and fewer systems and therefore cannot be used to check connectivity on those systems. The curl command is often found on these systems and can be used to check connectivity.
The curl command can be used as follows to check connectivity:
curl -v telnet://<host>:<port>
Example, checking connectivity from the Data Collector to the Data Aggregator:
Successful test:
curl -v telnet://dahostname:61616
* About to connect() to dahostname port 61616 (#0)
* Trying xx.xx.xx.xx... connected
* Connected to dahostname (xx.xx.xx.xx) port 61616 (#0)
* RCVD IAC 0
^C
That’s ^C to terminate the command.
Changing to a bad port for an example of not connecting:
curl -v telnet://dahostname:61617
* About to connect() to dahostname port 61617 (#0)
* Trying xx.xx.xx.xx... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host