# Can oneagent report on error url's (eg application is down page with and 200 OK)

**URL:** <https://community.dynatrace.com/t/can-oneagent-report-on-error-urls-eg-application-is-down-page-with-and-200-ok/6388>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [June 7, 2017, 2:09pm UTC](https://community.dynatrace.com/t/can-oneagent-report-on-error-urls-eg-application-is-down-page-with-and-200-ok/6388 "2017-06-07T14:09:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [June 7, 2017, 2:09pm UTC](https://community.dynatrace.com/t/can-oneagent-report-on-error-urls-eg-application-is-down-page-with-and-200-ok/6388/1 "2017-06-07T14:09:12Z")

</div>

I have an application with nicely gives a warning page if something is wrong. As an example when the database is full the application gives a nice error page with a 200 ok.

It would be nice if this was recognized by oneAgent

Henk

---

<div class="post-metadata">

**Author:** ![Philipp\_Kastner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/philipp_kastner/32/28797_2.png) [@Philipp\_Kastner](https://community.dynatrace.com/u/Philipp_Kastner)\
**Post date:** [June 7, 2017, 2:26pm UTC](https://community.dynatrace.com/t/can-oneagent-report-on-error-urls-eg-application-is-down-page-with-and-200-ok/6388/2 "2017-06-07T14:26:14Z")

</div>

Hi Henk,

one possibility to catch this is to create a [web check](https://help.dynatrace.com/user-experience-monitoring/web-checks-and-availability/how-do-i-create-an-availability-web-check/) with content validation. If the error page shows up, the web check would fail and a problem is generated. You can find more details how to configure the content validation here: [https://help.dynatrace.com/user-experience-monitor…](https://help.dynatrace.com/user-experience-monitoring/web-checks-and-availability/how-do-i-configure-my-web-checks/)

Kind regards, Philipp

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [June 7, 2017, 2:34pm UTC](https://community.dynatrace.com/t/can-oneagent-report-on-error-urls-eg-application-is-down-page-with-and-200-ok/6388/3 "2017-06-07T14:34:46Z")

</div>

Hi Philipp,

Great tip thx, unfortunately in this situation we do not have internet access, so I think no web checks in this environment (yet)

KR Henk

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [September 29, 2022, 11:06am UTC](https://community.dynatrace.com/t/can-oneagent-report-on-error-urls-eg-application-is-down-page-with-and-200-ok/6388/4 "2022-09-29T11:06:35Z")

</div>

Private Synthetic would be the best option I guess. Webchecks from within your own perimeter.  
(Writing) an extension might be another.

Actually I have a similar question, but then in regard to RUM.  
According to this article pages with 200 ok and an application specific error message can not be captured within RUM  
[Can RUM JS capture or identify a custom error on a xhr request - Dynatrace Community](https://community.dynatrace.com/post/187342)

In another article there is talk of&nbsp;custom error/string detection captured from the users session via a string detection.  
[Solved: Form Validation Error Tracking - Dynatrace Community](https://community.dynatrace.com/post/119609)

---

<div class="post-metadata">

**Author:** ![Viachaslau](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@Viachaslau](https://community.dynatrace.com/u/Viachaslau)\
**Post date:** [September 29, 2022, 11:54am UTC](https://community.dynatrace.com/t/can-oneagent-report-on-error-urls-eg-application-is-down-page-with-and-200-ok/6388/5 "2022-09-29T11:54:29Z")

</div>

We faced with the same problem.  
Decided to go with custom action for error event + action property as error message (this is for RUM)

For server side if exception raised - you will able to filter 200OK by exception type (this is applicable for proxies and gateways that raised errors in body with 200OK response)
