Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Some help understanding SNMP Trap Distribution feature on 9.6.0

Solved1.22K views20th October 2021DMS SNMP traps Trap redistribution
0
Bing Herng Chong [SLC] [DevOps Advocate]1.06K 30th August 2021 0 Comments

Hi,

A user is running a DMS consisting of 6 failover-pairs.The DMA version is 9.6.0 CU23.

The DMS is monitoring a few hundred CMTS's and these devices are configured to send traps to each and every DMA (i.e. all 12 DMAs are trap destinations). Recently it has been discovered that the number of traps being sent is causing congestion on the management network. The user would like to leverage the SNMP trap distribution feature (RN15802) on 9.6.0 and reduce the number of trap destinations per CMTS. The trap destinations needs to be the same across all CMTS's.

The current thinking is to reduce the trap destinations from 6 failover-pairs (12 DMAs) to 2 failover-pairs (4 DMAs).

Before moving forward with re-configuring all the CMTS's to send traps to a reduced number of DMAs, it would be prudent to clarify some point:

First some yes/no question:
(1) Is the SNMP trap distribution feature enabled by default?
(2) Are traps sent by a device to the standby DMA in a failover-pair simply ignored?

Some more complex questions:
(3) If the element sending the trap is on DMA_failover_pair#2, and the element is configured to send traps to DMA_failover_pair#1 and DMA_failover_pair#6, is active DMA in DMA_failover_pair#2 expected to receive two re-distributed traps?
(4) On Wireshark, what do these re-distributed traps look like?
(5) Is there a best practice / rule of thumb when using the SNMP trap distribution feature on 9.6.0? What do we need to avoid when using SNMP trap distribution feature on 9.6.0?

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 20th October 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Floris Cockaerts [SLC] [DevOps Advocate]2.43K Posted 30th August 2021 2 Comments

Hi Bing,

First, to answer your direct questions:

  1. Yes, the feature was introduced with RN18640 in FR 9.5.13 and MR 9.6.0 (CU0) and is always active
  2. Yes, the standby agent will either not listen to the trap port, or not send out the traps as this would conflict with the active agent. We don't know from the top of our heads if it's the port being ignored, or the messages dropped in SLSNMPManager.
  3. Yes, the DMS will not know that it has received the same trap twice and process both of them. It will find pair#2 in your example as the one hosting the destination element and receive the distributed trap from both agents. However, agents not hosting an element with a polling IP matching the source of the trap will not receive the distributed trap.
  4. The trap distribution is part of the internal dataminer communication, it will not generate an SNMP trap message. This will look like any other message between two agents in a cluster, this is currently done using the (configurable) port 8004 with .net remoting (see the dataminer help: General DMA configuration - Configuring the IP network ports).
  5. There aren't any rules besides knowing the behavior discussed above.

Second, some thoughts and suggestions:

  1. When a failover pair is set up, there's a virtual IP that will redirect to the active agent. When configuring SNMP traps, this IP can be used as a trap target to contact the active agent. This should halve the amount of IPs you configure.
  2. I'm personally not aware of users forwarding traps to multiple agents in the cluster for redundancy purposes, just know that your drivers will receive the same trap multiple times, potentially triggering certain actions twice.
  3. If you expect to receive a lot of traps in short amounts of time, try to load-balance them between different agents, both element-wise and trap-target-wise.
  4. Usually, traps are forwarded to the agent hosting the element, since this will have the least overhead. When it's hard to track which agent is hosting the element, or all devices need the same configuration, or that particular agent is not set up to receive traps, is when you'll want to rely on the trap-distribution feature.
Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 20th October 2021
Carlos Trejo commented 9th September 2021

Hi Floris,

I have a quick question regarding this topic, for this user having the DMS consisting of 6 failover-pairs (12 agents in total) and the DMA version being 9.6.0.

If this user sends the traps to all the DMA pairs, would this mean that with the SNMP trap distribution feature, all the DMAs are searching trying to find the DMA pair where the element (that sent the trap) resides and when they find it, the DMA pair already knows so it ignores the requests?

Thanks! 

Floris Cockaerts [SLC] [DevOps Advocate] commented 9th September 2021

Hi Carlos,
Point #3 and suggestion #2 apply here. If each pair receives the same trap, they will all forward it to the agent hosting the intended element. (i.e. 5 traps are forwarded, since one of the pairs would be hosting the element) The hosting agent will provide all 6 traps to the intended element.
Traps don’t have a unique identifier, nor do we retain them to compare the recent ones with those that enter, so none of these would be dropped.

Since SNMP Traps are sent using UDP, there is a chance of these getting dropped by the network and not arriving at the destination. I presume this is why users want to configure multiple targets as a way of redundancy. However, the correct way to configure this would be to use SNMP Informs with one target agent. Informs must be acknowledged by the receiver (the DMA in this case), or they’ll be sent again.

A notable addition to Informs is RN29034 (10.1.0[CU2] / 10.1.4), which will drop duplicate informs sent to the same agent (before it is distributed, so sending it to multiple agents will still make it arrive at the element multiple times).

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin