# Watcher: \[parse\_exception\] password is a required option when trying to call cluster status

**URL:** <https://discuss.elastic.co/t/watcher-parse-exception-password-is-a-required-option-when-trying-to-call-cluster-status/134852>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [June 6, 2018, 6:01pm UTC](https://discuss.elastic.co/t/watcher-parse-exception-password-is-a-required-option-when-trying-to-call-cluster-status/134852 "2018-06-06T18:01:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpendela](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@rpendela](https://discuss.elastic.co/u/rpendela)\
**Post date:** [June 6, 2018, 6:01pm UTC](https://discuss.elastic.co/t/watcher-parse-exception-password-is-a-required-option-when-trying-to-call-cluster-status/134852/1 "2018-06-06T18:01:52Z")

</div>

Referring to below thread,

> [@Watcher reporting basic auth not working, password not saved](https://discuss.elastic.co/t/watcher-reporting-basic-auth-not-working-password-not-saved/108597):
>
> Hello, this watcher below is not working for me. Whenever I add the password field, it doesn't get saved. I thought it was only hidden, but running the watcher returns: "Watcher: [parse\_exception] password is a required option". I can send other emails with the same default account with no issues, but I can't generate reports if I can't authenticate. { "trigger": { "schedule": { "interval": "1m" } }, "input": { "none": {} }, "condition": { "always": {} }, "actions": { "send\_email…

I am experiencing same issue, we allow only https communication.

here is my watcher call,

```auto
{
  "trigger": {
    "schedule": {
      "interval": "10s"
    }
  },
  "input": {
    "http": {
      "request": {
        "scheme": "https",
        "host": "my-ip",
        "port": 9200,
        "method": "get",
        "path": "/_cluster/health",
        "params": {},
        "headers": {},
        "auth": {
          "basic": {
            "username": "user",
            "Password": "user-password"
          }
        }
      }
    }
  },
  "condition": {
    "compare": {
      "ctx.payload.status": {
        "not_eq": "green"
      }
    }
  },
  "actions": {
    "send_email": {
      "email": {
        "profile": "standard",
        "to": [
          "user@domain.com"
        ],
        "subject": "Cluster Status Warning",
        "body": {
          "text": "Cluster status is RED/YELLOW"
        }
      }
    }
  }
}

```

Getting **Watcher: [parse\_exception] password is a required option**

Along with that,

I have one more question, if I have multiple elastic-search nodes in my cluster and pointing to specific node, what if that node goes down?, How watcher call execute?

---

<div class="post-metadata">

**Author:** ![rpendela](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@rpendela](https://discuss.elastic.co/u/rpendela)\
**Post date:** [June 11, 2018, 2:18pm UTC](https://discuss.elastic.co/t/watcher-parse-exception-password-is-a-required-option-when-trying-to-call-cluster-status/134852/2 "2018-06-11T14:18:47Z")

</div>

Can anyone help me hear?

---

<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:** [June 22, 2018, 2:18pm UTC](https://discuss.elastic.co/t/watcher-parse-exception-password-is-a-required-option-when-trying-to-call-cluster-status/134852/3 "2018-06-22T14:18:41Z")

</div>

have you tried `password` with a lowercase `p` instead of an upper case one?

---

<div class="post-metadata">

**Author:** ![rpendela](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@rpendela](https://discuss.elastic.co/u/rpendela)\
**Post date:** [June 26, 2018, 3:28pm UTC](https://discuss.elastic.co/t/watcher-parse-exception-password-is-a-required-option-when-trying-to-call-cluster-status/134852/4 "2018-06-26T15:28:50Z")

</div>

@spinscale Thanks, that worked

---

<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:** [July 24, 2018, 3:28pm UTC](https://discuss.elastic.co/t/watcher-parse-exception-password-is-a-required-option-when-trying-to-call-cluster-status/134852/5 "2018-07-24T15:28:56Z")

</div>

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