# Execute single check across multiple agents

**URL:** <https://discourse.sensu.io/t/execute-single-check-across-multiple-agents/2925>\
**Category:** Sensu Go\
**Created:** [June 21, 2022, 8:36pm UTC](https://discourse.sensu.io/t/execute-single-check-across-multiple-agents/2925 "2022-06-21T20:36:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbayer](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@kbayer](https://discourse.sensu.io/u/kbayer)\
**Post date:** [June 21, 2022, 8:36pm UTC](https://discourse.sensu.io/t/execute-single-check-across-multiple-agents/2925/1 "2022-06-21T20:36:30Z")

</div>

Hi,

I have a 3 node backend cluster (v6.6.6) and have a  
bunch of aggregate checks I’d like to run. I’d like to  
have the agents on each backend node subscribe to the  
aggregate checks. However, I end up getting 3 alerts  
each time an aggregate check is tripped.

Is there a clever way to configure the check so that  
it’s run on one of the backend agents but not all of  
them at the same time? Or perhaps silence the 2nd and  
3rd alert? I’ve looked at the fatigue filter but the  
event that it uses always has the ‘occurrences’ parameter  
set to 1 (when the check first trips) since the check is  
coming from a different agent.

thanks,  
Keith

---

<div class="post-metadata">

**Author:** ![jspaleta](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/jspaleta/32/141_2.png) [@jspaleta](https://discourse.sensu.io/u/jspaleta)\
**Post date:** [June 23, 2022, 7:50pm UTC](https://discourse.sensu.io/t/execute-single-check-across-multiple-agents/2925/2 "2022-06-23T19:50:05Z")

</div>

it would probably make more sense to adapt the aggregate check into a BSM workflow.  
Since your doing a aggregate check, there is an aggregate BSM rule template in the documentation that might be relevant:

> **[Monitor Business Services | Sensu Go 6.7](https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-schedule/business-service-monitoring/)**
>
> Use Sensu's business service monitoring (BSM) to monitor every component in your system with a top-down approach that produces meaningful information.

---

<div class="post-metadata">

**Author:** ![kbayer](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@kbayer](https://discourse.sensu.io/u/kbayer)\
**Post date:** [June 24, 2022, 6:36pm UTC](https://discourse.sensu.io/t/execute-single-check-across-multiple-agents/2925/3 "2022-06-24T18:36:09Z")

</div>

Thanks Jef - I’ll look into that.
