Cloud Templates browser / Alarms / Active Alarms:
The “TagPath” filter of Active Alarms template is not working. I tried to add another filter “displaypath” and didn’t succeed.
The existing expression for Alarms counter is:
runScript(“len(system.alarm.queryStatus(path=[’”+
{Active Alarms.TagPath}+
“*’],state=[”+
if({Active Alarms.ActiveAndAcked},"‘ActiveAcked’,","")+
if({Active Alarms.ActiveAndUnacked},"‘ActiveUnacked’,","")+
if({Active Alarms.ClearAndAcked},"‘ClearAcked’,","")+
if({Active Alarms.ClearAndUnacked},"‘ClearUnacked’,","")+
“]))”,1000)
Pls provide the right expression to query with either TgaPath or displaypath. Thanks.