← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

** Changed in: check-mk (Debian)
       Status: New => 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:
  Fix Released

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