Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Correlation – Retrieve information when Rule Condition is set to Collect events for x minutes

Solved1.63K views18th November 2024Automation Correlation
8
Jarno Lernou [SLC] [DevOps Enabler]5.00K 26th August 2020 0 Comments

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:

  1. A user deletes one or more elements
  2. In a period of one minute, I want to get all related information events by using an Alarm Filter
  3. After this time span, I would like to execute an Automation Script
  4. 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.

Jarno Lernou [SLC] [DevOps Enabler] Selected answer as best 28th August 2020

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Michiel Saelen [SLC] [DevOps Enabler]5.63K Posted 27th August 2020 8 Comments

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.

For Martin:

Martin Vrzba [DevOps Member] Posted new comment 19th November 2024
Jarno Lernou [SLC] [DevOps Enabler] commented 28th August 2020

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.

Martin Vrzba [DevOps Member] commented 18th November 2024

Hi Michiel, Jarno,

I found this thread while working on a similar request and I have an issue.
I'm trying to execute an automation script upon every new element creation, however, the script should be executed with a delay of 3 minutes after element was created (to fetch some initial data, etc).

I trigger the rule based on an information event coming from the "DataMiner Element Control Protocol" with value "Element created" and have the "Collect events for 3 minutes after first event" enabled.
This works great – if there is only 1 element created in the 3 minute window.
If there are more elements created within the collection window, the second and any subsequent event does not start the script.

Do you have any suggestion on how to simply delay the execution of an automation script based on an information event for 3 minutes independently from other (following) events?

Thank you.

Michiel Saelen [SLC] [DevOps Enabler] commented 18th November 2024

Hi Martin,
I assume you want to have a look at this question: https://community.dataminer.services/question/correlation-rule-collects-historical-alarms/
Let me know if you are able to retrieve all alarm/information events within your bucket. Or if you are actually trying to achieve something else

Martin Vrzba [DevOps Member] commented 18th November 2024

Simply put: I'd like to execute an automation script based on a information event but with a delay of 3 minutes. And, if an event matching same filter occurs with the delay, the script needs to be executed again independently. I am not able to achieve this, due to reasons described above.
Is there a quick answer to this please?
Thanks.

Michiel Saelen [SLC] [DevOps Enabler] commented 18th November 2024

Simple way is to put a sleep in your automation script "engine.Sleep(180000);" and use the immediate evaluation in your correlation rule. Note that if you have a lot of events in 3min (e.g. connector update or DMA restart) that you might end up with a lot of scripts running at the same time.

Show 3 more comments
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin