# Davis not picking up events on custom devices

**URL:** <https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772>\
**Category:** Extensions\
**Tags:** activegate, davis, extensions\
**Created:** [November 10, 2020, 1:42pm UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772 "2020-11-10T13:42:46Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 10, 2020, 1:42pm UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/1 "2020-11-10T13:42:46Z")

</div>

Hello everyone,

does anybody know if events for custom devices are picked up by Davis in root cause analysis? I have developed an ActiveGate extension which creates custom devices with IP addresses and ports. When service monitored by OneAgent on other hosts communicate to this custom device, a service on top of the custom device is created and it shows “(Group name) on port xxx” (that’s correct). You can see service flows to custom devices and also custom devices in PurePaths and that’s good - relations are ok. See below:

 ![27250-davis0.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2cc75f75caa09ab8aee7e34d68f598e725dee75b.png)

However if I send some problem opening events for the custom device itself (you cannot send to the “service” entity created on top of the custom device from an extension) and the requests from OneAgent monitored service fail because the custom device fails, it does not correlate in the root cause analysis and I still have two problems:

- The first problem detected by OneAgent including both OneAgent monitored service and service on top on the custom device (failure rate for example)
- The second problem for the custom device itself - the problem I’ve sent via ActiveGate extension

I’ve tried sending different severities, events from extension code, event based on metrics, … without luck.

This is the problem with root cause identified as the service on top of custom device. It’s based on the opaque web service calls:

 ![27271-davis-1.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/0/60796e0ac8690d43789539026634f03e4988a48d.png)

This is the service Dynatrace created on the top of custom device:

 ![27272-davis-2.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/2/12dce1c5ac512ecd6a960eaba0033db0b9f93574.png)

This is the custom device itself. You can notice there are several problems opened, but none of them was taken into the root cause analysis for the first problem.

 ![27273-davis-3.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/a/cacd74e38e9a22fe259b24c4fee04280a7883834.png)

I still think Davis should pick up the events on the custom device itself when it detects problems on a service that the custom device provides. Can anyone ask Davis, please?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [November 10, 2020, 4:30pm UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/2 "2020-11-10T16:30:50Z")

</div>

After reaching out to support to ensure that I get you the correct information, it depends on the custom device itself.

Mainly it depends on how we see custom devices as part of the service flow.

Custom device as proxy → Not yet part of root cause, but is something that is coming soon.

Custom device as endpoint → Yes, it is part of the root cause detection

Custom device not in the service flow → Not going to be used

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [November 10, 2020, 4:52pm UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/3 "2020-11-10T16:52:58Z")

</div>

Hi [@Július L.](https://answers.dynatrace.com/users/16467/view.html)

I cannot help you on this one, but your exposition solved a pending issue I had at the moment.

Thanks!

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 10, 2020, 6:35pm UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/4 "2020-11-10T18:35:45Z")

</div>

[@Chad T.](https://answers.dynatrace.com/users/36422/view.html), in this case, it’s not a proxy - see the service flow. Traffic ends on the custom device as shown in the screenshots. My question was about events on the custom device itself - as you cannot push any problem opening events on the services of custom devices.

It’s similar to standard Oneagent deployment for example if the root cause for response time degradation would be CPU saturation on a host → CPU saturation on the host entity.

In my case, the failure is caused by the custom device itself, but it seems it is not included in the root cause detection.

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [November 11, 2020, 10:41am UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/5 "2020-11-11T10:41:55Z")

</div>

[@Július L.](https://answers.dynatrace.com/users/16467/view.html) could you send me an email with all the links to your problem, so that we can check in detail?

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [November 12, 2020, 11:54am UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/6 "2020-11-12T11:54:43Z")

</div>

We found a merge bug in combination with your scenario which we will fix in release 207. Expect that the merge of Error rate events with error\_level custom events on the custom device works once the 207 release goes into production.

Best greetings,

Wolfgang

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 12, 2020, 12:01pm UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/7 "2020-11-12T12:01:15Z")

</div>

Thanks [@Wolfgang B.](https://answers.dynatrace.com/users/12838/view.html), happy to hear this is going to be fixed soon.

---

<div class="post-metadata">

**Author:** ![Vanguard](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/vanguard/32/29977_2.png) [@Vanguard](https://community.dynatrace.com/u/Vanguard)\
**Post date:** [October 28, 2022, 2:59pm UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/8 "2022-10-28T14:59:31Z")

</div>

[@Julio](https://community.dynatrace.com/user/49277)You wrote “you cannot send to the “service” entity created on top of the custom device from an extension” - do I understand this correctly, from with an ActiveGate Extention, it is NOT possible to create an availability Event via the SDK (report\_availability\_event) to a specific entity, for example a PROCESS\_GROUP\_INSTANCE-\*? That is what I have been trying to do and have failed so far:

 ![Vanguard_0-1666969042069.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/a/7a78c0d8f330ff2d4f517ed0a986fa4f40a4762f.png)

 ![Vanguard_1-1666969113072.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/7b2e414c7fd80be2081f9554d12ba22d7d595d2c.png)

It does in fact open an avail. event with the expected properties but the entity in question is not connected to the Problem 😞

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 31, 2022, 2:11pm UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/9 "2022-10-31T14:11:19Z")

</div>

[@Vanguard](https://community.dynatrace.com/user/42045)&nbsp;correct. The extension 1.0 SDK allows sending events only to entities created by the extension itself.&nbsp;You cannot send events to particular entities. This is possible only by using Event API.

I’m not sure how it’s processed internally. The only ‘supported’ method is to fire such events using events API.

---

<div class="post-metadata">

**Author:** ![Vanguard](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/vanguard/32/29977_2.png) [@Vanguard](https://community.dynatrace.com/u/Vanguard)\
**Post date:** [November 2, 2022, 6:43am UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/10 "2022-11-02T06:43:12Z")

</div>

[@Julius\_Loman](https://community.dynatrace.com/user/3364)Thank you for clarifying this. It is a little unfortunate and should be documented better what is can and cannot do - it is far from obvious.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [November 2, 2022, 7:38am UTC](https://community.dynatrace.com/t/davis-not-picking-up-events-on-custom-devices/20772/11 "2022-11-02T07:38:34Z")

</div>

You are welcome. You can simply use the API from your extension python code, just you need to call the API yourself (including token handling)
