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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Sending a different e-mail when an alarm clears

Solved2.24K views17th September 2021Correlation rules
4
Laurens Moutton [SLC] [DevOps Enabler]8.89K 17th September 2021 0 Comments

Hi,

I have created a simple correlation rule to notify me when my Microsoft Platform element goes into timeout.

The configured alarm filter looks pretty basic:

A Persistent event is also configured so I only get an e-mail when the element is in timeout for x amount of time.

When this timeout happens, an e-mail gets sent:

This works perfect when the element goes into timeout. But I would also like to be notified when the element goes out of timeout so the checkbox “Execute on clear” is checked. The problem is when the element goes out of timeout that the mail indeed gets sent but with the same e-mail content.

In other words if this element goes twice in and out of timeout during the night then I have received 4 mails by the morning with the same content, while it would be more easy to have received the mails: test server is down, test server is up, test server is down, test server is up. This way I don’t have to start counting if the number of received mails are odd or even and avoid having to log in to the system to see if any action needs to be taken.

So basically it comes down to: I want to receive an e-mail when the element goes into timeout for x amount of time, I want to receive an e-mail when the element goes out of timeout again (in case the first mail was sent) and the content of both e-mails should be different to be able to easily see why that mail was sent.

I’m not interested in other severities of the element. I thought about creating a second correlation rule when the “Communication state” parameter goes back to “Responding” but in that correlation rule I’m not aware if the persistent event was reached to trigger the original correlation rule (I would then only receive the responding e-mails while the timeout mail was not sent). An alternative could be to have an automation script as action that analyses the content of the triggering correlation rule and based on that send different mails but that seems to make it more complex.

Laurens Moutton [SLC] [DevOps Enabler] Selected answer as best 17th September 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
8
Ruben Vandepitte [SLC] [DevOps Advocate]2.32K Posted 17th September 2021 1 Comment

When you right-click in one of the mail text fields (eg ‘Subject’ or ‘Message’), you can choose to insert placeholders. Perhaps you could distinguish both events by using the [severitylevel] or [type] placeholder?

Laurens Moutton [SLC] [DevOps Enabler] Selected answer as best 17th September 2021
Laurens Moutton [SLC] [DevOps Enabler] commented 17th September 2021

Brilliant solution! Thanks, that will meet the requirements.

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
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