Alerts stay active after removal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Alerts stay active after removal
We have made some changes to alerts on property values. Some of the alerts remain active although they were removed from the system and we are having difficulties to remove them from the system. Did anyone else see this problem? Any idea is welcome
Thanks Erik
Solved! Go to Solution.
- Labels:
-
Troubleshooting
- Tags:
- alerts
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If the alert is acknowledged (and has been disabled/ removed from the property), it shouldn't impact anything else. It will still show up in the Alert Summary page as it shows historical data (same as Alert History) and there is no way to purge the Alert Summary at the moment (because the data displayed is an from in-memory and not from the database). On the flip side, Alert History is saved on a Stream, so that can be purged.
In any case, I have an enhancement ticket filed with the devs on purging the entries (and purging non-existent Alerts) from the Alert Summary table. I'll keep the thread posted on any updates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Erik Halvordsson, By removed; do you mean deleted or disabled? Is there any error in logs.
I would suggest you to restart your application once to see if it helps. Also, try clearing your browser cache.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Ankit,
Thanks for the quick reply. We used to have an Alert on a property and it was named Over40.
After deleting the alert from the property we still see the Over40 alert when we run GetAlertSummary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Erik, was this Alert acknowledged? If you go to Monitoring -> Alert Summary, do you still see that there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Aanjan,
Yes the alert was acknowledged so the status is acknowledged and active, but the alert has been removed from the property..
// Erik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
We will do a restart tomorrow and see if it disappears then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If the alert is acknowledged (and has been disabled/ removed from the property), it shouldn't impact anything else. It will still show up in the Alert Summary page as it shows historical data (same as Alert History) and there is no way to purge the Alert Summary at the moment (because the data displayed is an from in-memory and not from the database). On the flip side, Alert History is saved on a Stream, so that can be purged.
In any case, I have an enhancement ticket filed with the devs on purging the entries (and purging non-existent Alerts) from the Alert Summary table. I'll keep the thread posted on any updates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Aanjan Ravi, any updates? Other customers seem to have the same problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Pascal, just to check, what version of ThingWorx are you using? I see that one of the associated enhancements on how Alerts functions has been fixed on 7.3.0. I'll confirm with the local team and update the thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It has been fixed on 7.3.0. You can use 'AcknowledgeAlertFromSummary' to acknowledge and 'DeleteAlertFromSummary' to delete specific Alerts respectively.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Great thanks Aanjan,
We did a purge on the stream and then restarted the system. After that, the "ghost" alerts are gone.
Many thanks
Best regards
Erik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Erik Halvordsson, we had the exact same problem. If it happens again, can you please check if you could open the Thing that was alerted in the composer? We coudn't, only a restart did the job (which is highly inconvenient).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi all, I'm also experiencing this problem, namely with GetAlertSummary() service.
I still don't understand why this is happening?! I rely on the fact that I can dynamically create and edit alerts (handling a large number of machine alarms).
The workaround I came up with was to call the service again and then re-create "stuck" alerts as per resultant infotable.
However, this is highly inconvenient. A number of rows of the resultant infotable supposed to represent an accurate number of active alerts.
Was there any follow-up on this matter? Thanks.