# How will i know that elasticsearch has crashed or stopped working?

**URL:** https://discuss.elastic.co/t/how-will-i-know-that-elasticsearch-has-crashed-or-stopped-working/140988
**Category:** Elasticsearch
**Created:** [July 21, 2018, 9:20am UTC](https://discuss.elastic.co/t/how-will-i-know-that-elasticsearch-has-crashed-or-stopped-working/140988 "2018-07-21T09:20:54Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Shrimp-Fried-Rice](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shrimp-fried-rice/32/33360_2.png) [@Shrimp-Fried-Rice](https://discuss.elastic.co/u/Shrimp-Fried-Rice)
#### Post date: [July 21, 2018, 9:20am UTC](https://discuss.elastic.co/t/how-will-i-know-that-elasticsearch-has-crashed-or-stopped-working/140988/1 "2018-07-21T09:20:54Z")

</div>

i have few questions in mind,

1. Is there way to get notified if elasticsearch crashes or stops working ?

2. is there system in place to auto start elasticsearch if it crashes ? just like in mysql ?

3. can i start elasticsearch and forget about it ? its been running from last 4 days without any issues.  
i mean, i can rest in peace knowing that website searches are working properly ?

4. or does it need regular/constant monitoring ?  
if yes, then what type of monitoring ?

right now i am monitoring from kibana \> monitoring \> indices \> my\_index

Thanks for your time  
have a great day ahead.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 22, 2018, 9:16pm UTC](https://discuss.elastic.co/t/how-will-i-know-that-elasticsearch-has-crashed-or-stopped-working/140988/2 "2018-07-22T21:16:02Z")

</div>

Do you monitor other systems you have in place? This isn't a question specific to Elasticsearch 🙂

---

<div class="post-metadata">

### Author: ![Shrimp-Fried-Rice](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shrimp-fried-rice/32/33360_2.png) [@Shrimp-Fried-Rice](https://discuss.elastic.co/u/Shrimp-Fried-Rice)
#### Post date: [July 23, 2018, 2:27am UTC](https://discuss.elastic.co/t/how-will-i-know-that-elasticsearch-has-crashed-or-stopped-working/140988/3 "2018-07-23T02:27:32Z")

</div>

i monitor site uptime using pingdom, aka nginx , phpfpm

mysql has auto restart after crash.

Thanks

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 23, 2018, 4:31am UTC](https://discuss.elastic.co/t/how-will-i-know-that-elasticsearch-has-crashed-or-stopped-working/140988/4 "2018-07-23T04:31:00Z")

</div>

You can call `HOST:9200` and that will tell you if that host is running Elasticsearch properly.  
You can also use things like [https://www.elastic.co/products/x-pack/monitoring](https://www.elastic.co/products/x-pack/monitoring)

There's no way to auto restart it though.

---

<div class="post-metadata">

### Author: ![Shrimp-Fried-Rice](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shrimp-fried-rice/32/33360_2.png) [@Shrimp-Fried-Rice](https://discuss.elastic.co/u/Shrimp-Fried-Rice)
#### Post date: [July 23, 2018, 5:54am UTC](https://discuss.elastic.co/t/how-will-i-know-that-elasticsearch-has-crashed-or-stopped-working/140988/5 "2018-07-23T05:54:45Z")

</div>

Thank you, that will work.,

checking if curl request to 9200 comes back positive and do accordingly.

---

<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: [August 20, 2018, 5:54am UTC](https://discuss.elastic.co/t/how-will-i-know-that-elasticsearch-has-crashed-or-stopped-working/140988/6 "2018-08-20T05:54:45Z")

</div>

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