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

Alarm template setting

Solved1.40K views19th July 2023alarm template
1
Jacky Cheng [SLC] [DevOps Member]20 17th March 2021 0 Comments

Dear DoJo,

I have setup an alarm for a input parameter [upstream mirror] which have below response:

for 1. input [http://a.a.a.a], alarm output is green; 2. any other input [*], alarm output is critical red

i would like to further optimize the output:

1. input [http://a.a.a.a], alarm output is amber; 2. input [blank / nothing], alarm output is green

3. any other input [*], alarm output is critical red

I found that the alarm threshold input [blank] is not allowed and [not initialised] also not generate the right output.

any hints?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Jamie Stutz [SLC] [DevOps Member]1.18K Posted 17th March 2021 0 Comments

Hi Jacky,

I think what you’re looking to do is something like this, correct? Where I have a Normal alarm state (green) for a blank, a Major (yellow) for specified IP and then Critical (red) for everything else.

If so, I set this up on the Generic Table driver using the Text parameter since it doesn’t include the “Not Available” option. To do this, I first created a row in the alarm template that has the IP you want to look for in the MAJ HI column and an * in Critical for everything else. Next, I duplicated the row and set that row to a Normal state for all entries.

The trick here is to use a Condition to determine which alarm row should be used based on the value. The logic is, if I can find a “192” (or whatever IP range you’re useing), I can assume it is a valid IP and I use the first alarm template row. If not, I use the second. To set this up, on the first row, I set the following condition so the row evaluates only rows that have an IP (I do so looking for a 192 in the test value):

For the second alarm template row, I used the opposite condition:

The end results is that I can alarm MAJ HI on the value I want, CRITICAL on all other IP values and Normal on everything else. You might have to adjust the logic to your particular needs, but this should get you close.

Hope this helps!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023
2
Miguel Obregon [SLC] [DevOps Catalyst]18.63K Posted 17th March 2021 1 Comment

Hi Jacky,

A possible option for this case could be updating the driver so you can deal with these exception values. For example, you can define an exception when the parameter value is ‘Empty’:

In the alarm template you will be able to choose the exception value and assign the corresponding severity:

Jamie Stutz [SLC] [DevOps Member] Posted new comment 17th March 2021
Jamie Stutz [SLC] [DevOps Member] commented 17th March 2021

LOL.. Miguel beat me to the bunch as I was testing / posting my solution. This would be a LOT simpler of an approach if a driver modification is possible. If not, the use of a Condition should get you there! 🙂

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