~vultaire/charm-nagios:LP1939068-duplicates

Last commit made on 2021-08-18
Get this branch:
git clone -b LP1939068-duplicates https://git.launchpad.net/~vultaire/charm-nagios
Only Paul Goins can upload to this branch. If you are Paul Goins please log in for upload directions.

Branch merges

Branch information

Name:
LP1939068-duplicates
Repository:
lp:~vultaire/charm-nagios

Recent commits

2a4325f... by Paul Goins

Changed suffix to prefix for the sake of automatic hostgroups

The automatic hostgroup code operates by splitting a hostname on the
final hyphen; if we tack a suffix on after that (assuming no hyphen in
the suffix), the suffix will have zero impact on the hostgroup and thus
"duplicate" hostnames will unintentionally end up in the same
hostgroup. Using a prefix instead avoids this problem.

da4849a... by Paul Goins

Oops; need to pull the deduped target ID

a0b4ea4... by Paul Goins

Replace unique IDs based upon relation identifiers

4aa7177... by Paul Goins

minor fix

58091c2... by Paul Goins

New dedupe logic. WIP.

59fa0d8... by Paul Goins

Added warning log message in case of duplicate hostname

137f7a6... by Connor Chamberlain

Added comment to explain duplicate hostname modification

8c6d53f... by Connor Chamberlain

Removed redundant Nones in dict.get

f857177... by Connor Chamberlain

Merged in parent branch

88eb9b0... by Connor Chamberlain

Address review comments