monitoring/collectd-extensions
Eric MacDonald fcc8ddda66 Change platform memory usage instance type to 'memory'
The platform memory data-set type is currently set to 'percent'.

It is possible to over subscribe platform memory usage to more
than 100%.

Collectd drops sample values that are greater than 100 when its
data-set type is 'percent'. Collectd considers a percent value
greater than 100 to be an invalid value.

This update changes the data-set type for platform memory usage
from 'percent' to 'memory' to allow memory usage values greater
than 100 to be handled.

Test Plan:

PASS: Verify that platform memory overage alarm value is reported
             as the 'actual' value in the alarm Reason Text.
PASS: Verify platform memory usage values that exceed the major
             threshold are alarmed 'major'.
PASS: Verify platform memory usage values that exceed the critical
             threshold are alarmed 'critical', even if the
             debounced value exceeds 100.
PASS: Verify ridiculously large values are still alarmed and that
             value is still included in the alarm Reason Text.

Change-Id: I7189671e20c92656f820fda74c4871504d89e73a
Closes-Bug: 1940875
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2021-08-23 20:05:20 -04:00
..
2021-07-27 08:46:39 -04:00