The code in this repository was forked from the offical upstream code, specifically: https://checkmk.com/support/1.5.0p23/mk-livestatus-1.5.0p23.tar.gz
We have created this repo under the permissions granted by the GPLv2 license used by original author. It exists for our internal build processes and ensure access to the code is maintained even if upstream goes away.
This module work with nagios above 4.5.0.
With below 4.4.x, It may does not work.
# cat /etc/redhat-release
Rocky Linux release 9.3 (Blue Onyx)
dnf group install "Development Tools" -y
dnf config-manager --set-enabled crb -y
dnf install epel-release -y
dnf install rrdtool-devel boost-devel libstdc++-static -y
autoreconf && ./configure --with-nagios4 && make -j8
make install
Add following line to /usr/local/nagios/etc/nagios.cfg
broker_module=/usr/local/lib/mk-livestatus/livestatus.o /usr/local/nagios/var/rw/live
chown nagios /usr/local/nagios/var/rw/
systemctl restart nagios