Nagios core mk_livestatus hanging on reload

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
izghitu
Posts: 12
Joined: Wed Nov 02, 2016 3:01 pm

Nagios core mk_livestatus hanging on reload

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios core mk_livestatus hanging on reload

Post by scottwilkerson »

We do not make livestatus, so may not be of complete help.

Do you get the same issue in you restart nagios?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
izghitu
Posts: 12
Joined: Wed Nov 02, 2016 3:01 pm

Re: Nagios core mk_livestatus hanging on reload

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios core mk_livestatus hanging on reload

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
izghitu
Posts: 12
Joined: Wed Nov 02, 2016 3:01 pm

Re: Nagios core mk_livestatus hanging on reload

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios core mk_livestatus hanging on reload

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked