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

A question regarding a special correlation rule

Solved1.29K views6th September 2021
2
Ken O'Connor542 18th August 2021 3 Comments

Hi.. This is my first question on here so bear with me.

I have an alarm that I would like to correlate based upon expiry time. The Value field contains the time as it counts down. So...

  1. The initial alarm will come in as a standard minor alert. The expiry value will be 24 hours.
  2. The correlation rule will create a new alarm for this and when the count reaches 15 hours to expiry, the original alarm will get escalated to a Major alarm
  3. The next part of the correlation rule will perform the same function when the time reaches 8 hours to expiry and this part of the rule will escalate the alarm to a critical

I would like to contain this in one correlation rule if possible.

Any advice/workarounds/suggestions would be greatly appreciated.

Thank you

Ive Herreman [SLC] [DevOps Enabler] Selected answer as best 6th September 2021
Ive Herreman [SLC] [DevOps Enabler] commented 18th August 2021

Hi Ken,

While this isn’t an answer to your question, I’d like to understand why you would like to do this through correlation. You could easily set the 24, 15, and 8 hours values in the alarm template under different severities to achieve the desired outcome.

Ken O'Connor [DevOps Advocate] commented 18th August 2021

Hi.. Thanks for the reply..

Yes I am considering templates.. The actual original alert gets generated as a 60min expiry and as a major (which is no good). I was planning to use the alarm template to change it to a Minor initially and perform the rest with a correlation rule. With this in mind, what are your thoughts?

Rene De Posada [SLC] [DevOps Advocate] commented 19th August 2021

I think what Ive is trying to say is that you can apply hysteresis and multiple alarm severities for the same event and obtain the same result.

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Ive Herreman [SLC] [DevOps Enabler]13.52K Posted 19th August 2021 4 Comments

Hi Ken,

If the expiry time does not update over time, we might have to use correlation instead.

Please find below two example correlation rules that demonstrate the requested behavior.

Note that for testing purposes I've used a persistence of 10 seconds rather than 9 hours (24-15) and 7 hours (15 - 8).

In the first correlation rule, we apply an alarm filter, to make sure we only feed the expected alarm to our correlation rule, your filter will likely look different than the one I used in the example.

I've also ticked the 'trigger on single events' check box, to make sure every update of the alarm is re-evaluated.

In the rule condition, I define how much time we should wait between receiving the alarm and escalating the alarm. The persistence will be pre-defined and can't be chosen based on the expiry time present in the alarm.

The above rule will escalate a minor alarm to a major alarm.

A secondary rule will be required to escalate the alarm further, to a critical alarm.

Here we need to activate the "accept correlation alarms" check box.
Once this is checked, you need to further tweak your alarm filter with extra caution as we don't want to create an infinite loop where the generated alarms keep on triggering the correlation rule.

In the example below, I made sure only the major alarms for this specific parameter are fed into the correlation rule.

Ive Herreman [SLC] [DevOps Enabler] Selected answer as best 6th September 2021
Ken O'Connor [DevOps Advocate] commented 25th August 2021

Thank you Ive..

Ill give this a go/mess around with it and let you know how it goes.. Much appreciated.

Ken O'Connor [DevOps Advocate] commented 26th August 2021

Hi Ive..

Yes after messing around with it.. It worked fine.. Thanks for the assistance , much appreciated.

Ive Herreman [SLC] [DevOps Enabler] commented 26th August 2021

That’s excellent news! Thanks for letting us know Ken.

Ken O'Connor [DevOps Advocate] commented 6th September 2021

Thanks.. This can be marked as solved.

0
Ive Herreman [SLC] [DevOps Enabler]13.52K Posted 19th August 2021 1 Comment

Hi Ken,

The most straightforward approach would be to use the standard alarming functionality. Through your alarm template, you can define the expected severity for every value of the expiry time.

As the expiry time counts down, the alarm will automatically update each time a new limit is breached.

e.g.

While technically you could get the same result using correlation, it would be much more complex to set up and maintain, but would also put more load and stress on your system. On top of that, you would be unable to achieve this with a single correlation rule, but need 2 correlation rules (one for each severity increase).

Ken O'Connor [DevOps Advocate] Edited comment 19th August 2021
Ken O'Connor [DevOps Advocate] commented 19th August 2021

Hi Thanks for that.. Interesting..
.

So .. Let me add my thoughts..
.

Firstly, the actual expiry time alarm (received into DM as a trap) is held within the ‘Supporting.Data’ field and is part of a sting (file name, expiry time and other details), So we cant use any time functions.
.

So, the reasoning behind correlation is more simple I think.
.

The Alarm arrives in Dataminer (as a Minor alert). After 8 hours, it will escalate (to the next level of severity). Then after another X hours is will escalate again to the next level of severity. Correlation can do that I believe.
.

Thanks

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

How to implement bearer token refresh? 0 Answers | 0 Votes
Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 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 (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) 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