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

Hosting DMA in Alarm Console Columns?

Solved854 views27th September 2024Alarm Console BAU Hosting DMA
0
Alberto De Luca [DevOps Enabler]4.58K 20th May 2024 5 Comments

Please, Dojo, what's the quickest way to quickly add in alarm console a new column, reporting the DMA agent that hosts the element?

Shall I define a custom element (or alarm) property for this?
If so, how can I get the DMA info reflected in the new property?

Thanks

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 27th September 2024
Miguel Obregon [SLC] [DevOps Catalyst] commented 20th May 2024

Hi Alberto,
Are you dealing with imported elements from another cluster, or elements migrated across DMAs in the same cluster?

Alberto De Luca [DevOps Enabler] commented 20th May 2024

Just timeouts, Miguel – unfortunately these elements are configured with the “local host” IP // “127.0.0.1:port” – so even when I open the “comments” field I have no idea where these are hosted

Alberto De Luca [DevOps Enabler] commented 20th May 2024

Adding a screenshot below to clarify the context

Marieke Goethals [SLC] [DevOps Catalyst] commented 26th August 2024

Hi,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the most relevant answer to indicate that the question is resolved?

Marieke Goethals [SLC] [DevOps Catalyst] commented 27th September 2024

As this question has now been inactive for a long time, I will close it. If you still want more information, could you post a new question?

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Alberto De Luca [DevOps Enabler]4.58K Posted 20th May 2024 1 Comment

Miguel / Edib - sharing below some more context:

I was hoping we can embed in console the host-name of the DMA hosting the element,  as it figures in the "Element Edit" wizard: that's the name that most teams would recognize

with the DMA id I can troubleshoot, but with more than 40 DMA-IDs in cluster, it's still a long shot without the DMA name (or IP address of the DMA) - unfortunately this is a legacy implementation - otherwise I'd use the actual IP address rather than "local host" 127.0.0.1 - the same can be presented for any DMA in the cluster (40+), hence the enquiry if can use an element property to be added to the console.

Edib Šupić [SLC] [DevOps Catalyst] Edited comment 20th May 2024
Edib Šupić [SLC] [DevOps Catalyst] commented 20th May 2024

Im not sure how comfortable you are with automation scripts, but we do have this generic script for adding custom properties to elements.
https://github.com/SkylineCommunications/SLC-AS-SetElementCustomProperty
I just glanced over it, but I’m pretty sure you can use it as a guideline for your use case.
Steps to take in your AS would be something along the lines:
1. Create dictionary with DMA ID and DMA name pairs
2. Create your custom element property(IDms.CreateProperty() will create property on your system, note that you have to pass right parameters, in your case it would be something like IDms.CreateProperty(“name”, PropertyType.Element, true, true/false, false)
3. Loop over all elements on the system(IDms.GetElements() will return all elements on the system) and assign correct custom property values(IDmsElement.Properties will return all properties on that element and, after filtering out your property, you can use IDmsElementProperty.AsWriteable() to assign value to it for that element) based on DMA ID for that specific element(IDmsElement.AgentId property will return hosting agent ID) using the dictionary you defined in step 1. In order to se properties valus you can use

Note that this could take a while, depending on the size of your system.

Hope you find this useful,
Cheers

You are viewing 1 out of 3 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