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

Historical GetParameter

Solved793 views6th July 2023
2
Henri Martins [DevOps Advocate]626 7th April 2023 0 Comments

Hi.   On a C” script, I need to get all values from parameters for last week to calculate an average.

How could I found the good function?

Kind dojo.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 6th July 2023

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Toon Casteele [SLC] [DevOps Enabler]7.01K Posted 7th April 2023 0 Comments

Assuming your parameter is trended, you can use the GetTrendDataMessage in combination with the Engine SendSLNetMessage method to get what you need.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 6th July 2023
3
Ben Vandenberghe [SLC] [DevOps Enabler]9.09K Posted 7th April 2023 1 Comment

Hi Toon, Henry,

This sounds like a typical GQI query.  Therefore:

Henri > what is your use case?  Because if you just want to be able to display this, then this could probably be done with a GQI in a dashboard.

Toon > if the use case is about using that average in the context of an automation routine for example, can a GQI today already be called upon from within automation?  If not, is that on the roadmap?

Toon > if the use case is about being able to 24/7 calculate that average in the background and be able to alarm and trend on that aggregated metric again, then this would translate into defining a GQI that runs in the background (not just upon opening up a dashboard).  I believe we have that on the roadmap, but not sure if it is just in the backlog (and hence we do not have yet visibility on when that will potentially be available), or if this happens to be in the making?

Thanks!

Miguel Obregon [SLC] [DevOps Catalyst] Edited comment 7th April 2023
Miguel Obregon [SLC] [DevOps Catalyst] commented 7th April 2023

Hi, for this type of use cases, I would check first if aggregation rules can be used. In case aggregation rules does not fit for the use case, then indeed I would try to move in the direction of GQI.

+ For the use case: ‘using that average in the context of an automation routine for example, can a GQI today already be called upon from within automation’: A possible option is using the DataAgrgegator DxM. You can configure the DataAggregator to run a GQI query to be executed at any frequency and store the calculated value (in this case the average) in a CSV file for further processing.

+ For the use case: ‘being able to 24/7 calculate that average in the background and be able to alarm and trend on that aggregated metric again’: we could create a connector that process the CSV files generated by the DataAggregator. In this connector we can enable alarming/trending on the aggregated data. However, we need to be careful with the amount of data to be processed. For example, if you plan to calculate the average for thousand of rows in different elements, then it is advised to use a logger table for data retention.

1
Henri Martins [DevOps Advocate]626 Posted 7th April 2023 1 Comment

For giving you more data:

  • The parameters will be trended
  • the weekly average that we will calculated, will be use to be trended and to create a new alarm.

We have 4 protocols concerned by this calculation and the number of elements will grow from 120 to quite 2000 in some month.

We do not have for the moment an Elastic Search DB. Is it necessary ?

Henri Martins [DevOps Advocate] Posted new comment 7th April 2023
Henri Martins [DevOps Advocate] commented 7th April 2023

The weekly calculation only need to be done one time each day.

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