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?
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.