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

What is the fastest way to find out the number of active elements attached to each Protocol?

Solved1.04K views19th December 2023
3
Mark Woodyatt [DevOps Advocate]438 19th December 2023 1 Comment

Hi All,

What is the fastest way to find out the number of active elements attached to each Protocol please?

I need to audit the thousands of elements that we have on a list of drivers.

How can I do this very quickly please?

Rgds,

Mark

Robin Devos [SLC] [DevOps Advocate] Selected answer as best 19th December 2023
Mark Woodyatt [DevOps Advocate] commented 19th December 2023

When I use the Advanced filter it shows all the elements that have say ‘DCM’ in the title.
Rather than the number of DCM elements.

4 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Robin Devos [SLC] [DevOps Advocate]2.46K Posted 19th December 2023 1 Comment

Personally I would opt to search via the Root View:

1. Open the Root View
2. Go to the Elements
3. Search for the specific protocolname and protocol version
For me this was "Microsoft Platform" "1.1.4.2"
4. Additionally, you can include/exclude specific states (hidden, stopped, paused,...)

Robin Devos [SLC] [DevOps Advocate] Selected answer as best 19th December 2023
Mark Woodyatt [DevOps Advocate] commented 19th December 2023

Thank you Robin.
This is the fastest way of me completing the audit.

4
Ward Haeck [SLC] [DevOps Enabler]3.52K Posted 19th December 2023 1 Comment

Hi Mark,

You can do that by creating a query using GQI in the dashboards app:

The example shows the amount of active elements per protocol and version

Hope this helps!

Best regards, Ward

Mark Woodyatt [DevOps Advocate] Posted new comment 19th December 2023
Mark Woodyatt [DevOps Advocate] commented 19th December 2023

Thank you Ward.
I haven’t done this before & don’t have the time but will keep it in mind.

1
João Severino [SLC] [DevOps Catalyst]12.94K Posted 19th December 2023 1 Comment

Hi Mark,

You should be able to create an automation script that uses the method GetElements to retrieve all elements in your system as a collection of IDmsElement and then in that object you have access to the State property to check whether they are active or not and then you can group by the Protocol property and count the resulting set.

IDms thisDms = engine.GetDms();
var activeElements = thisDms.GetElements().Where(e => e.State == ElementState.Active);
var groupByProtocol = activeElements.GroupBy(e => e.Protocol);
foreach (IGrouping<IDmsProtocol, IDmsElement> grouping in groupByProtocol)
{
engine.GenerateInformation($"{grouping.Key} -> {grouping.Count()}");
}

Mark Woodyatt [DevOps Advocate] Posted new comment 19th December 2023
Mark Woodyatt [DevOps Advocate] commented 19th December 2023

Thank you Joao.
I haven’t done this before & don’t have the time but will keep it in mind.

1
Ben Vandenberghe [SLC] [DevOps Enabler]9.06K Posted 19th December 2023 2 Comments

You can do a simple GQI table on a dashboard for that.  Below shows an example of the GQI and the outcome on the dashboard.

Ben Vandenberghe [SLC] [DevOps Enabler] Posted new comment 19th December 2023
Mark Woodyatt [DevOps Advocate] commented 19th December 2023

Thank you for the feedback Ben.
I have tried a few times to configure a dashboard but still can’t do it.
Robin’s is the fastest.
What would help would be the number of elements using a protocol next to the protocol on the protocol view.
And someway of pulling this out as an xls.
Thank you again for the feedback.

Ben Vandenberghe [SLC] [DevOps Enabler] commented 19th December 2023

Hi Mark – thank you for the feedback and glad to see that the suggestion from Robin already helps out.

The query on the dashboard should actually be quite straightforward, and only takes about a minute to compose. Not sure if maybe you are on an older version of DataMiner, and this is causing some confusion. I would like to suggest that somebody from Skyline gets on a call with you and shows you, you can schedule that at any time that this would be convenient for you. One advantage of this method is also that you can also export this table to a csv file and use it in Excel (via the menu on the three dots on the top right of a table in the dashboards).

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

Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes
When using the Setter = true attribute, will the copy action always be executed first? 1 Answer | 3 Votes
Multiple Set on Table parameters for DVE’s 1 Answer | 2 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 (150) 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