I'm currently trying to fetch information from all events that occurred in a given time span. I'm only getting information about the first occurrence. Has anyone experienced this as well and found a solution to it?
Objective:
- A user deletes one or more elements
- In a period of one minute, I want to get all related information events by using an Alarm Filter
- After this time span, I would like to execute an Automation Script
- The Script would need to fetch information from all the occurred events.
Problem:
Step 1 to 3 is working. At step 4, I am only getting information about the first event that has occurred.
Correlation Rule:
Note: Alarm Grouping is used, so the Script only executes once per DataMiner for multiple occurrences. Removing the grouping didn't change anything.
At the moment this is not possible through the available functionality in the Automation module.
There is a way to request the buckets through the 'GetCorrelationStatusMessage'.
Most likely you will be able to request the data you want, if you have the ID of your correlation rule.
Keep in mind that the use of SLNet messages is on your own risk.
It is possible that SLNet messages get changes/removed over different DataMiner versions.
Thanks for your suggestion Michiel. I’ve got it to work with this message. I wasn’t able to identify the bucket (filter), but I just filtered on the Correlation Rule and while processing, I have found the correct bucket based on the Alarm ID I received in my incoming script parameter information. In the bucket, I could find all the information events that I needed.