# Alarm stuck in alarm viewer

**URL:** <https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493>\
**Category:** Ignition\
**Created:** [January 8, 2011, 1:18am UTC](https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493 "2011-01-08T01:18:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RRNut](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RRNut](https://forum.inductiveautomation.com/u/RRNut)\
**Post date:** [January 8, 2011, 1:18am UTC](https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493/1 "2011-01-08T01:18:10Z")

</div>

Deleting a tag that has an active alarm causes it to be stuck in the alarm viewer.

Not sure how to fix.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [January 10, 2011, 4:37pm UTC](https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493/2 "2011-01-10T16:37:33Z")

</div>

have you tried stopping and starting the gateway?

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [January 10, 2011, 4:42pm UTC](https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493/3 "2011-01-10T16:42:31Z")

</div>

You can restart the Gateway to wipe out all current alert info, but the catch is that there is a .alerts file that allows alarms to persist across gateway restarts. You can find it in “C:\Program Files\Inductive Automation\Ignition\contexts\main”. Just delete that and restart the gateway to make Ignition rebuild the current active alerts.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [January 10, 2011, 6:49pm UTC](https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493/4 "2011-01-10T18:49:04Z")

</div>

To add just a bit of clarification to that- you need to stop the gateway, delete the “.alerts” file, and then start the gateway. Deleting it while the gateway is running will just cause it to get written again on shutdown.

Ultimately, this shouldn’t happen- when you delete a tag, it sends an “unregister” message to the alert system. Something must have occurred along the way. If something like this comes up again, try to grab the log files and send them to us, in case something useful is reported.

Regards,

---

<div class="post-metadata">

**Author:** ![brad.sampson](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@brad.sampson](https://forum.inductiveautomation.com/u/brad.sampson)\
**Post date:** [January 18, 2018, 7:18pm UTC](https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493/5 "2018-01-18T19:18:55Z")

</div>

I have actually had this happen multiple times. Previously I have just had to restart the gateway to remedy the problem. Right now I have the issue with four different alarms and I cannot find the directory that you are referring to.

---

<div class="post-metadata">

**Author:** ![imt.sebastian.sanche](https://avatars.discourse-cdn.com/v4/letter/i/ecb155/32.png) [@imt.sebastian.sanche](https://forum.inductiveautomation.com/u/imt.sebastian.sanche)\
**Post date:** [October 31, 2018, 8:54pm UTC](https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493/6 "2018-10-31T20:54:44Z")

</div>

I have alarms stuck but they have not been erased, one theory was that the “Enable” with an expression was causing this but I have both ones with expression and with no binding. Any comment in this? The alarms are driven by an Allen Bradley PLC in case this helps.

---

<div class="post-metadata">

**Author:** ![downerczx](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/downerczx/32/11649_2.png) [@downerczx](https://forum.inductiveautomation.com/u/downerczx)\
**Post date:** [October 5, 2020, 1:36pm UTC](https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493/7 "2020-10-05T13:36:12Z")

</div>

Has this file location changed? I have a bunch of alarms that need to be re-initialized, but I can’t find this file to delete.

---

<div class="post-metadata">

**Author:** ![downerczx](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/downerczx/32/11649_2.png) [@downerczx](https://forum.inductiveautomation.com/u/downerczx)\
**Post date:** [October 5, 2020, 2:58pm UTC](https://forum.inductiveautomation.com/t/alarm-stuck-in-alarm-viewer/2493/8 "2020-10-05T14:58:29Z")

</div>

Is it now /Ignition/data/.alarms\_\*\*\*\* ?
