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

conditionnal monitoring

Solved839 views12th July 2023conditionnal monitoring
2
joel Joly489 19th September 2022 0 Comments

Hello DOJO

I need to set a condition on an alarm template line
I want to determine a condition by comparing the content of 2 lines from a table
How do I use single row parameter to have a comparison between the value of the line 1 and the line 2 of my table ?
Each value I set is replaced by "All rows" after saving the condition

I have tried with index number, with or without key, and content string but it failed
The "Using conditions in an alarm template" documentation doesn't speak about this parameter

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

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Alberto De Luca [DevOps Enabler]4.58K Posted 20th September 2022 6 Comments

Salut, Joel

Is the info at this link of any help?
https://docs.dataminer.services/user-guide/Basic_Functionality/Protocols_and_templates/Alarm_templates/Configuring_alarm_templates.html 

Scroll down to this section:

The key bit is that monitoring is disabled if the condition you specify is true, as displayed in the GUI of the Alarm Template section in Cube:

Comparing would then be a matter of identifying the correct logical condition you need: it's rather the "union" (="OR") or the "intersection" (= "AND") of the two lines that becomes relevant to build your conditional monitoring.

Most protocols are ok when your condition is based on values in the same table - if the condition has to be based on values in a different table, I'd recommend some ad-hoc testing.

HTH

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 12th July 2023
joel Joly commented 21st September 2022

Hi Alberto

thank you for this answer
I already read this documentation
usually I use the conditional option without any problem by combining several parameter with AND and OR and Value with equal, match, not match and so on

Now, I have a table, and I need to match in this table, let’s say:
line1=A AND line6=B

So I want to be able to put conditions on specific lines on the same table by using Single row in place of All rows

Alberto De Luca [DevOps Enabler] commented 21st September 2022

Is each line a row parameter?
I’d expect you can define a condition on each parameter and combine them with the usage of “AND” & “OR” ~ pretty much what you’ve shown in the screenshot ~ what I don’t get is the “All parameters” issue you’ve mentioned ~ each line is a single line in the Alarm Template, conditions are specific to that line.

joel Joly commented 27th September 2022

To be more precise
The protocol used is : generic HTTP query

HTTP query response parameter is a table and contains for each line the response sent by each server
Each line represents a web server to be tested (200,404, 500, etc.)

What I want to evaluate, is the content of the response of each server (line), to determine the status of each server based on text pattern

So,
if server one is master, and server two is also master it’s raise an alarm,
if server One is monitor and server two is master no alarm raised, etc.

This is why I need to be able to put a condition for each line separately

If I use a condition, it is evaluated for all lines of the table
By example
If I search for text “monitor”, it’s searched in all lines
Then if one line contains monitor and one other line contains master
Or if a line contains monitor and an other contains also monitor, the condition is always evaluated to true

Alberto De Luca [DevOps Enabler] commented 27th September 2022

Then if I understand correctly, you are not using the “condition” to disable an alarm that would be otherwise present – perhaps, for this use-case, it’s worth testing also an approach based correlated alarms – e.g. generate an info event for each server becoming master – and escalate the event to an alarm where two masters are present in the same pair – just for curiosity: isn’t the underlying engine able to mange this? If so, you might have a different parameter to monitor if this kind of conflict appears.

joel Joly commented 28th September 2022

I think it’s not possible to make a comparison by using one row in this case
the documentation says :
Note also that if the monitored table and the table used in the condition are the same or are not related, the condition will be applied to all cells in the monitored column, but only when the cell specified in the condition changes. If the two tables are related, the condition will apply to all cells in the monitored column that are linked to the row containing the cell specified in the condition.

https://docs.dataminer.services/user-guide/Basic_Functionality/Protocols_and_templates/Alarm_templates/Configuring_alarm_templates.html

I am going to follow your advice, Thank you Alberto

Show 1 more comments
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

Invoke HTTP Session from QAction 1 Answer | 1 Vote
Masked alarmes permission management 0 Answers | 0 Votes
Remove all Widgets from Section 2 Answers | 5 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