tarohida / mk_livestatus

Livestatus is a tool to access the host and service status of your Nagios server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

# How to build on Rocky Linux 9

```
# 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-11.4.1-2.1.el9.x86_64 -y
autoreconf && ./configure --with-nagios4 && make -j8
make install
```

# How to integrate with Nagios (4.4.14)

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
```

About

Livestatus is a tool to access the host and service status of your Nagios server.


Languages

Language:C++ 45.7%Language:C 20.8%Language:Makefile 16.1%Language:Perl 10.6%Language:Shell 2.7%Language:M4 2.2%Language:Python 2.0%