How to ensure Port connectivity from one machine to other lets say DB

Hi Geeks,

I have install postgres on one server. On other server i have installed vault. I want to monitor either vault server is accessing 5432 port of postgress or not. If there is some network issue so that i could get to know. Please guide me regrading this use case. I could not find plugin like telnet etc.

Thanks

check-port.rb will fullfil your need.