b330b1bd5c
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>
13 lines
219 B
Plaintext
13 lines
219 B
Plaintext
<Plugin "threshold">
|
|
<Plugin "interface">
|
|
<Type "percent">
|
|
Instance "used"
|
|
Persist true
|
|
PersistOK true
|
|
WarningMin 51
|
|
FailureMin 1
|
|
Invert false
|
|
</Type>
|
|
</Plugin>
|
|
</Plugin>
|