# Trigger for more than one server

**URL:** <https://forum.opensearch.org/t/trigger-for-more-than-one-server/2062>\
**Category:** Alerting\
**Created:** [December 30, 2019, 10:18pm UTC](https://forum.opensearch.org/t/trigger-for-more-than-one-server/2062 "2019-12-30T22:18:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghaith](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@ghaith](https://forum.opensearch.org/u/ghaith)\
**Post date:** [December 30, 2019, 10:18pm UTC](https://forum.opensearch.org/t/trigger-for-more-than-one-server/2062/1 "2019-12-30T22:18:10Z")

</div>

Hello everyone,

so i have a monitor that monitors a bunch of servers’ disk usage (for example) every 5mins, and i have a trigger that alerts me if the usage gets over a certain limit as so:

```
ctx.results[0].hits.hits[0]._source.system.filesystem.used.pct > 0.4

```

now whats happening is that if there are 2 servers that exceed the limit it would only alert me for one of them. Now my question is how can i make the trigger alert me for both severs and not just one.

Thank you for any help or guidance.

---

<div class="post-metadata">

**Author:** ![praveensameneni](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@praveensameneni](https://forum.opensearch.org/u/praveensameneni)\
**Post date:** [December 30, 2020, 7:03pm UTC](https://forum.opensearch.org/t/trigger-for-more-than-one-server/2062/2 "2020-12-30T19:03:33Z")

</div>

We are working on document level alerting, the RFC is in draft stage (PR) - [Add RFC for Document-Level Alerting by qreshi · Pull Request #327 · opendistro-for-elasticsearch/alerting · GitHub](https://github.com/opendistro-for-elasticsearch/alerting/pull/327)

---

<div class="post-metadata">

**Author:** ![praveensameneni](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@praveensameneni](https://forum.opensearch.org/u/praveensameneni)\
**Post date:** [December 30, 2020, 7:04pm UTC](https://forum.opensearch.org/t/trigger-for-more-than-one-server/2062/3 "2020-12-30T19:04:14Z")

</div>

Closed on December 30, 2020, 7:04pm UTC


