Hi
I'm using Nagios core 4.3.2 (on red hat 6) and I'm attemptin to install check-mk-livestatus
The final goal is to use NagVis
Using yum I installed check-mk-livestatus-1.2.6p16-3.el6.x86_64
I modified nagios.cfg with this line
broker_module=/usr/lib64/check_mk/livestatus.o /var/spool/nagios/live
event_broker_options=-1
When I restart nagios I got this error
[1503408104] Error: Could not load module '/usr/lib64/check_mk/livestatus.o' -> /usr/lib64/check_mk/livestatus.o: undefined symbol: last_command_check
[1503408104] Error: Failed to load module '/usr/lib64/check_mk/livestatus.o'.
Could you help me to solve this problem ?
thanks
Emilio
Nagios core 4.3.2 and mk_livestatus 1.2.6
Re: Nagios core 4.3.2 and mk_livestatus 1.2.6
I would recommend removing the repository install and building livestatus from scratch:
http://mathias-kettner.com/checkmk_live ... Livestatus
My guess is that repository you installed from has a build of livestatus for Nagios 3.x rather than Nagios 4.x.
http://mathias-kettner.com/checkmk_live ... Livestatus
My guess is that repository you installed from has a build of livestatus for Nagios 3.x rather than Nagios 4.x.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios core 4.3.2 and mk_livestatus 1.2.6
Here is a thread that describes your issue with a resolution:
https://support.nagios.com/forum/viewto ... =7&t=30485
https://support.nagios.com/forum/viewto ... =7&t=30485
SOLVED Re: Nagios core 4.3.2 and mk_livestatus 1.2.6
I solved in this way
I downloaded mk-livestatus-1.2.6p15
I run ./configure --with-nagios4
and the make is worked and has created the livestatus.o
All works fine
Thanks
Emilio
I downloaded mk-livestatus-1.2.6p15
I run ./configure --with-nagios4
and the make is worked and has created the livestatus.o
All works fine
Thanks
Emilio
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios core 4.3.2 and mk_livestatus 1.2.6
Excellent. That was the main reason I linked that other thread because it showed all the required commands for a Nagios 4 installation including --with-nagios4