Comment 8 for bug 1848580

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to monitoring (master)

Reviewed: https://review.opendev.org/690794
Committed: https://git.openstack.org/cgit/starlingx/monitoring/commit/?id=b330b1bd5c2356ed210b01f1b562379a85ced5cf
Submitter: Zuul
Branch: master

commit b330b1bd5c2356ed210b01f1b562379a85ced5cf
Author: Eric MacDonald <email address hidden>
Date: Thu Oct 24 00:06:14 2019 -0400

    Add alarm debounce support to collectd alarm notifier

    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 <email address hidden>