Page 1 of 1

Nagios 4.1.1 with MK-Livestatus + Nagvis

Posted: Wed Jul 06, 2016 1:07 am
by amitw
Hi guys,
I have installed mk-livestatus (Version: 1.2.6 - so i know that this version supports Nagios4x - ./configure --with-nagios4 && make install) and when i'm reloading Nagios, im getting this errors:

[1467785108] Error: Could not load module '/usr/local/lib/mk-livestatus/livestatus.o' -> /usr/local/lib/mk-livestatus/livestatus.o: undefined symbol: last_command_check
[1467785108] Error: Failed to load module '/usr/local/lib/mk-livestatus/livestatus.o'.
[1467785108] Error: Module loading failed. Aborting.

I have added this lines to nagios.cfg:
broker_module=/usr/local/lib/mk-livestatus/livestatus.o /usr/local/nagios/var/rw/live
event_broker_options=-1

I know that my problem is with last_command_check, i just don't find any solution.
Will be glad to get some hints :-)

Thanks!

Re: Nagios 4.1.1 with MK-Livestatus + Nagvis

Posted: Wed Jul 06, 2016 1:55 am
by amitw
Hi,
You can close the ticket.
I added "--prefix=/usr/local/nagios to the ./configure script and that solved the problem :-)

Re: Nagios 4.1.1 with MK-Livestatus + Nagvis

Posted: Wed Jul 06, 2016 9:24 am
by mcapra
Thanks for sharing your solution! Closing this per your request