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
Nagios core mk_livestatus hanging on reload
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios core mk_livestatus hanging on reload
We do not make livestatus, so may not be of complete help.
Do you get the same issue in you restart nagios?
Do you get the same issue in you restart nagios?
Re: Nagios core mk_livestatus hanging on reload
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
The issue appears only when I use reload.
Ok, thanks, I will try to get support from the creator of livestatus
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios core mk_livestatus hanging on reload
Also, Core 4.4.3 did fix a related issue, however I am not sure there is a compatible version of livestatus
https://github.com/NagiosEnterprises/nagioscore
Code: Select all
* Fixed cleanup and deinit of neb modules on reload (#573) (Jake Omann)
Re: Nagios core mk_livestatus hanging on reload
Thanks, upgrading Nagios fixed the problemscottwilkerson wrote:Also, Core 4.4.3 did fix a related issue, however I am not sure there is a compatible version of livestatushttps://github.com/NagiosEnterprises/nagioscoreCode: Select all
* Fixed cleanup and deinit of neb modules on reload (#573) (Jake Omann)
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios core mk_livestatus hanging on reload
Great!izghitu wrote:Thanks, upgrading Nagios fixed the problemscottwilkerson wrote:Also, Core 4.4.3 did fix a related issue, however I am not sure there is a compatible version of livestatushttps://github.com/NagiosEnterprises/nagioscoreCode: Select all
* Fixed cleanup and deinit of neb modules on reload (#573) (Jake Omann)
Locking thread