# Alarm Count - Active, Unacked, and Unshelved

**URL:** <https://forum.inductiveautomation.com/t/alarm-count-active-unacked-and-unshelved/95635>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [September 6, 2024, 1:58pm UTC](https://forum.inductiveautomation.com/t/alarm-count-active-unacked-and-unshelved/95635 "2024-09-06T13:58:59Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [September 6, 2024, 3:44pm UTC](https://forum.inductiveautomation.com/t/alarm-count-active-unacked-and-unshelved/95635/8 "2024-09-06T15:44:25Z")

</div>

Reference this as I made some tweaks from an exchange resource, but this will summarize alarms and get counts, etc.

> [@Highest active alarm underneath a given tagPath](https://forum.inductiveautomation.com/t/highest-active-alarm-underneath-a-given-tagpath/93769/2):
>
> I've made a modified version of the alarm summary script I found on here at one time to do just that. I literally made the change yesterday to it, although mine has a lot of other stuff I'm doing too, so let me see if I can clean it up, but essentially it's a Gateway script that runs like once a second and keeps track of all the alarms and dumps that in a global variable, then in each folder I have an "area" tag that parses that global tag and finds all the alarm stats for tags starting with the…

---

_[View the full topic](https://forum.inductiveautomation.com/t/alarm-count-active-unacked-and-unshelved/95635)._
