← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1372284] Re: nagios3 + livestatus: SIGSEGV everyday at midnight

 

This bug was fixed in the package check-mk - 1.2.6p12-1ubuntu0.16.10.1

---------------
check-mk (1.2.6p12-1ubuntu0.16.10.1) yakkety; urgency=medium

  * Added patch to fix downtime.h's scheduled_downtime_struct (LP:
#1372284)

 -- Haw Loeung <haw.loeung@xxxxxxxxxxxxx>  Wed, 05 Apr 2017 09:34:13
-0700

** Changed in: check-mk (Ubuntu Yakkety)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1372284

Title:
  nagios3 + livestatus: SIGSEGV everyday at midnight

Status in check-mk package in Ubuntu:
  Fix Released
Status in check-mk source package in Trusty:
  Fix Released
Status in check-mk source package in Xenial:
  Fix Released
Status in check-mk source package in Yakkety:
  Fix Released
Status in check-mk source package in Zesty:
  Fix Released
Status in check-mk package in Debian:
  New

Bug description:
  [Impact]

  - Ubuntu          14.04, 16.04, 16.10, and 17.04

  Nagios goes down everyday at midnight with livestatus enabled and
  downtime configured.

  Here are bug reports in other trackers:
  https://bugzilla.redhat.com/show_bug.cgi?id=1083003
  http://tracker.nagios.org/view.php?id=516
  http://tracker.nagios.org/view.php?id=455

  People say this patch helps:
  http://git.mathias-kettner.de/git/?p=omd.git;a=blob;f=packages/nagios/patches/0007-fix_downtime_struct.dif;h=af0e245b585e78c372a69d10c5e3b47ab64ad510;hb=HEAD

  [Test Case]

  * Enable check-mk-livestatus plugin (add
  broker_module=/usr/lib/check_mk/livestatus.o
  /var/lib/nagios3/livestatus/socket to nagios3/nagios.cfg)

  * Wait for log rotation (or update log_rotation_method in
  nagios3/nagios.cfg to rotate hourly so it happens more often)

  * Without the fix, nagios segfaults, entry in
  /var/log/nagios3/nagios.log as follows:

  | [1486857600] Caught SIGSEGV, shutting down...

  * With the fix, nagios logrotation succeeds and rotated logs present
  in /var/log/nagios3/archives.

  [Regression Potential]

  Nagios will continue to segfault during logrotation.

  [Other Info]

  check-mk ships out a different version of nagios/downtime.h which
  differs from nagios3's downtime.h (defined struct
  scheduled_downtime_struct differs between the two).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/check-mk/+bug/1372284/+subscriptions