cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to use the value of another metric as a condition for a metric event?

jose_araya
Advisor

Hello the scenario is the following:

 

1. We need to alert on the status of certain jobs (IBM i Jobs). If they are not active we need to create a new alert/problem in Dynatrace.

2. First we have to take into account which IBM i is the Active node, because we don't need to create alerts for jobs running on other systems that are currently passive (avoid false positives).

3. In order to be sure about which one is the Active node at the moment, we have to query a specific table inside one of the IBM i. This query returns the current active node.

 

So the use case is the following:

1. How to create metric events for those jobs but only when they are running on the Active IBM i node? 

2. Is it possible to add inside a metric event a condition that evaluates the value of another metric? Because we already have the metric that returns the current active node.

 

Any help would be greatly appreciated!

3 REPLIES 3

DanielS
DynaMight Guru
DynaMight Guru

Hello @jose_araya this could be a great use case for Workflows !!!!

 

The true delight is in the finding out rather than in the knowing.

PacoPorro
Dynatrace Champion
Dynatrace Champion

Hi @jose_araya , unfortunately this is not possible using Metric Events, but @DanielS pointed you to the right direction.
Take a look on https://www.youtube.com/watch?v=xOFzaOzvUPE

https://docs.dynatrace.com/docs/platform-modules/automations/workflows/trigger/event-trigger

 

jose_araya
Advisor

Thank you all very much! I will investigate further.

Featured Posts