Skip to content
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

how to reload nagios ? #32

Closed
cxadmin opened this issue Jun 14, 2017 · 3 comments
Closed

how to reload nagios ? #32

cxadmin opened this issue Jun 14, 2017 · 3 comments

Comments

@cxadmin
Copy link

cxadmin commented Jun 14, 2017

As I understand the only way to apply changes is to restart docker container?
IS there any other options to reload nagios?

@JasonRivers
Copy link
Owner

There is a way to do this from within the web panel for nagios.
On the left hand menu select "Process Info" (near the bottom under System) and then select "Restart the Nagios process"

This will trigger nagios to stop and start reloading any new configuration, - be aware that if there are errors in your configuration then the nagios process will fail to restart, it's a good idea to check that the config is OK using:

nagios -v /opt/nagios/etc/nagios.cfg

@cxadmin
Copy link
Author

cxadmin commented Jun 15, 2017 via email

@coolminds-tech
Copy link

When I tried to restart I got following error

Error: Could not open command file '/opt/nagios/var/rw/nagios.cmd' for update!
The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants