Nagios 4.1.1 with MK-Livestatus + Nagvis

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
amitw
Posts: 28
Joined: Tue Jun 28, 2016 8:07 am

Nagios 4.1.1 with MK-Livestatus + Nagvis

Post 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!
amitw
Posts: 28
Joined: Tue Jun 28, 2016 8:07 am

Re: Nagios 4.1.1 with MK-Livestatus + Nagvis

Post by amitw »

Hi,
You can close the ticket.
I added "--prefix=/usr/local/nagios to the ./configure script and that solved the problem :-)
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios 4.1.1 with MK-Livestatus + Nagvis

Post by mcapra »

Thanks for sharing your solution! Closing this per your request
Former Nagios employee
https://www.mcapra.com/
Locked