Error: Could not load module livestatus.o: undefined symbol

Hi,

I am running nagios version 4.5.1 (Nagios Core 4.x Version History | Nagios Open Source) along with check-mk-raw-1.6.0p30-el8-38.x86_64 on Red Hat Enterprise Linux release 8.9 (Ootpa)

livestatus.o version

# rpm -qa | grep check-mk-raw
check-mk-raw-1.6.0p30-el8-38.x86_64

OS version

# cat /etc/redhat-release

Red Hat Enterprise Linux release 8.9 (Ootpa)

Thruk web interface version


thruk-plugin-reporting-3.14.2-12970.1.x86_64
thruk-base-3.14.2-12970.1.x86_64
thruk-3.14.2-12970.1.x86_64
libthruk-3.00-0.x86_64
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.5.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2024-02-28
License: GPL

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
	Checked 16 services.
	Checked 2 hosts.
	Checked 5 host groups.
	Checked 0 service groups.
	Checked 1 contacts.
	Checked 1 contact groups.
	Checked 24 commands.
	Checked 5 time periods.
	Checked 0 host escalations.
	Checked 0 service escalations.
Checking for circular paths...
	Checked 2 hosts
	Checked 0 service dependencies
	Checked 0 host dependencies
	Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check
#
#cat /usr/local/nagios/var/nagios.log

[1712322629] Caught SIGTERM, shutting down...
[1712322629] Caught SIGTERM, shutting down...
[1712322629] Successfully shutdown... (PID=228754)
[1712322629] Nagios 4.5.1 starting... (PID=258748)
[1712322629] Local time is Fri Apr 05 18:40:29 IST 2024
[1712322629] LOG VERSION: 2.0
[1712322629] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
[1712322629] qh: core query handler registered
[1712322629] qh: echo service query handler registered
[1712322629] qh: help for the query handler registered
[1712322629] wproc: Successfully registered manager as @wproc with query handler
[1712322629] wproc: Registry request: name=Core Worker 258750;pid=258750
[1712322629] wproc: Registry request: name=Core Worker 258749;pid=258749
[1712322629] wproc: Registry request: name=Core Worker 258751;pid=258751
[1712322629] wproc: Registry request: name=Core Worker 258752;pid=258752
[1712322629] Error: Could not load module '/opt/omd/versions/1.6.0p30.cre/lib/mk-livestatus/livestatus.o' -> /opt/omd/versions/1.6.0p30.cre/lib/mk-livestatus/livestatus.o: undefined symbol: last_command_check
[1712322629] Error: Failed to load module '/opt/omd/versions/1.6.0p30.cre/lib/mk-livestatus/livestatus.o'.
[1712322629] Error: Module loading failed. Aborting.

Am i missing anything? Please point me to download livestatus.o which is compatible with a separate Nagios version 4.5.1 monitoring setup.

Thanks in advance.

Best Regards,

Kaushal

Hi there,

Version 1.6 of Checkmk is End-of-Life and “not supported” anymore.
Please consider upgrading your installation!

  • Glowsome

@Glowsome Thanks for the prompt response. I still encounter the same issue when I am using the latest stable version Werks

Please guide

Thanks in advance.

Best Regards,

Kaushal

Hi,

I do not want to sound rude, but:

Looking at the input from your starting-post you still had CMK1.6.x running/installed.
Then after my reply you reported back within a very short timespan stating you still have the issue on the latest version.

Before upgrading did you read up on Major version upgrade Documentation ?
Or did you just steamroll a supported version over your installation… possibly not resolving any mentioned issues from the above link?

… and you forgot to mention the (supported) version you are now on of CMK…

  • Glowsome

Checkmk is not compatible with Nagios 4.

Thanks Robert for the prompt response. Is there a way to configure livestatus.io as per Thruk - Installation? Please guide.

Thanks in advance

Best Regards,

Kaushal

this is a forum where everyone is participating on their free time without any pay

if you want to use Trunk and not Checkmk please dont use checkmk.

Short Answer No - there is no official livestatus support in Nagios4 - if you want to use Thruk as front-end then you need to use Naemon as the monitoring core.