# Can Packetbeat check connectivity between two servers?

**URL:** <https://discuss.elastic.co/t/can-packetbeat-check-connectivity-between-two-servers/298114>\
**Category:** Elastic Observability\
**Created:** [February 24, 2022, 5:32am UTC](https://discuss.elastic.co/t/can-packetbeat-check-connectivity-between-two-servers/298114 "2022-02-24T05:32:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamdyahmed1984](https://avatars.discourse-cdn.com/v4/letter/h/9dc877/32.png) [@hamdyahmed1984](https://discuss.elastic.co/u/hamdyahmed1984)\
**Post date:** [February 24, 2022, 5:32am UTC](https://discuss.elastic.co/t/can-packetbeat-check-connectivity-between-two-servers/298114/1 "2022-02-24T05:32:16Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![sholzhauer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sholzhauer/32/110282_2.png) [@sholzhauer](https://discuss.elastic.co/u/sholzhauer)\
**Post date:** [February 24, 2022, 1:44pm UTC](https://discuss.elastic.co/t/can-packetbeat-check-connectivity-between-two-servers/298114/2 "2022-02-24T13:44:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hamdyahmed1984](https://avatars.discourse-cdn.com/v4/letter/h/9dc877/32.png) [@hamdyahmed1984](https://discuss.elastic.co/u/hamdyahmed1984)\
**Post date:** [February 24, 2022, 2:42pm UTC](https://discuss.elastic.co/t/can-packetbeat-check-connectivity-between-two-servers/298114/3 "2022-02-24T14:42:54Z")

</div>

Thanks,

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 8:34am UTC](https://discuss.elastic.co/t/can-packetbeat-check-connectivity-between-two-servers/298114/4 "2022-11-04T08:34:23Z")

</div>


