Page 2 of 2

Re: Fix for livestatus icw nagios 4

Posted: Tue Sep 23, 2014 12:45 pm
by sreinhardt
can you provide the exact steps that you followed from downloading source files to building the binaries please?

Re: Fix for livestatus icw nagios 4

Posted: Tue Sep 23, 2014 1:15 pm
by lmiltchev
You can search system messages for errors, related to livestatus:

Code: Select all

grep livestatus /var/log/messages
Most probably the module didn't load. I believe you need to change this:

Code: Select all

broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
to this:

Code: Select all

broker_module=/usr/local/lib/mk-livestatus/livestatus.o /usr/local/nagios/var/rw/live
Note: Other words, you need to put "live" into the same directory as the Nagios pipe.

Restart nagios and check to see if the module loaded successfully:

Code: Select all

service nagios restart
grep livestatus /var/log/messages

Re: Fix for livestatus icw nagios 4

Posted: Mon Mar 27, 2017 5:55 am
by Mike-sbg
This post is rather old, but did you get it working, without crashes of the nagios core.

I didn't have luck ... Nagios 4.2 crashes every few hours, when I use mk-livestatus

Re: Fix for livestatus icw nagios 4

Posted: Mon Mar 27, 2017 11:03 am
by lmiltchev
Mike, I will be locking this post as you have another one open on the same issue already: https://support.nagios.com/forum/viewto ... 6&start=10, and a post on GitHub: https://github.com/NagiosEnterprises/na ... issues/299.