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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Embedding an alarm field into the Value massage of a correlated alarm

311 views17th January 2025
1
Ken O'Connor546 15th January 2025 0 Comments

I have an alarm generated with a field (named FIELD_YYYYY) containing a string (for example XXXXXXX:ID151)

I have created a correlated alarm to capture all the occurrences of this alarm based upon that field (so all occurrences of all alarms with the FIELD_YYYYY and the  contents of that field = XXXXXXX:ID151). It triggers when it receives 10 alarms in 15 minutes. This works well and the value field in the new alarm describes this event.

The value of the FIELD_YYYYY can change so for example, you may get a correlated alarm based on all the alarms with XXXXXXX:ID68

What I would like to do is incorporate the value of that common field into the new alarms ‘Value’ message (so something like ‘There has been a number of alarms for XXXXXXX:ID68’). The correlation rule is grouped on this field.

Similar to a script action such as count(*) >= 2 where you can insert a count of the number of alarms triggering the correlation rule into the new correlated alarm’s Value field (by also selecting the ‘Evaluate value’ option). Is there a similar syntax where you can use to capture the common contents of the field FIELD_YYYYY ??

So, for example, the Value message would say ’There are a number of alarms for XXXXXXX:ID68 (or any other value such as XXXXXXX:ID151)

So possiblbly use the following??

property([alarm].[FIELD_YYYYY])

Many Thanks

Wouter Demuynck [SLC] [DevOps Advocate] Answered question 17th January 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Wouter Demuynck [SLC] [DevOps Advocate]6.02K Posted 17th January 2025 2 Comments

Hi Ken,

You should be able to use [property(Alarm.FIELD_YYYYY)] as a placeholder in the alarm value for a new alarm action.

(also see Script condition functions | DataMiner Docs)

Wouter Demuynck [SLC] [DevOps Advocate] Edited comment 7 days ago
Ken O'Connor [DevOps Member] commented 24th January 2025

Thanks Wouter. How would you express it in the Script Condition (under the Rule condition)?

I have the Alarm Value as follows:-

A number of File Validation Alarms have triggered for [property(ALARM.ENTITY.ID)]

Wouter Demuynck [SLC] [DevOps Advocate] commented 7 days ago

Hey Ken, you can refer to alarm properties from script conditions using placeholders like the example below:

Script Condition:

property(Alarm.CustomAlarmProp) == "abc"

=> this will cause the rule to execute its actions as soon as one of the alarms in the bucket has a custom alarm property called "CustomAlarmProp" with "abc" as value

Note that in these expressions, there are no square brackets.

Documentation on the script condition syntax and available functions is here: https://docs.dataminer.services/user-guide/Advanced_Modules/Correlation/Correlation_rule_syntax/Condition_format.html

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