Problem mk-livestatus on Nagios 4.1.1
-
- Posts: 36
- Joined: Thu Feb 25, 2016 7:42 am
Problem mk-livestatus on Nagios 4.1.1
[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.
[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
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.
Former Nagios employee
Re: Problem mk-livestatus on Nagios 4.1.1
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!
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
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.
Former Nagios employee
-
- Posts: 1
- Joined: Thu Nov 17, 2016 8:41 am
Re: Problem mk-livestatus on Nagios 4.1.1
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"
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
Thanks for the addition @WinkTVSupport - I'll leave this open for further discussion.
Former Nagios Employee
Re: Problem mk-livestatus on Nagios 4.1.1
Did anyone find a solution for the problem?
It compiled without any errors for Nagios 4.2.3, but when I try to start it, I get the error
Code: Select all
./configure CPPFLAGS=-I/Nagios-Sources/include/
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
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Problem mk-livestatus on Nagios 4.1.1
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
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
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Problem mk-livestatus on Nagios 4.1.1
@rumarcin11, does @Mike-sbg's solution work for you?