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
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Web Services GetElementsForView

113 views3 days agowebservices v1
3
Ross Elliott [DevOps Advocate]913 5 days ago 3 Comments

Hi,

I need to track Element counts across all our systems in 1 LCA, to start I've tried using GetElementsForView and GetElementsLiteForVIew but it's only working with viewIDs that aren't the root view '-1' which is the one I need. Is there a work around to get the result I need?

GetElementsForViewCount returns correctly with -1, but I need to count active/stopped Elements separately so need the full DMAElement array to do some extra processing.

Is there any other way I can achieve the same result. Once I have the Elements I then need a way to store the values so I can trend historical data, is that possible?

Thanks!

Ross

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 3 days ago
Ross Elliott [DevOps Advocate] commented 5 days ago

Hi, I've done some more testing this morning and it appears to be working for some of our systems. The only thing standing out to me at the moment is it seems to not respond from the larger clusters. Could it be the response is too big to deserialize or is taking too long?

Miguel Obregon [SLC] [DevOps Catalyst] commented 5 days ago

Hi Ross,
When you say 'all our systems' I assume that you are trying to monitor multiple DataMiner clusters. Is it correct my assumption?
How are you executing these requests? Through a ad-hoc data source?

Ross Elliott [DevOps Advocate] commented 5 days ago

Hi Miguel, I've managed to get it working! Yes, I should have mentioned this is across around 10 DM Clusters for a centralised view using ad hoc data source and the GetElementsLiteForView method. (Using GetElementsForView wouldn't complete, I always got a 500 internal error for systems with around 8 – 11K Elements)

The next part of the requirement might be trickier, is there a way of storing the data so I can see trends over time? Would I need to push the table I have into a DOM Instance or something?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Miguel Obregon [SLC] [DevOps Catalyst]20.74K Posted 3 days ago 0 Comments

Hi Ross,

For that use case, a possible approach is to leverage the Data Aggregator. This DxM allows you to execute GQI queries on a scheduled basis, with the results automatically exported to a CSV file.

For example, you could schedule the GQI query to run daily. Each execution will generate a separate CSV file containing the query results. From here there are two possible options:

  • Using an ad-hoc data source, you could process the content of the CSV files and output the data as a time series. These results can be visualized in a line chart component.
  • Using a connector, you could process the content of the CSV file and display it in a table. By enabling trending on the columns containing the aggregated values, you could visualize this data in a trend graph or a line chart within a dashboard or LCA.

Hope it helps.

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 3 days ago
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