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

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

Solved1.27K 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]6.97K 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.17K 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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 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