Merge ~vultaire/charm-nagios:skip-dedupe-prefix-for-same-model into charm-nagios:master
Proposed by
Paul Goins
Status: | Merged |
---|---|
Approved by: | Garrett Neugent |
Approved revision: | bfe338c0d3570047847d00ef66ed8b2660ad1c7f |
Merged at revision: | 1425e19f775dfcdad94518e79848f5fa88d29e37 |
Proposed branch: | ~vultaire/charm-nagios:skip-dedupe-prefix-for-same-model |
Merge into: | charm-nagios:master |
Prerequisite: | ~vultaire/charm-nagios:remove-legacy-deduping |
Diff against target: |
22 lines (+8/-1) 1 file modified
hooks/monitors_relation_changed.py (+8/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Garrett Neugent (community) | Approve | ||
Xav Paice (community) | Approve | ||
🤖 prod-jenkaas-bootstack | continuous-integration | Approve | |
BootStack Reviewers | Pending | ||
Review via email: mp+407757@code.launchpad.net |
Commit message
Fixed deduping to skip the prefix if not needed
Deduplication is only performed if there are 2 or more related units
with the same target hostname from different models. If there are
"duplicates" but they are from the same model (e.g. multiple nrpe units
associated with different principal apps on the same host), it is
probably preferable to have those "coalesce" into a single host, rather
than having distinct records with redundant checks.
To post a comment you must log in.
A CI job is currently in progress. A follow up comment will be added when it completes.