Synthetic Monitoring
Browser monitors, HTTP monitors, synthetic locations.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Synthetic NAM - script mode

Hello dear community members!

is it possible in the same Synthetic NAM TCP configuration (while in script mode) to include one port 8080 for a list of target (1.2.3.20,1.2.3.21) and a separate additional port (7070) compared to another list of target (1.4.3.40,1.4.3.41) ?



Regards,

Yann

4 REPLIES 4

I found out that yes, this is possible also via GUI.
Here is the doc: https://docs.dynatrace.com/docs/shortlink/nam-monitor#requests
"If you want to create another request, select Add next request and specify the above for the next request."


Ah but there is a catch if you configure the synthetic to perform in multiple step, if one of the step fails, the follow up step is not executed.

So if one tested ip/port fails on step1 then all the tcp test on step2 won't be executed.

Yes, that’s possible in one monitor by adding multiple requests/steps with different targets and ports.
The important limitation is that in a multi-step monitor, if one step fails, the following steps won’t be executed.
So if you need independent validation for both target groups, it may be better to create separate monitors instead of a single multi-step one.

@HannahM actually found the solution to this problem as she suggested me how step could be exectued one after the other even if one or more check is failing within the current step.

Here is how:

in Synthetic Monitoring NAM TCP configuration you just set the constrain type >= 0 and this will guarantee that the stp, even when failing will follwo on the subsequent steps and continue checking the other targetssynth.png

 

 

Regards

 

 

Featured Posts