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
    • 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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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

Script to trigger false alarm

Solved1.26K views27th June 2022alarm False script
1
Hugo REHBEN203 23rd June 2022 0 Comments

Hello everyone,

In order to test an automation I would like to trigger a false alarm on a specific element through a script.
I'd like this script to take as parameters :
1. ID of the element
2. ID & IDX of the parameter which will trigger the alarm
3. State of the alarm : major or critical or low
I wonder if one of you has in her/his possession a similar script which I could use as a template.

Thanks for you time guys !

PS : I know that there is a possibility to trigger a false alarm by modifying the alarm template, but a script like this would really be helpful for my activity.

Hugo REHBEN Selected answer as best 27th June 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Miguel Obregon [SLC] [DevOps Catalyst]18.57K Posted 23rd June 2022 2 Comments

Hi Hugo,

You mention that you would not like to modify the alarm template. Is there any reason why this is not an option?

Instead of assigning the alarm template manually, you could assign the alarm template in the automation script. For example:

  • Create an alarm template that will trigger the alarm that you would like to test
  • In the automation script:
    • Assign the new alarm template to the element under test to generate the alarm (Set Alarm Template)
    • Perform your validation/test
    • Assign the previous alarm template to the element so the alarm is cleared
Miguel Obregon [SLC] [DevOps Catalyst] Posted new comment 28th June 2022
Hugo REHBEN commented 25th June 2022

Hello Miguel,

Thanks for your answer.
First I didn’t know that there was a method to assign an new alarm template. I will try this method.
Correct me if I am wrong but it means that everytime I want to use that script to trigger alarms on different elements, I will have to create a new alarm template for each element ?

Miguel Obregon [SLC] [DevOps Catalyst] commented 28th June 2022

Hi Hugo,
As you know alarm templates are defined at protocol level. In the automation script you can assign the same alarm template to multiple elements, if required

You are viewing 1 out of 1 answers, click here to view all answers.
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin