** Description changed:

  [Impact]
  
- - Ubuntu          14.04
- - nagios3          3.5.1-1ubuntu1
- - check-mk-livestatus   1.2.2p3-1
+ - 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).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1372284

Title:
  nagios3 + livestatus: SIGSEGV everyday at midnight

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to