This update implements a 3 minute alarm debounce feature to the existing alarm notifier. To ensure proper alarm/degrade accounting the mtce degrade notifier was merged with the alarm notifier. This update changes the existing 'update_alarm' function to 'debounce' which returns True once the resource has been debounced the alarm/degrade settings need to be updated with the current notification severity. Test Plan: PASS: Verify debounce from ok to major PASS: Verify debounce from ok to critical PASS: verify debounce from major to ok PASS: Verify debounce from major to critical PASS: verify debounce from critical to ok PASS: Verify debounce from critical to major PASS: Verify major to major alarm persists PASS: Verify critical to critical alarm persists PASS: Verify handling of major startup alarm that escalates to critical PASS: Verify handling of critical startup alarm that drops to major threshold PASS: Verify handling of critical startup alarm that drops below alarming threshold PASS: Verify clear of major alarmed fs over swact PASS: Verify clear of critical alarmed/degraded fs over swact PASS: Verify end to end degrade handling with single source PASS: Verify end to end degrade handling with multiple sources PASS: Verify end to end filesystem alarm/degrade management PASS: Verify end to end interface alarm/degrade management PASS: Verify debounce handling with random value/wait script loop Change-Id: Ibb9461ce027c5ab5accb64507c7141f10f0d1a88 Partial-Bug: 1848580 Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
219 B
219 B