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

Configuring how a DMA listens for SNMP traps

Solved1.43K views27th September 2023SNMP traps
3
Bing Herng Chong [SLC] [DevOps Advocate]1.06K 7th September 2023 0 Comments

Hi all, after reading the following reference links on DataMiner docs, I'd like to ask some True/False questions to check my understanding of how to configure the port that a DMA will listen for SNMP traps. If the answer to my question is False, please state help to state the truth 🙂

Reference link:
Changing SNMP agent ports | DataMiner Docs
Interaction between SNMP manager and SNMP agent | DataMiner Docs
DataMiner.xml | DataMiner Docs

#1 By default, a DMA will listen on UDP port 162 for all SNMP trap for all versions (1, 2 and 3). This is done using the SNMP++ process. The SNMPTRAP process is stopped. True or False?

#2 By specifying the <SNMPv3 trapPort="16261"/> line in DataMiner.xml we can configure a DMA to listen to port 16261 for SNMPv3 traps using the SNMP++ process. When this happens, the SNMPTRAP process is started and the DMA will use the SNMPTRAP process to listen on port 162 for SNMPv2 and SNMPv1 traps. We can then further configure the port that SNMPTRAP process listens to by configuring the line starting "snmptrap" in 'C:\Windows\System32\drivers\etc\services' file. True or False?

#3 The <SNMPv3 trapPort="16261"/> update done to DataMiner.xml does not sync across to other DMAs in a cluster. True or False?

#4 The <SNMPv3 trapPort="16261"/> update done to DataMiner.xml does not sync across to the other DMA in a failover pair. True or False?

#5 Changes to the DataMiner.xml file will require a DMA restart to take effect. Changes to the line starting "snmptrap" in 'C:\Windows\System32\drivers\etc\services' file will also require a DMA restart to take effect. True or False?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 27th September 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Floris Cockaerts [SLC] [DevOps Advocate]2.43K Posted 27th September 2023 0 Comments

Hi Bing,

  1. Yes, if the SNMPTrap process is running while the DMA starts, then SLSNMPManager will attempt to stop it to take port 162.
  2. Although I could find references to the SNMPTrap process being stopped (see item 1.), I couldn't find any references in the code to start the SNMPTrap process. However, after having it stopped manually and configuring the SNMPv3 trapPort, the process was started when starting the DMA. I haven't used the services file before, but it looks like you could change the SNMPTrap service's port that way.
  3. Yes, as each DataMiner.xml file contains unique information like the agent ID, it is not synced to other agents.
  4. There's no exception to item 3. for failover pairs to my knowledge.
  5. DataMiner does not actively monitor for file changes and assumes they are not changed during runtime. This may lead to scenarios where changes you made to the file manually are overwritten by the agent when it is active. As such, a restart is necessary to have DataMiner configured differently. Although some XML files can be updated while the agent is active by sending a notify, but this doesn't work for configuration files as the agent is currently not able to reconfigure its active state. This does work for e.g. element configuration if the element is then also restarted.
    In a similar vain, I believe the SNMPTrap process needs to be restarted if the services file is changed. I think SLSNMPManager, and thus the DMA, can stay active while the SNMPTrap process is restarted.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 27th September 2023
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