Page 1 of 1

Nagios core mk_livestatus hanging on reload

Posted: Wed Feb 06, 2019 4:25 pm
by izghitu
Hi,

I have latest Nagios core with mk_livestatus working on CentOS 6 64 bit. I use mk_livestatus to get data from Nagios. All works fine when I start Nagios until the moment where a config change is done and I use the init script to reload the Nagios daemon.

What happens after the reload is that any request sent to the mk_livetatus socker including the ones using the unixcat command simply timeout and send back no response.

I have it configured like this:
broker_module=/opt/monitoring/libexec/livestatus.o /opt/monitoring/var/rw/live
event_broker_options=-1

Anyone experienced this in the past?
Please help.
Thanks

Re: Nagios core mk_livestatus hanging on reload

Posted: Thu Feb 07, 2019 3:15 pm
by scottwilkerson
We do not make livestatus, so may not be of complete help.

Do you get the same issue in you restart nagios?

Re: Nagios core mk_livestatus hanging on reload

Posted: Thu Feb 07, 2019 3:23 pm
by izghitu
When I fully restart nagios there's no issue, it works just fine

The issue appears only when I use reload.

Ok, thanks, I will try to get support from the creator of livestatus

Re: Nagios core mk_livestatus hanging on reload

Posted: Thu Feb 07, 2019 3:28 pm
by scottwilkerson
Also, Core 4.4.3 did fix a related issue, however I am not sure there is a compatible version of livestatus

Code: Select all

* Fixed cleanup and deinit of neb modules on reload (#573) (Jake Omann)
https://github.com/NagiosEnterprises/nagioscore

Re: Nagios core mk_livestatus hanging on reload

Posted: Mon Feb 18, 2019 10:12 am
by izghitu
scottwilkerson wrote:Also, Core 4.4.3 did fix a related issue, however I am not sure there is a compatible version of livestatus

Code: Select all

* Fixed cleanup and deinit of neb modules on reload (#573) (Jake Omann)
https://github.com/NagiosEnterprises/nagioscore
Thanks, upgrading Nagios fixed the problem

Re: Nagios core mk_livestatus hanging on reload

Posted: Mon Feb 18, 2019 11:20 am
by scottwilkerson
izghitu wrote:
scottwilkerson wrote:Also, Core 4.4.3 did fix a related issue, however I am not sure there is a compatible version of livestatus

Code: Select all

* Fixed cleanup and deinit of neb modules on reload (#573) (Jake Omann)
https://github.com/NagiosEnterprises/nagioscore
Thanks, upgrading Nagios fixed the problem
Great!

Locking thread