[Pkg-nagios-devel] Bug#686036: icinga: Upstream bug fixes for duplicate events

Bernhard Schmidt berni at birkenwald.de
Mon Aug 27 21:30:13 UTC 2012


Package: icinga
Version: 1.7.1-2
Severity: normal
Tags: patch

Hello,

upstream just released version 1.7.2, which fixes a highly annoying bug
causing duplicate events

| we learned by different sources (#2964, using mod_gearman, PNP rrdtool
| illegal update time) that a performance increasing change in Icinga Core
| 1.7.0 (#2182) was causing trouble on the event scheduling logic, causing
| duplicated events when rescheduling those. This resulted in duplicated
| (or even more) check events under various circumstances,  as well as too
| much performance data and more outputs. We’ve been testing various fixes
| in our development branches (#2676)

In my environment this is causing about 10k lines per hour of the sort

2012-08-27 21:04:34 [11428] [0] RRDs::update
/var/lib/pnp4nagios/perfdata/dpi-04/_HOST__rta.rrd 1346101453:0.222
2012-08-27 21:04:34 [11428] [0] RRDs::update ERROR rrdcached: illegal
attempt to update using time 1346101453.000000 when last update time is
1346101453.000000 (minimum one second step)

I patched icinga with the two upstream commits locally (see attached
patch) and it immediately solved my issue as well as reducing CPU usage
by 30%.

I'm not sure whether this could be a candidate for Wheezy at this time.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages icinga depends on:
ii  icinga-cgi   1.7.1-2
ii  icinga-core  1.7.1-2

icinga recommends no packages.

Versions of packages icinga suggests:
pn  nagios-nrpe-plugin  <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icinga-duplicate-events.patch
Type: text/x-diff
Size: 14802 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20120827/89384ff9/attachment.patch>


More information about the Pkg-nagios-devel mailing list