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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • 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
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Good approach to guarantee SNMP traps as much as possible?

Solved648 views27th August 2024SNMP SNMP traps
3
Joshua Lee [SLC] [DevOps Advocate]583 3rd June 2024 0 Comments

I am working with a device that only communicates through SNMP traps. When an alarm is active, it sends a trap; when an alarm clears, it sends a trap. The bindings of the traps have a running index, so if a trap is received that is not lastIndex + 1, we will know that a trap was dropped.

At this point, a resync can be initiated, and the device will send all active alarms (the indexes will continue to increment by 1). If the indexes received are out of order again, another resync will be initiated.

Since traps are not guaranteed, this may lead to a loop of continuous resyncing. Is there a good approach to get all the active alarms?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 27th August 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Miguel Obregon [SLC] [DevOps Catalyst]19.00K Posted 3rd June 2024 2 Comments

Hi Joshua,

Since the device can only send traps, I believe there are a limited number of choices. A possible option could be using SNMP Inform instead of traps. SNMP Inform will require an acknowledge from the sender (in this case, the device). If an acknowledge is not received by the device, it should send again the SNMP Inform.

Hope it helps.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 27th August 2024
Floris Cockaerts [SLC] [DevOps Advocate] commented 3rd June 2024

This is indeed the best course of action, although I’m not sure it guarantees the order of the traps. So Joshua may want to be a bit more lenient on when to trigger a resync if this still happens too often with informs. (e.g. a missed index still has x seconds to appear)

Additionally, if there are a lot of traps that can arrive at the same time, you may run into problems with the socket’s buffer not being emptied quickly enough by SLSNMPManager. This threshold is reached rather quickly on SNMPv3 (SNMP++), but holds up a lot better with SNMPv1 and SNMPv2 (WinSNMP). Either way, this buffer size can be increased using this DWORD value in the registry (may need to be created): [HKEY_LOCAL_MACHINE SYSTEM CurrentControlSetServicesAfdParameters] DefaultReceiveWindow

For SNMP++, this throughput has been improved with RN39629 (10.4.7, 10.4.0 CU4, 10.3.0 CU16)

Alberto De Luca [DevOps Enabler] commented 5th June 2024

Aligned with the “inform” suggested by Miguel, if viable.

With traps being UDP, where the wiring & network design allow it,
it might help to minimize hops between source & destination… e.g. if both your device & DMA use the same default GW.

In any case, you might want to check with the vendor if the implementation of their SNMP agent could accommodate specific KPIs/OIDs to be polled every now & then.

Receiving traps only will always come with the limitations you’ve mentioned – not much you can do against UDP being “best effort”.

You are viewing 1 out of 1 answers, click here to view all answers.
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
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