# VIP for SNMP Trap

**URL:** <https://community.dynatrace.com/t/vip-for-snmp-trap/44575>\
**Category:** Extensions\
**Tags:** activegate, snmp, extensions\
**Created:** [March 11, 2024, 5:21pm UTC](https://community.dynatrace.com/t/vip-for-snmp-trap/44575 "2024-03-11T17:21:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gchastne](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gchastne/32/37007_2.png) [@gchastne](https://community.dynatrace.com/u/gchastne)\
**Post date:** [March 11, 2024, 5:21pm UTC](https://community.dynatrace.com/t/vip-for-snmp-trap/44575/1 "2024-03-11T17:21:11Z")

</div>

Has anyone successfully configured a VIP in front of a pair of ActiveGate for resilient SNMP Trap ingestion?

---

<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:** [March 11, 2024, 7:43pm UTC](https://community.dynatrace.com/t/vip-for-snmp-trap/44575/2 "2024-03-11T19:43:49Z")

</div>

[@gchastne](https://community.dynatrace.com/user/52253),

Not sure what your idea is, but some notes from my side:

- If you have a VIP and the SNMP “load balancer” is able to send it to one of the AGs behind it, there should be no issue
- If you send it to more than one AG , you will get repeated traps/logs in Dynatrace
- SNMP traps are UDP based, so there is no good way for a “load balancer” to detect if traps are being received or not
- There was an issue sometime ago where IPs with no reverse lookup would block some SNMP traps being received. Not sure if it has been resolved. Please make sure they are resolvable; in my case I had to put them in local AG host files…
- A VIP for SNMP might be an interesting idea if you are forwarding traps to more than one platform, and don’t want to change configurations on emitting devices…

---

<div class="post-metadata">

**Author:** ![gautier\_begin](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gautier\_begin](https://community.dynatrace.com/u/gautier_begin)\
**Post date:** [April 19, 2024, 9:46am UTC](https://community.dynatrace.com/t/vip-for-snmp-trap/44575/3 "2024-04-19T09:46:12Z")

</div>

Graham,

I think this is possible using a NGINX in reverse proxy mode:

[TCP and UDP Load Balancing | NGINX Documentation](https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/)

Regards

---

<div class="post-metadata">

**Author:** ![LaurentBignens](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/laurentbignens/32/1198_2.png) [@LaurentBignens](https://community.dynatrace.com/u/LaurentBignens)\
**Post date:** [October 18, 2024, 11:31am UTC](https://community.dynatrace.com/t/vip-for-snmp-trap/44575/4 "2024-10-18T11:31:43Z")

</div>

Our network team was against adding a load balancer for that, so we implemented a VIP.  
The&nbsp;VIP (virtual IP) switches over the pair of AGs (Active Gate) using the keepalived redhat service&nbsp;where our “SNMP Traps” extension is running to ingest these traps.  
N.B. as a side effect, the AG has a new address assigned to it, and it took the name of that new VIP.
