Merge ~paulgear/ntp-charm/+git/ntp-charm:master into ntp-charm:master
Proposed by
Paul Gear
Status: | Merged |
---|---|
Merged at revision: | b6cf82268f08a744bb58a25f404d7b5c247d5ab7 |
Proposed branch: | ~paulgear/ntp-charm/+git/ntp-charm:master |
Merge into: | ntp-charm:master |
Diff against target: |
307 lines (+99/-31) 2 files modified
files/nagios/check_ntpmon.py (+55/-28) unit_tests/test_check_ntpmon.py (+44/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Barry Price | Approve | ||
Paul Collins | lgtm | Approve | |
Review via email: mp+317085@code.launchpad.net |
This proposal supersedes a proposal from 2017-02-13.
Commit message
Selectively downgrade missing sync peer to WARNING
This uses comparison of more recent and less recent polls to determine
whether reachability is improving. If so, a missing sync peer is
considered WARNING rather than CRITICAL, on the assumption that ntpd will
correct the problem shortly. Thanks to Paul Collins for the idea and
initial implementation of this.
Update the test suite to check for this, and add python3 compatibility
for print statements.
To post a comment you must log in.
Makes sense, +1