The Anon (Anonymous) memory 'val.type' dispatched also needs
to be changed from 'percent' to 'memory' like the platform
memory was in that commit so that the reading notification
is sent to the fm_notifier which manages alarm and degrade.
Test Plan: for both total and numa nodes
PASS: Verify Anon memory major alarming and clear
PASS: Verify Anon memory critical alarming, degrade and clear
PASS: Verify Anon memory alarms/degrade clear over collectd restart
PASS: Verify Anon memory degrade handling over multiple alarm
severity threshold assertion/clear changes across different
eids. Test for stuck degrade case.
Closes-Bug: 2000251
Signed-off-by: Eric MacDonald <email address hidden>
Change-Id: I7c436a64886ecb619d2db751a1f92f2ffb1c4e9b
Reviewed: https:/ /review. opendev. org/c/starlingx /monitoring/ +/868322 /opendev. org/starlingx/ monitoring/ commit/ 4fad452db5a55bd dc7fb1d663fdbac 01ff2f648d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4fad452db5a55bd dc7fb1d663fdbac 01ff2f648d
Author: Eric MacDonald <email address hidden>
Date: Wed Dec 21 09:13:37 2022 -0500
Enable Anon memory alarming
The starlingX collectd memory monitoring plugin is no longer
alarming Anon memory overage due to this previous commit.
https:/ /opendev. org/ monitoring/ commit/ fcc8ddda66b507e 747a6e5f32c2300 b84e4f7ad6
starlingx/
The Anon (Anonymous) memory 'val.type' dispatched also needs
to be changed from 'percent' to 'memory' like the platform
memory was in that commit so that the reading notification
is sent to the fm_notifier which manages alarm and degrade.
Test Plan: for both total and numa nodes
PASS: Verify Anon memory major alarming and clear
PASS: Verify Anon memory critical alarming, degrade and clear
PASS: Verify Anon memory alarms/degrade clear over collectd restart
PASS: Verify Anon memory degrade handling over multiple alarm
severity threshold assertion/clear changes across different
eids. Test for stuck degrade case.
Closes-Bug: 2000251 619d2db751a1f92 f2ffb1c4e9b
Signed-off-by: Eric MacDonald <email address hidden>
Change-Id: I7c436a64886ecb