This update adds titled support to the existing
Platform Memory monitor collectd plugin.
Instance Mapping
Plugin Refinements Instance Name
------------------------------------- ----------
Platform Memory platform
Platform Memory Numa Node 0 node0
Platform Memory Numa Node 1 node1
Platform Memory Numa Node 0 Huge Pages node0_hugepages
Platform Memory Numa Node 1 Huge Pages node1_hugepages
New Alarm Entity IDs added to existing 100.103 alarm ID
host=<hostname>.numa=node0
host=<hostname>.numa=node1
host=<hostname>.numa=node0_hugepages
host=<hostname>.numa=node1_hugepages
Modified memory plugin thresholds and added alarm notifier
to support collectd requiring samples to be 'gt' rather
than 'ge' the specified thresholds for a severity change.
This update also corrects a few subtle pep8 warnings to
a few of the existing python plugins.
There is no need for an rmond update because numa and
huge page monitoring was never enabled in rmond.
Story: 2002823
Task: 29369
PASS: Verify logging of all memory instance types
PASS: Verify monitoring of new numa node memory
PASS: Verify monitoring of new numa node huge page memory
PASS: Verify memory instance alarm handling in fm notifier
PASS: Verify memory instance alarm load on startup
PASS: Verify memory instance alarm clear ; runtime condition gone
PASS: Verify memory instance alarm clear ; startup condition gone
Regression:
PASS: Verify End-To-End Sample Collection for all monitored resources.
Corner Case:
PASS: Verify alarm reporting with threshold of zero
PROG: Verify memory alarm raised at threshold value
PASS: Verify memory alarm cleared 1 below threshold value
PASS: Verify above case for both major and critical thresholds
Change-Id: I4e2612ac7b3d906be4b0a140286dbbb095ce7e1b
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>