# Alerts of 401 when received when trying to send to ServiceNow

**URL:** <https://community.dynatrace.com/t/alerts-of-401-when-received-when-trying-to-send-to-servicenow/38132>\
**Category:** Alerting\
**Tags:** problems-classic\
**Created:** [January 24, 2023, 11:44am UTC](https://community.dynatrace.com/t/alerts-of-401-when-received-when-trying-to-send-to-servicenow/38132 "2023-01-24T11:44:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim2](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tim2](https://community.dynatrace.com/u/tim2)\
**Post date:** [January 24, 2023, 11:44am UTC](https://community.dynatrace.com/t/alerts-of-401-when-received-when-trying-to-send-to-servicenow/38132/1 "2023-01-24T11:44:46Z")

</div>

Hi,

I have a graph set to detect 401 on a alert profile. I’m hoping to create a alert based off this? Any advice?

Thanks,

T

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [January 24, 2023, 8:12pm UTC](https://community.dynatrace.com/t/alerts-of-401-when-received-when-trying-to-send-to-servicenow/38132/2 "2023-01-24T20:12:27Z")

</div>

You can dot it using Metric Events: [Metric events — Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/problem-detection-and-analysis/problem-detection/metric-events-for-alerting)

Example:

Metric: dsfm:server.notifications.problem\_notifications

 ![Screenshot 2023-01-24 at 17.11.14.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/6/8645e50590465e20901fb35e64a2cbb3bcef857e.png)

 ![Screenshot 2023-01-24 at 17.09.06.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/6/a6c9ab87a8228bb6961dbbadcb3c2aab29251adf.png)

You can filter by a specific alerting profile, integration type, etc or let it generic, with filter by RC only.

Try and let us know.

---

<div class="post-metadata">

**Author:** ![tim2](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tim2](https://community.dynatrace.com/u/tim2)\
**Post date:** [February 2, 2023, 2:46pm UTC](https://community.dynatrace.com/t/alerts-of-401-when-received-when-trying-to-send-to-servicenow/38132/3 "2023-02-02T14:46:36Z")

</div>

Thanks for the advice, did it in metric selector instead. Im trying to get it pick up on a alert profile so i can send to a slack channel, figuring out how to tag it.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [February 2, 2023, 4:51pm UTC](https://community.dynatrace.com/t/alerts-of-401-when-received-when-trying-to-send-to-servicenow/38132/4 "2023-02-02T16:51:37Z")

</div>

In Alerting profile Event filter, you can select the metric name (title) you just created.

 ![Screenshot 2023-02-02 at 13.50.37.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/4/a403be58185809d56c34cdc46daa7eeae7f8d738.png)
