-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault (core dumped) running nagios #141
Comments
Well after leaving this running in that restarting state it finally decided it wanted to start up and seems to be stable.
|
Could the problem be this issue? The solution of setting this parameter has worked for me. Hopefully the issue will be fixed upstream and we can remove this setting again. check_for_updates=0 |
I just ran into the same problem, your solution works for me, thank you! Mathias |
it works for me also. Thx |
Also worked, just to clarify anyone getting here, you need to edit the nagios.cfg inside the etc directory |
I can't quite tell what the effect of
Given we're all grown ups perhaps it make sense for this to be For now I have just edited this value in the container and restarted it, but it will revert next time I pull a fresh file. Actually now that I think about it, having a copy of the config on the outside of the container and mounting it over the top would achieve the same - at the expense of ignoring any future changes to the config in the container itself. |
Yes - that is what I do. I run this image in a kubernetes cluster with all of the configuration external to the container/pod in kubernetes ConfigMaps which are mounted over the files in the image. If I were running this image as a container in Docker I'd be doing the same, by mounting directories as volumes over the folders in the image. As far as I can see, other than stopping the executable from seg-faulting, the only other difference is the warning on the home screen. |
One of the things I use nagios for is to look for updated versions of all the docker images I use - including nagios! - so I can cope until @JasonRivers does a 4.4.8 for us:
(source: https://www.nagios.org/projects/nagios-core/history/4x/) |
Hi,
Our nagios installation using docker-nagios has been stable for some time. A week ago it started looping on startup, and I found that nagios itself was segfaulting during startup. It seemed to resolve itself, and now it has happened again.
I have dug into the
/etc/service/nagios/run
script, and when I run therun
script manually I get this:I'm not sure how to debug this further. Any help appreciated.
The text was updated successfully, but these errors were encountered: