Can Packetbeat check connectivity between two servers?

Can I use packet beat to check connectivity between servers or components?
for example, I want to be alerted if the connectivity between 2 components is failed.
If this is possible, how to achieve it?

Hi,

In short: no (or at the very least packetbeat is not meant to).

An option you could evaluate is using heartbeat (uptime) either from a central node
or from the specific nodes and alert when the monitor is down.

Another option you might be able to use is APM (if your components support it) as this will show failed transactions.

Thanks,