Page 1 of 1

livestatus.o addon on Nagios 4.4.6 on CentOS Stream 8 OS

PostPosted: Mon Oct 04, 2021 11:35 am
by kaushalshriyan
Hi,

I am running Nagios Core 4.4.6 on CentOS Stream release 8. Please refer to the below details about nagios and thruk web interface https://www.thruk.org/


Code: Select all
#rpm -qa | grep labs-consol
labs-consol-stable-1.4-1.noarch
#rpm -qa | grep thruk
thruk-base-2.44.3-11112.1.x86_64
thruk-2.44.3-11112.1.x86_64
thruk-plugin-reporting-2.44.3-11112.1.x86_64
libthruk-2.44.2-0.x86_64
#rpm -qa | grep epel
epel-release-8-11.el8.noarch
epel-next-release-8-11.el8.noarch
#

Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-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 1 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


I am following https://www.thruk.org/documentation/install.html to install Livestatus addon for Nagios which provides real time status data. Is there a way to enable the below entry in /usr/local/nagios/etc/nagios.cfg file. I did search using yum and dnf package manager on CentOS Stream release 8 but unable to locate livestatus.o addon or install it.

Code: Select all
broker_module=/opt/local/livestatus/livestatus.o /tmp/live.sock


Any help will be highly appreciable. Please guide/suggest. Thanks in advance.

Best Regards,

Kaushal

Re: livestatus.o addon on Nagios 4.4.6 on CentOS Stream 8 OS

PostPosted: Tue Oct 05, 2021 9:17 am
by mcapra
From the documentation you linked:

Refer to https://checkmk.com/cms_livestatus.html on how to install livestatus onto your monitoring box. The Lab Consol Repository has livestatus rpm packages. For debian based Linux systems just use the provided packages of your distribution.


Sounds like you'll need to compile livestatus from scratch, as CentOS Stream is not Debian based.

Re: livestatus.o addon on Nagios 4.4.6 on CentOS Stream 8 OS

PostPosted: Tue Oct 12, 2021 12:50 pm
by kaushalshriyan
Thanks mcapra for the response. I will appreciate if you can point me to the github url or source code of livestatus to be installed on CentOS Stream 8 OS against Nagios 4.4.6 core version. Thanks in Advance.

Re: livestatus.o addon on Nagios 4.4.6 on CentOS Stream 8 OS

PostPosted: Wed Oct 13, 2021 5:02 pm
by benjaminsmith
Hi @kaushalshriyan,

That's not our project. I would recommend doing a search on that or visiting the companies website for help.

--Benjamin