# Efficiency with many SNMP devices

**URL:** <https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675>\
**Category:** Extensions\
**Tags:** snmp, extensions\
**Created:** [July 13, 2023, 11:04am UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675 "2023-07-13T11:04:16Z")\
**Posts on this page:** 12\
**Page:** 1

<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:** [July 13, 2023, 11:04am UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/1 "2023-07-13T11:04:16Z")

</div>

I have a v2 extension, SNMP, that has around 1500 devices. Initially, most of them were created in blocks with 100 devices.

The configurations are dynamic though, and being API driven. So I’m getting “fragmented” monitoring configurations. And I’m creating new ones.

I’m not sure if using blocks with 100 devices turns out to be more efficient or not. But given what is said in [About Extensions — Dynatrace Docs](https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/extensions-concepts)

```markup
You can define up to 20,000 devices for a single monitoring configuration. Configurations are split into buckets, with a default size of 100 devices per bucket. Each bucket of devices is polled independently as a separate process on one of the ActiveGates in a group. This feature is automatically enabled for WMI, Prometheus, SNMP, and SQL extensions, while for other types of extensions, its activation depends on the specific extension.

```

it seems that Dynatrace gets my fragmented configurations, and runs them in buckets of 100 devices, and I need not worry?

BTW, when we scale usage of SNMP monitoring, what other efficiency measures are appropriate?

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [July 13, 2023, 4:40pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/2 "2023-07-13T16:40:02Z")

</div>

You indeed do not need to worry anymore. Dynatrace automatically splitting up a large monitoring configuration into smaller ones and distributing them onto the AGs makes for a much easier set up.

Efficiency measures - Making sure that the AG is close to the device so it’s not having a lot of network latency and dropped packages. The SNMP datasource scales quite well both horizontally and vertically, giving you many options on how to get more devices monitored.

---

<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:** [July 13, 2023, 4:57pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/3 "2023-07-13T16:57:40Z")

</div>

[@Mike\_L](https://community.dynatrace.com/user/11520),

Thanks for your input! I really feel that we are able to monitor large setups with relatively few AG resources. We do have to open some gates, but I believe they are there to protect against bad setups.

---

<div class="post-metadata">

**Author:** ![mferstl](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mferstl/32/26292_2.png) [@mferstl](https://community.dynatrace.com/u/mferstl)\
**Post date:** [November 21, 2023, 1:27pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/4 "2023-11-21T13:27:26Z")

</div>

Hi,  
I am testing SNMP for Generic Network devices as well.  
Using 1 Active Gate at the moment.

When i add 1600 devices, SNMP polling seems just to stop working. I waited longer than 1 hour, but the logs kept empty.

After dropping to 200 devices only i get this alert:  
Failed to assign monitoring configuration to ActiveGate. Reason: INVALID\_CONFIG\_ERROR:Invalid configuration: Activation configuration contains too many SNMP devices: 155; [status code=32];

Seems the limit is 100

Failed to assign monitoring configuration to ActiveGate. Reason: INVALID\_CONFIG\_ERROR:Invalid configuration: Activation configuration contains too many SNMP devices: 102; [status code=32];

below 100 devices it works

---

<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 21, 2023, 2:49pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/5 "2023-11-21T14:49:33Z")

</div>

[@mferstl](https://community.dynatrace.com/user/38390),

Yes, there is a limit of 100 per monitoring configuration:

 ![AntonioSousa_0-1700578145904.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/8/58ce74b76acef1fbad6148432678ef860a170816.png)

> **[About Extensions](https://docs.dynatrace.com/docs/ingest-from/extensions/concepts)**
>
> Learn how Dynatrace Extensions work, from the Extension Execution Controller and ActiveGate groups to performance profiles, packages, and data sources.

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [November 21, 2023, 3:23pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/6 "2023-11-21T15:23:56Z")

</div>

SNMP extensions are remote, and fall under the next row in that table. The limit is 20.000. I’d go with a support ticket if it’s failing.

---

<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 21, 2023, 4:18pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/7 "2023-11-21T16:18:39Z")

</div>

[@Mike\_L](https://community.dynatrace.com/user/11520),

I too have the 100 limit happened in a customer, some 4 weeks ago. Message was the same: “Failed to assign monitoring configuration to ActiveGate. Reason: INVALID\_CONFIG\_ERROR:Invalid configuration: Activation configuration contains too many SNMP devices:”

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [November 21, 2023, 5:20pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/8 "2023-11-21T17:20:46Z")

</div>

The monitoring configuration should automatically split up the endpoints into batches of 100 and spread them over the AG group. Please go with a support case if you see this again as it’s not working as designed.

---

<div class="post-metadata">

**Author:** ![jegron](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jegron/32/12797_2.png) [@jegron](https://community.dynatrace.com/u/jegron)\
**Post date:** [December 18, 2023, 2:16pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/9 "2023-12-18T14:16:58Z")

</div>

Hi&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;,

I have the same issue :

_Failed to assign monitoring configuration to ActiveGate. Reason: INVALID\_CONFIG\_ERROR:Invalid configuration: Activation configuration contains too many SNMP devices: 336_

Did you find a solution ?

---

<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:** [December 18, 2023, 4:11pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/10 "2023-12-18T16:11:53Z")

</div>

[@jegron](https://community.dynatrace.com/user/47129),

At the moment, we separate monitoring configurations in blocks of one hundred. But as [@Mike\_L](https://community.dynatrace.com/user/11520) has said, it shouldn’t occur. I’ll have to test it again, last time I had more than 100, it failed.

---

<div class="post-metadata">

**Author:** ![jegron](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jegron/32/12797_2.png) [@jegron](https://community.dynatrace.com/u/jegron)\
**Post date:** [December 18, 2023, 4:23pm UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/11 "2023-12-18T16:23:01Z")

</div>

Ok. I’ve just opened a case. It failed even though I put in a bucket of 500 devices.. I’ll let you know if I get any news. Maybe a soft limit in our tenant.

---

<div class="post-metadata">

**Author:** ![jegron](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jegron/32/12797_2.png) [@jegron](https://community.dynatrace.com/u/jegron)\
**Post date:** [January 16, 2024, 8:58am UTC](https://community.dynatrace.com/t/efficiency-with-many-snmp-devices/40675/12 "2024-01-16T08:58:05Z")

</div>

Hi&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;,

For your information there is an issue with the bucket feature. It works if you set 100 in the bucket size. But if you let the field empty or set a value other than 100 it does not work.

Support told me that the patch would be available in ActiveGate version 1.283.
