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

Is there a way to displaying or count the number of elements under a service?

Solved2.39K views18th August 2021number of elements under a service
7
Kawssar Marzouk [DevOps Enabler]553 11th November 2020 0 Comments

Is there a way where we can have a count of the number of elements under this service on the left pane the same as we have for a view?

Actually, sometimes we create a service manually to categorize a number of elements which are located in different views in order to be monitored from one place under the service, however, we struggle to count the number of elements under the service as per the below example:

Jonathan Triboulet [SLC] Selected answer as best 18th August 2021

4 Answers

  • Active
  • Voted
  • Newest
  • Oldest
9
Bert Vandenberghe [SLC] [DevOps Enabler]8.29K Posted 12th November 2020 3 Comments

Hi Kawssar,

I did a quick test with the 'SERVICE STATISTICS' and it seems to accept the keyword 'TotalElements', although that is not mentioned in the help... In my example it works to display the number of elements in the service, and it updates correctly when elements are being added or deleted.

This is how it looks like:

To make the copy/paste easier:

  • Info: SERVICE STATISTICS:###[#TotalElements] elements ###
  • Element: [this service]

I hope this can help you out.

Bert

///UPDATE///

I tested the comment of Jarno, and it indeed also works in the surveyor. This is an example where the number of elements inside a service is also displayed in the surveyor:

Changing the surveyor statistics requires a restart of the DMA!

While the DMA was down, I added the following to the MaintenanceSettings.xml file:

<MaintenanceSettings>
...
  <Surveyor>
    <ServiceStatistics>[#TotalElements] Elements</ServiceStatistics>
  </Surveyor>
...
</MaintenanceSettings>

Note: If the DMA is part of a DMS, the setting will be applied across the DMS during the midnight synchronization. Alternatively, you can also force an immediate synchronization. See Synchronizing data between DataMiner Agents.

Kawssar Marzouk [DevOps Enabler] Posted new comment 12th November 2020
Jarno Lernou [SLC] [DevOps Enabler] commented 12th November 2020

I think the same syntax for [#TotalElements] can also be used to display alarm statistics in the Surveyor. This is documented in the help on this link (no formatting possible on the comment): https://help.dataminer.services/dataminer/DataMinerUserGuide/part_2/visio/Making_a_shape_display_information_about_the_item_it_is_linked_to.htm with a link to: https://help.dataminer.services/dataminer/DataMinerUserGuide/part_2/alarms/Displaying_alarm_statistics_in_the_Surveyor.htm

Bert Vandenberghe [SLC] [DevOps Enabler] commented 12th November 2020

Thanks Jarno! It indeed works in the surveyor statistics as well, I added an update to my original answer explaining this option as well.

Kawssar Marzouk [DevOps Enabler] commented 12th November 2020

Thanks very much Bert for your feedback, actually I managed to edit the visios which applied on top of services to reflect the number of elements included in the service and it worked perfectly on the visual side, also Jarno’s idea to have elements count on the surveyor statistics is very well.

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