# Watch.poll\_file

**URL:** https://discuss.elastic.co/t/watch-poll-file/75761
**Category:** Beats
**Tags:** heartbeat
**Created:** [February 20, 2017, 3:16pm UTC](https://discuss.elastic.co/t/watch-poll-file/75761 "2017-02-20T15:16:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![SargeSilver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sargesilver/32/15700_2.png) [@SargeSilver](https://discuss.elastic.co/u/SargeSilver)
#### Post date: [February 20, 2017, 3:16pm UTC](https://discuss.elastic.co/t/watch-poll-file/75761/1 "2017-02-20T15:16:17Z")

</div>

When removing a monitor from a poll\_file i can see in the heartbeat log that the change is read into heartbeat, but the removed entry is still being polled.

To resolve i have had to restart heartbeat, should this be the case?

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [February 20, 2017, 3:53pm UTC](https://discuss.elastic.co/t/watch-poll-file/75761/2 "2017-02-20T15:53:32Z")

</div>

could it be the task has been active while being removed?

If a monitors poll\_file is update, all jobs are cancelled (even those that did not change). But if you configured hosts in the monitor itself, then these will always generate a job.

Can you share you config and logs?

---

<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: [March 20, 2017, 3:53pm UTC](https://discuss.elastic.co/t/watch-poll-file/75761/3 "2017-03-20T15:53:33Z")

</div>

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