Page 1 of 2

Problem mk-livestatus on Nagios 4.1.1

Posted: Tue Apr 12, 2016 8:20 am
by rumarcin11
[1460464949] Error: Could not load module '/usr/local/lib/mk-livestatus/livestatus.o' -> /usr/local/lib/mk-livestatus/livestatus.o: undefined symbol: external_command_buffer_slots
[1460464949] Error: Failed to load module '/usr/local/lib/mk-livestatus/livestatus.o'.
[1460464949] Error: Module loading failed. Aborting.

Re: Problem mk-livestatus on Nagios 4.1.1

Posted: Tue Apr 12, 2016 1:28 pm
by tmcdonald
You'll need to reach out to the MK devs for help with this, as it is not our project and we do not provide support for it.

Re: Problem mk-livestatus on Nagios 4.1.1

Posted: Thu Nov 03, 2016 2:23 pm
by blevans
rumarcin,
I am having the same issue and have not been able to locate ANY info on this error elsewhere.
Were you able to resolve this?
If so, please advise!

Re: Problem mk-livestatus on Nagios 4.1.1

Posted: Thu Nov 03, 2016 2:34 pm
by tmcdonald
We can leave this open for the OP to comment, but the thread is fairly old by now and he might not have notifications enabled.

Re: Problem mk-livestatus on Nagios 4.1.1

Posted: Thu Nov 17, 2016 8:51 am
by WinkTVSupport
for future search reference.

I can confirm that for mk-livestatus-1.2.8 and Nagios 4.1.1 core ... livestatus will successfully build if you copy the required .h files from the nagios source to the mk-livestatus nagios4 directory.
edit: shared.sh, change
#include "lib/libnagios.h"
to
#include "libnagios.h"

Re: Problem mk-livestatus on Nagios 4.1.1

Posted: Thu Nov 17, 2016 11:34 am
by rkennedy
Thanks for the addition @WinkTVSupport - I'll leave this open for further discussion.

Re: Problem mk-livestatus on Nagios 4.1.1

Posted: Wed Dec 14, 2016 9:15 am
by Mike-sbg
Did anyone find a solution for the problem?

Code: Select all

./configure CPPFLAGS=-I/Nagios-Sources/include/
It compiled without any errors for Nagios 4.2.3, but when I try to start it, I get the error

Code: Select all

Error: Could not load module '/usr/lib64/check_mk/livestatus.o' -> /usr/lib64/check_mk/livestatus.o: undefined symbol: external_command_buffer_slots

Re: Problem mk-livestatus on Nagios 4.1.1

Posted: Wed Dec 14, 2016 10:26 am
by dwhitfield
Perhaps those of you in this thread have already looked, but there are various threads of people trying to get mk-livestatus working: https://support.nagios.com/forum/search ... id%5B%5D=5

Re: Problem mk-livestatus on Nagios 4.1.1

Posted: Thu Dec 15, 2016 6:38 am
by Mike-sbg
If found a solution, you must also define, for which Nagios Version you compile it, the full command is:

Code: Select all

./configure CPPFLAGS=-I/Nagios-Sources/nagios-4.2.3/include/  --with-nagios4 --prefix=/usr/local/nagios

Re: Problem mk-livestatus on Nagios 4.1.1

Posted: Thu Dec 15, 2016 10:04 am
by dwhitfield
@rumarcin11, does @Mike-sbg's solution work for you?