[Pkg-nagios-devel] Bug#503943: nagios3: Waits for notification to finish

Vladislav Kurz vladislav.kurz at webstep.net
Wed Oct 29 15:53:59 UTC 2008

Package: nagios3
Version: 3.0.3-3
Severity: normal


I have a custom notification command - instead of sending e-mail it
displays a pop-up window using xmessage. I used it for a few years with
nagios 1.x. Now we try to migrate our config to nagios 3.x and found
this bug:

Nagios is waiting indefinitely for notification command to finish. This
is not a problem when sending e-mails, as mail command usually exits
quickly. But my xmessage notification sometimes does not exit quickly.
(i.e. when I'm away and there's nobody to close the popup). I noticed
that while nagios3 is waiting for notification to exit, it does not do
any service checks, and eats all cpu! It does not care about setting
notification_timeout=30. I let the popup open for more that 30 minutes
and nagios was still waiting for it. After I closed the notification
window, this line appeared in nagios.log:

Warning: A system time change of 0d 0h 37m 28s (forwards in time) has
been detected.  Compensating...

This apparently does not happen with nagios 1.x as I often had multiple
popups on my desktop with and nagios was happily checking services
further, and displaying new notifications for new problems or recoveries.

Vladislav Kurz

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (60, 'testing'), (30, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686-bigmem
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios3 depends on:
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libgd2-xpm             2.0.36~rc1~dfsg-3 GD Graphics Library version 2
ii  libjpeg62              6b-13             The Independent JPEG Group's JPEG 
ii  libperl5.10            5.10.0-11         Shared Perl library
ii  libpng12-0             1.2.15~beta5-1    PNG library - runtime
ii  nagios3-common         3.0.3-3           support files for nagios3
ii  perl                   5.10.0-11         Larry Wall's Practical Extraction 
ii  zlib1g                 1:  compression library - runtime

nagios3 recommends no packages.

-- no debconf information

More information about the Pkg-nagios-devel mailing list