← Back to team overview

nagios-charmers team mailing list archive

[Bug 1725376] Re: monitors-relation-changed repeats many times and takes a very long time

 

This is immediately available in cs:~llama-charmers-next/nagios, and
will be formally released in the 21.10 release.

-- 
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1725376

Title:
  monitors-relation-changed repeats many times and takes a very long
  time

Status in Nagios Charm:
  Fix Committed

Bug description:
  On a setup where we have many nrpe units related to nagios, the
  monitors-relation-changed hook runs a loop through every unit in every
  relation and uses pynag to save intermediate files to disk each time.
  This takes about 2.5 mins in some environments, and the hook repeats
  for every unit - meaning it takes hours to fully populate a nagios
  host.

  It would be nice to refactor to make that more efficient.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nagios/+bug/1725376/+subscriptions



References