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

Regex in notification rules

chris_oggeri
Participant

Hello,

To avoid creating as many alerting profiles/notification rules as there are use cases, we would like to have the ability to make regex on the available placeholders in the notification rules.

For instance, for ITSM notifications, we would like to avoid splitting the alerting rules per type of alert and priority.

We would like to gather the value of the priority in the title of the custom event and use it in the payload of the notification rule for example.

Example:

Alert titles: disk_fatal_threshold_p2_alertinfra (then p1/p2/p3/etc.)

Notification payload: { "event_id": "{PID}-{ProblemID}", "inc_priority": "{ProblemTitle\.*?p(.)_alertinfra}", ....}

Is there any capability to fulfil this need? I did found we could use regex in the documentation.

Thanks for your help.

 

Edit: Maybe something smarter could be allow us to use the Property attribute setup in the metric event as a placeholder like we can use with Tags.

1 REPLY 1

tibebe_m_digafe
Advisor

@chris_oggeri  you may want to look at this -- https://community.dynatrace.com/t5/Product-ideas/RFE-Customize-Problem-Notification-mainly-by-email/...

So far, there's no functionality to parse "placeholders" AFAIK.

Thanks. Tibebe

Featured Posts