# Uptime alert on HA heartbeat deployments

**URL:** https://discuss.elastic.co/t/uptime-alert-on-ha-heartbeat-deployments/287138
**Category:** Synthetics
**Created:** [October 19, 2021, 10:26pm UTC](https://discuss.elastic.co/t/uptime-alert-on-ha-heartbeat-deployments/287138 "2021-10-19T22:26:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mojohoho](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mojohoho](https://discuss.elastic.co/u/mojohoho)
#### Post date: [October 19, 2021, 10:26pm UTC](https://discuss.elastic.co/t/uptime-alert-on-ha-heartbeat-deployments/287138/1 "2021-10-19T22:26:03Z")

</div>

Having Heartbeat deployed to multiple hosts, I would like to be alerted only when a monitor (e.g. ICMP probe on "[example.org](http://example.org)") fails on all of them.

For example, on the /app/uptime page, the panel on the bottom ("Monitors") shows each monitor status as "Up in x/y hosts" or "Down in a/b hosts". How can we access these values when setting up the logic for alert rules?

---

<div class="post-metadata">

### Author: ![jkambic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkambic/32/53306_2.png) [@jkambic](https://discuss.elastic.co/u/jkambic)
#### Post date: [October 21, 2021, 2:27pm UTC](https://discuss.elastic.co/t/uptime-alert-on-ha-heartbeat-deployments/287138/2 "2021-10-21T14:27:04Z")

</div>

Hi @mojohoho - at the moment all of the functionality behind the Monitor Status rule is around logical "or". For example if I have three locations A, B, C, it is possible for me to define a rule that says "alert me if A _or_ B is down", but not "A _and_ B". Our thinking in this implementation is that most people will want to know if _anything_ important they're monitoring becomes unavailable.

This is an interesting use case, but it's also the first time someone has requested it. I [have created](https://github.com/elastic/uptime/issues/391) an enhancement request based around this, but I can't guarantee if or when we will make it a priority to implement it.

---

<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 14, 2021, 2:27pm UTC](https://discuss.elastic.co/t/uptime-alert-on-ha-heartbeat-deployments/287138/3 "2021-11-14T14:27:29Z")

</div>

This topic was automatically closed 24 days after the last reply. New replies are no longer allowed.
