I have a working patch to fix this for Xenial. It's packaged in my
PPA[1] and tested. The fix updates check-mk, so the shipped downtime.h
struct matches what's shipped in nagios3, see diff[2].

| [1487560622] Caught SIGHUP, restarting...
| [1487560624] livestatus: Socket thread has terminated
| [1487560624] Event broker module '/usr/lib/check_mk/livestatus.o' 
deinitialized successfully.
| [1487560624] Nagios 3.5.1 starting... (PID=28200)
| [1487560624] Local time is Mon Feb 20 03:17:04 UTC 2017
| [1487560624] LOG VERSION: 2.0
| [1487560624] livestatus: Livestatus 1.2.6p12 by Mathias Kettner. Socket: 
'/var/lib/nagios3/livestatus/socket'
| [1487560624] livestatus: Please visit us at http://mathias-kettner.de/
| [1487560624] livestatus: Hint: please try out OMD - the Open Monitoring 
Distribution
| [1487560624] livestatus: Please visit OMD at http://omdistro.org
| [1487560624] livestatus: Finished initialization. Further log messages go to 
/var/log/nagios3/livestatus.log
| [1487560624] Event broker module '/usr/lib/check_mk/livestatus.o' initialized 
successfully.

Anyone else able to help test it?

[1]https://launchpad.net/~hloeung/+archive/ubuntu/nagios3
[2]https://launchpadlibrarian.net/306798563/check-mk_1.2.6p12-1_1.2.6p12-1haw1.diff.gz

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to