# Watcher to make HTTP requests to multiple host nodes as a form of redundancy

**URL:** https://discuss.elastic.co/t/watcher-to-make-http-requests-to-multiple-host-nodes-as-a-form-of-redundancy/84212
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting
**Created:** [May 2, 2017, 7:33am UTC](https://discuss.elastic.co/t/watcher-to-make-http-requests-to-multiple-host-nodes-as-a-form-of-redundancy/84212 "2017-05-02T07:33:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![agf](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@agf](https://discuss.elastic.co/u/agf)
#### Post date: [May 2, 2017, 7:33am UTC](https://discuss.elastic.co/t/watcher-to-make-http-requests-to-multiple-host-nodes-as-a-form-of-redundancy/84212/1 "2017-05-02T07:33:12Z")

</div>

I have a separate watcher server which hosts all of my watchers. My watchers monitor my ES cluster which consists of multiple nodes. My watchers use 'HTTP requests' inputs.

One of my uses for watchers is to monitor the health of my ES cluster ([https://www.elastic.co/guide/en/watcher/current/watch-cluster-status.html](https://www.elastic.co/guide/en/watcher/current/watch-cluster-status.html)). So far it has been working great as an early warning mechanism. However, one flaw that I've recently observed is that if the 'host' node being queried is the one that fails, no notification gets sent out.

Now I'm wondering if there is a way for the watcher to query multiple hosts as a backup in the case the original host node fails.

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [May 15, 2017, 9:03pm UTC](https://discuss.elastic.co/t/watcher-to-make-http-requests-to-multiple-host-nodes-as-a-form-of-redundancy/84212/2 "2017-05-15T21:03:13Z")

</div>

Hey,

you can use [chained input](https://www.elastic.co/guide/en/watcher/2.4/input.html#input-chain) with two webhooks and then check those results. Make sure you add a proper timeout to the HTTP calls.

--Alex

---

<div class="post-metadata">

### Author: ![agf](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@agf](https://discuss.elastic.co/u/agf)
#### Post date: [May 16, 2017, 2:13am UTC](https://discuss.elastic.co/t/watcher-to-make-http-requests-to-multiple-host-nodes-as-a-form-of-redundancy/84212/3 "2017-05-16T02:13:39Z")

</div>

Cool! Thanks for that tip

---

<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: [June 13, 2017, 2:24am UTC](https://discuss.elastic.co/t/watcher-to-make-http-requests-to-multiple-host-nodes-as-a-form-of-redundancy/84212/4 "2017-06-13T02:24:42Z")

</div>

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