question

Cicoa C. avatar image
Cicoa C. asked ·

Synthetic alerts for one application on 2 agents

Hi everyone,
I have an application that is played on 2 different agents simultaneously. I want to set an alert (DCRUM) on this application that will only trigger when both robots will encounter an error on the same transaction at the same time.
How to do ?
Thanks for your help.

alertingnam serveresm
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Cicoa C. avatar image
Cicoa C. answered ·

Thank you for your help and this information.

Best Regards

CICOA

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Jacek J. avatar image
Jacek J. answered ·

Hello Cicoa,

This is very interesting case.

To handle it, I would take advantage of fact that encountering the errors by robot(-s) will always result in availability metric degradation, and that means marking the Agent as availability affected. With this information, the rest seems to be simple - all you need to do is create alert with your Application as a filter (or filter and dimension), Transaction as a dimension and Synthetic Agent as a filter (and fulfill it with your 2 agents names or addresses). Then define condition with metric Availability affected users = 2.

The only problem with this idea is fact, that for Synthetic and Sequence alerts (I suppose you may like to use such kind of alerts) we do not have metric Affected users yet. Good news is that this metric (as well as many other new metrics and dimensions) will be available in alert mechanism in 2018 release (Beta version already available!).

As a temporary workaround, I can suggest you creating two separate alerts for your two agents and use some 3rd party tool to merge them. I know it s not perfect solution, but perhaps it will be sufficient before starting using 2018.

Best Regards

Jacek

4 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Hello Jacek,

Thank you for your help and your complete answer.
However, I can not make the alert that you indicate me.
I can not find the Availability affected users dimension.
What type of alert should I choose to have this metric?

Thank you.

CICOA

0 Likes 0 · ·

Hello,

As I mentioned in my previous response, metric Affected users for Enterprise synthetics (previously

Synthetic and Sequence) alerts is not available yet, but will be available in 2018 release.

Best Regards

Jacek

0 Likes 0 · ·

Hi Jacek,

Thanks for your precisions.
You tell me to merge 2 alerts into one with a third party tool.
Do you have any suggestions or procedures for doing this because I do not see how to do it and it could be a temporary possibility until the 2018 release.
Thank you in advance

0 Likes 0 · ·

Hi,

By 'merge two alerts with 3rd party tool' I meant merging notifications produced by those two alerts. I'm sorry, I should have been more precise.

So, for example, I can think about creating email notification with subject "Issues on agent 1" for first alert, email notification with subject "Issues on agent 2" for 2nd alert and checking your mailbox for presence of two emails with those topics within time range of your choice. Presence of those two emails would mean issues reported by both synthetic agents, which is exactly your case. Instead of sending email you may consider script producing special kind of entries in txt file or database.

Of course instead of manual checking the mailbox (txt file or database), you may consider writing script doing it automatically. You can either do it yourself or contact Dynatrace Services for assistance.

Best Regards

Jacek

0 Likes 0 · ·