← 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

 

** Changed in: nagios-charm
       Status: New => Confirmed

** Changed in: nagios-charm
   Importance: Undecided => High

-- 
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:
  Confirmed

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/nagios-charm/+bug/1725376/+subscriptions


References