I am trying to check the status of TCP ports of servers from Hearbeat client. I am getting 4 output responses in kibana, three are showing status as false and one status is true. Initially it has failed due to timeout and i have increased the timeout period and after that getting the socket time out error.
In the two servers, I have to verify the ports 80, 443, 8080.
My hearbeat config is below.
- type: tcp
ports: [80, 443, 8080]
schedule: '@every 1200s'
Error seen in kibana:
error.message : dial tcp <ip_no>:443: getsockopt: connection timed out
How to troubleshoot this issue ? any clue what is happening in the above code.