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
    • 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
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to disable a Correlation Script Action (sending an e-mail) with an Automation script

Solved1.30K views8th March 2024automation scipt Correlation rule
1
Jacques Smit [DevOps Enabler]94 17th May 2022 0 Comments

We have 2 correlation scripts that sends an e-mail to a robot that creates trouble tickets if there is a critical alarm which persists for 10 seconds or longer.

In the case with major incidents (alarm storm) you will have a situation where you want to stopt the Correlation script from sending e-mails for auto ticket creation.

Can we do this with an automation script? We would like to execute the script by pressing a button in a visio file. Their should be a major alarm that the correlation script is disabled.

Nils Hoven [DevOps Advocate] Answered question 8th March 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Toon Casteele [SLC] [DevOps Enabler]7.01K Posted 17th May 2022 1 Comment

If I understand the use case correctly, I would probably make the correlation mail action part of another automation script.

Script A can then contain c# code, if/else blocks or anything else that checks on a flag (a memory file value, a property…).

That flag can be set from the script you execute from Visual overview.

So in short:

  1. Visual Overview button executes a script “A” that sets a flag “X” somewhere
  2. Correlation rule calls a script “B” when it triggers
  3. Script “B” contains a check on flag “X” before it sends a mail.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 14th July 2023
Jacques Smit [DevOps Enabler] commented 17th May 2022

Hello Toon, thanks for your answer. I’m going to do some experimentation:)

0
Nils Hoven [DevOps Advocate]1.19K Posted 8th March 2024 1 Comment

Hi everyone,

we’ve had the same request in the past: is there a way to activate/deactivate a correlation rule based on a user action. Skyline actually came up with exactly what Jaques was asking for: an automation script wich enables or disables a certain correlation rule, based on the input of the script (name of the correlation rule + enable/disable value).

The scripts header does prohibit to share its content:

The content of this script is confidential information.
The user hereby agrees to keep this confidential information strictly
secret and confidential and not to disclose or reveal it, in whole
or in part, directly or indirectly to any person, entity, organization
or administration without the prior written consent of
Skyline Communications.

Anyway, here is some clue who developed this script at Skyline that was called “CorrelationRuleUpdate“:

Revision History:
DATE        VERSION        AUTHOR            COMMENTS
09/01/2023    1.0.0.1        RME, Skyline    Initial version

Maybe Skyline can publish or provide this, so that this workaround (which is actually working pretty nicely) is available for other customers as well.

BR
Nils

Koen Bouckhout [SLC] [DevOps Advocate] Posted new comment 20th March 2024
Koen Bouckhout [SLC] [DevOps Advocate] commented 20th March 2024

Hi Nils,

You are absolutely right. We have now published the script we built previously. As mentioned it allows to pass the name of the script together with a parameter (enable/disable) to either enable or disable the script via automation. Easy also to launch the script from a Visio.
You can find the script in the catalog via the below link:
https://catalog.dataminer.services/details/automation-script/5966

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