cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Problems with alerts - urgent help needed

tcoufal
13-Aquamarine

Problems with alerts - urgent help needed

Hi Guys,

We are experiencing some major problems with Alerts on TW 6.6 nad TW 7.0.

We are having few Things with lot of properties all of which are having 2 alerts - type Above > 50 - Warning > 90 - Error.

Property values are changing through a script which is performed every 30s based on timer thing. Everything seems ok until I try acknowledge some alert. First thing that happens is that the second Alert becomes active (Error) no matter if an actual property value meets the criteria for that alert. It says that is also acknowledged by administrator with 0s duration and no message. Those acknowledged alerts are somehow stuck, they are present in Alert summary monitor and as well through the Resources->AlertFunction->QueryAlertSummary even if the actual property values is way between defined alerts. They will disappear eventually, but it takes time. That happens if I use AknowledgeAlert both on Thing and through the Resources AlertFunction.

Second question would be: what is a difference between QueryAlertSummary (Resources-AlertFunction) and GetAlertSummary on a Thing level.

We need this solve this issue quite fast.

Thanks a lot guys.

3 REPLIES 3

Did you opened a support case for it?

tcoufal
13-Aquamarine
(To:CarlesColl)

Not just yet, I would like to have some opinions from you guys first.

Here's some information regarding the services:

GetAlertSummary : Gets the alert summary status for a Thing you are requesting. Can also see ack or non-ack alerts as well. (Current alert state)

QueryAlertSummary : Queries the alert summary. (Works the same as QueryAlertHistory).

QueryAlertHistory : Queries the alert history of data shape of alert history stream for a specific Thing. It can be used across org units, since there is only one alert history stream for the entire application.


Services are based on internal grids:

Alert Summary Grid: Summary list of all alerts and their status

Alert History Grid: Historical list of all alerts and their status

Announcements


Top Tags