I am currently running the below versions
Code: Select all
[root@ip-172-31-28-98 centos]# rpm -qa | grep check-mk
check-mk-agent-1.4.0p31-2.el7.x86_64
check-mk-1.4.0p31-2.el7.x86_64
check-mk-livestatus-1.4.0p31-2.el7.x86_64
[root@ip-172-31-28-98 centos]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@ip-172-31-28-98 centos]#
[root@ip-172-31-28-98 etc]# cd /usr/local/nagios/etc/
[root@ip-172-31-28-98 etc]# cat nagios.cfg | grep live
broker_module=/usr/lib64/check_mk/livestatus.o /usr/local/nagios/var/live.sock
[root@ip-172-31-28-98 etc]# ll /usr/lib64/check_mk/livestatus.o
-rwxr-xr-x. 1 root root 2806352 Jun 1 2018 /usr/lib64/check_mk/livestatus.o
[root@ip-172-31-28-98 etc]# rpm -qil check-mk-livestatus-1.4.0p31-2.el7.x86_64
Name : check-mk-livestatus
Version : 1.4.0p31
Release : 2.el7
Architecture: x86_64
Install Date: Sun 01 Jul 2018 05:19:05 AM UTC
Group : Applications/Internet
Size : 3719095
License : GPLv2 and GPLv3
Signature : RSA/SHA256, Fri 01 Jun 2018 02:03:29 PM UTC, Key ID 6a2faea2352c64e5
Source RPM : check-mk-1.4.0p31-2.el7.src.rpm
Build Date : Fri 01 Jun 2018 01:41:06 PM UTC
Build Host : buildvm-18.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : https://mathias-kettner.de/check_mk
Bug URL : https://bugz.fedoraproject.org/check-mk
Summary : The check-mk's Livestatus
Description :
This package contains livestatus, the check-mk's plugin for
accessing the relevant Nagios files being responsible of
listing the hosts and services status.
/usr/bin/unixcat
/usr/lib64/check_mk
/usr/lib64/check_mk/livestatus.o
/usr/share/doc/check-mk-livestatus-1.4.0p31
/usr/share/doc/check-mk-livestatus-1.4.0p31/COPYING
[root@ip-172-31-28-98 etc]# ll /usr/lib64/check_mk
total 2744
-rwxr-xr-x. 1 root root 2806352 Jun 1 2018 livestatus.o
[root@ip-172-31-28-98 etc]#
https://mathias-kettner.com/download_ve ... dition=cre
and i have downloaded the rpm file.
https://mathias-kettner.de/support/1.5. ... x86_64.rpm
I am following the below steps
Code: Select all
#rpm -ivh check-mk-raw-1.5.0p12-el7-38.x86_64.rpm
#cp /opt/omd/versions/1.5.0p12.cre/lib/mk-livestatus/livestatus.o /usr/lib64/check_mk/livestatus.o
#/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
#service nagios restart
Best Regards,
Kaushal