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

How to get the Ip address of DMA ID via automation script?

Solved212 views30th April 2025IP address
3
eric septier92 29th April 2025 0 Comments

Hello

How to get the Ip address of DMA ID via automation script?

eric septier Selected answer as best 30th April 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Tom Waterbley [SLC] [DevOps Catalyst]8.89K Posted 30th April 2025 1 Comment

Hi Eric,

If you would need the IP address of a specific DMA in a cluster, you can use the  ‘GetDataMinerByIDMessage’ SLNet message as follows:

var agentId = 123;
var message = new GetDataMinerByIDMessage(agentId);
var response = engine.SendSLNetSingleResponseMessage(message) as GetDataMinerInfoResponseMessage;

var primaryIP = response.PrimaryIP;
var secondaryIP = response.SecondaryIP;

eric septier Posted new comment 30th April 2025
eric septier commented 30th April 2025

Thank you Tom. It works perfectly!

3
Geovanny Galeano [SLC] [DevOps Advocate]725 Posted 29th April 2025 0 Comments

Hi Eric,

This question was already asked, which the short answer is there is a property which you can access from the script that contains the value for the IP Address of the DMA.

Example:
string ip = Engine.SLNetRaw.ServerDetails.AgentIP;

How to get the IP address of DMA via automation script – DataMiner Dojo

Let me know if you need a script example.

Geovanny Galeano [SLC] [DevOps Advocate] Answered question 29th April 2025
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