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

How to get Free Space parameter as a percentage instead of absolute value?

Solved670 views8th August 2023Elasticsearch
4
Shihui Su [DevOps Advocate]205 25th July 2023 0 Comments

Hi, I am currently using the ElasticSearch Cluster protocol, and under Node Stats - File System it shows Free Space and Total Size in GB. However, I would want to monitor the Free Space as a percentage (as I have more than 1 Elastic element and the Free Space (%) would be different on different clusters) and raise alarms when necessary e.g. < 20% Free Space = Critical etc.

Is the only way via updating the driver?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 8th August 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Miguel Obregon [SLC] [DevOps Catalyst]18.86K Posted 25th July 2023 0 Comments

Hi Shuhui,

A possible option could be using GQI queries with a GQI custom operator. The custom operator will have two input arguments that corresponds to the parameters ('Free Space' and 'Total Size') required to calculate the free space as percentage. The output of custom operator will be the free space as percentage.
The result of this query can be displayed in a dashboard or low code app (using for example a table component).

In Github, you can find a custom operator that performs a similar calculation (SLC-GQIO-PercentageCalculation)

The drawback of this approach is that no alarms will be raised in the alarm console. You could use conditional coloring in a table component to show different colors depending of the value of the percentage. However, these thresholds will not trigger an alarm.

Hope it helps.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 8th August 2023
You are viewing 1 out of 1 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