Nagios core mk_livestatus hanging on reload

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Nagios core mk_livestatus hanging on reload

Postby izghitu » Wed Feb 06, 2019 4:25 pm

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
izghitu
 
Posts: 12
Joined: Wed Nov 02, 2016 3:01 pm

Re: Nagios core mk_livestatus hanging on reload

Postby scottwilkerson » Thu Feb 07, 2019 3:15 pm

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

Do you get the same issue in you restart nagios?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 13480
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios core mk_livestatus hanging on reload

Postby izghitu » Thu Feb 07, 2019 3:23 pm

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
izghitu
 
Posts: 12
Joined: Wed Nov 02, 2016 3:01 pm

Re: Nagios core mk_livestatus hanging on reload

Postby scottwilkerson » Thu Feb 07, 2019 3:28 pm

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 13480
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios core mk_livestatus hanging on reload

Postby izghitu » Mon Feb 18, 2019 10:12 am

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
izghitu
 
Posts: 12
Joined: Wed Nov 02, 2016 3:01 pm

Re: Nagios core mk_livestatus hanging on reload

Postby scottwilkerson » Mon Feb 18, 2019 11:20 am

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 13480
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 25 guests