So, I’ve been reading similar threads (like this one and this one) on how to obtain the amount of current active alarms.
I know that there are system tags already for that , however I need the couter separated by priority and group (folder). I also know that this is possible via scripting, however I don’t understand how to use it.
I have doubts like:
- How should the inputs be formatted?
- What’s the output and how do I get just a count of the active alarms?
- Do I need an intermediate dataset-type tag to temporarily store the results?
- Can I filter the results by the folder the tags are in?
- How do I make sure the script is running the whole time?
And so on.
Any help will be greatly appreciated.