lp:~vultaire/charm-nagios

Owned by Paul Goins
Get this repository:
git clone https://git.launchpad.net/~vultaire/charm-nagios
Only Paul Goins can upload to this repository. If you are Paul Goins please log in for upload directions.

Branches

Name Last Modified Last Commit
detect-successful-reload 2021-09-21 20:09:48 UTC
Minor fixes/tweaks

Author: Paul Goins
Author Date: 2021-09-21 20:09:48 UTC

Minor fixes/tweaks

* Replaced nested definition of "i" with "_", to avoid colliding and
  since the inner loop's variable isn't actually used.
* Updated the subprocess check in _get_last_reload_message to use
  shell=True.

allow-multiple-relation-data-sets-per-host 2021-08-27 15:58:52 UTC
Keep writing config for newly-created config files

Author: Paul Goins
Author Date: 2021-08-27 15:58:52 UTC

Keep writing config for newly-created config files

With the new logic, we try to write only the files we need to.
However, there may legitimately be cases where there's multiple sets
of data associated with the same host name (e.g. multiple nrpe units),
and at present, only the first set of such data will actually be
written.

This change tracks files which are being newly created, and will allow
multiple sets of relation data to be written to the same file, if
necessary.

skip-dedupe-prefix-for-same-model 2021-08-26 22:45:05 UTC
Fixed deduping to skip the prefix if not needed

Author: Paul Goins
Author Date: 2021-08-26 22:45:05 UTC

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.

remove-legacy-deduping 2021-08-26 22:41:46 UTC
Removed import for removed function

Author: Paul Goins
Author Date: 2021-08-26 22:41:46 UTC

Removed import for removed function

speed-optimizations 2021-08-26 06:20:55 UTC
Re-linted, with some tweaks

Author: Paul Goins
Author Date: 2021-08-26 06:20:55 UTC

Re-linted, with some tweaks

Set the flake8-import-order setting "application-import-names" to
specify modules we consider local to our app, so they won't be
considered 3rd party libraries.

dedupe-rework 2021-08-19 20:36:14 UTC
Removed unused enumerate, added comments

Author: Paul Goins
Author Date: 2021-08-19 20:36:14 UTC

Removed unused enumerate, added comments

LP1939068-duplicates 2021-08-18 16:42:29 UTC
Changed suffix to prefix for the sake of automatic hostgroups

Author: Paul Goins
Author Date: 2021-08-18 16:42:29 UTC

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.

17 of 7 results
This repository contains Public information 
Everyone can see this information.

Subscribers