adagios icon indicating copy to clipboard operation
adagios copied to clipboard

Nagios 4.5 not working with adagios

Open BrixSat opened this issue 6 months ago • 7 comments

Hi the latest version of nagios (4.5) and adagios 1.6 do not work. When opening adagios the message i have is the following:

Oh no, something went wrong ☹
Adagios cannot connect to livestatus. Don't worry, you can still use the other parts of Adagios, but to get the status part to work check the following:

    Is [mk-livestatus](http://mathias-kettner.de/checkmk_livestatus.html/) installed ?
    Does [nagios.cfg](http://192.168.2.6/adagios/objectbrowser/nagios.cfg) have a broker_module= line that loads mk-livestatus ?
    Are there any errors related to livestatus in [nagios logfiles](http://192.168.2.6/adagios/status/log?search=livestatus) ?

Install instructions for rpm-based systems:

yum --enablerepo=ok-testing install mk-livestatus
pynag config --append "broker_module=/usr/lib64/mk-livestatus/livestatus.o /var/spool/nagios/cmd/livestatus"
service nagios reload
            

Install instructions for debian-based systems:

apt-get install check-mk-livestatus
pynag config --append "broker_module=/usr/lib/check_mk/livestatus.o /var/lib/nagios3/rw/livestatus"
service nagios3 reload

ParserError: "[Errno 111] Connection refused while connecting to '/usr/local/nagios/var/rw/livestatus'. Make sure nagios is running and mk_livestatus loaded."

When adagios is opened it makes the mk-live-status socket crash, and i cant find why is crashing.

Dont know how to fix or where to fix. If someone could point me in the right direction i would appreciate it.

Thanks in advance

BrixSat avatar Jan 03 '24 10:01 BrixSat