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

Michael Friedrich michael.friedrich at gmail.com
Tue Aug 28 11:13:31 UTC 2012


-------- Original Message --------
Subject: Bug#686036: icinga: Upstream bug fixes for duplicate events
From: Bernhard Schmidt <berni at birkenwald.de>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Date: 2012-08-27 23:30
> 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.

ah yes. sorry, i totally forgot to report the issue to the debian 
bugtracker. i would call it a grave bug, and opting for an immediate 
include into wheezy. sorry for the inconvenience this probably caused, 
it was not that easy to track it down in the first place as the bug 
reports did not make it that clear.

attached is a patch against 1.7.1 release, squashing the 2 commits into 
one, leaving the Changelog intact (1.7.2 shouldn't be mentioned in a 
1.7.1 revision imho). consider it tested on my dev box.

the other fixes released within 1.7.2 are minor, not release critical, 
and some are also nearly-enhancements.

kind regards,
michael

-- 
DI (FH) Michael Friedrich

https://twitter.com/dnsmichi

Lead Icinga Core Developer
https://www.icinga.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-core-fix-duplicated-events-on-check-scheduling-logic.patch
Type: text/x-diff
Size: 10268 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20120828/ecb6f366/attachment-0001.patch>


More information about the Pkg-nagios-devel mailing list