Skip to main content
Needs Votes

[Meta-services] - calculations operations between meta-services

Related products:Infra Monitoring - Configuration
  • September 2, 2024
  • 5 replies
  • 48 views

Forum|alt.badge.img+11

Hello all,

Meta-services are used for example to calculate sums of service metrics.

But unfortunately it is not possible to perform operations on meta-services themselves.

I would like to be able to sum (or subtract) meta-services between them.

Thanks a lot

5 replies

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 6, 2024

Can you please provide examples of use cases where this would be needed?

Why can’t you do these operations within a single meta-service instead?


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 6, 2024
NewDiscussion ongoing

Forum|alt.badge.img+11
  • Author
  • Builder *
  • September 6, 2024

Dear @rchauvel ,

Here is one example of a use case among others.

 

We have a multitude of computer bays whose electrical consumption values ​​I would like sum that I monitor this under different additions to display different results.

Concretely we have 3 main rooms.

On each of these rooms we have 16 bays.

Each of the bays has 2 PDUs.

Each PDU has 3 electrical phases.

 

To start with a single room.

I want to know the consumption of each bay, so I have to add the 6 phases for each of 16 bays, so I have to create 16 meta-services each containing 6 metrics.

But, I also want to know all the consumption of the PDUs in this room, I must then add all the phases of each of the bays, I must therefore create another meta-service including the 96 metrics already selected before.

This is not practical, very long to do by hand in the menus and not optimized in terms of CPU usage.

Especially since I must to do it manually since the SQL search is impossible beacause it not allow filtering by hosts.

With the function requested here, I could have simply sum the meta-services of the 16 bays to obtain the first final result. Which is much simpler to do and more CPU-optimized.

Afterwards, if I want to go further, I still need to create other meta-services to add other electrical consumptions such as those of air conditioning, lights and other systems in the room…

Without the ability to do additions between meta-services, I have to do this by hand as well, which becomes highly redundant and disproportionate work.

 

And at this point, we've only done one room.
There are 2 more rooms to do.
And that's without forgetting to add up the total of the 3 rooms…

 

Ideally, it would also be welcome to have other basic mathematical operations like subtractions, this would be a real plus to obtain satisfactory results to display on beautiful maps.

 

Thanks a lot


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 6, 2024

Thanks for the explanations

 


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 6, 2024
Discussion ongoingNeeds Votes