-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
notifying the nrpe service to reload itself does not work correctly #7
Comments
Sorry ... it was just not working in my vagrant environment, but is on real servers :? |
Hi here's my recipe:
|
i've tryed to go on the VM, manually delete /etc/nagios/nrpe.d/check_ntp_monitoring.cfg,
also i can confirm nrpe is not restarted by check the age of the nrpe process thanks |
Hey, i just tested it on a ubuntu 12.04 vm and have the same issue. I'm installing nrpe from source in version 2.15. For me it seems that the reload command for the init script didn't work because there was no pid file. A quick check shows the pid directory /var/run/nagios does not exist and the nagios-nrpe-server is not creating it when started (although pid file is configured in config). If I create that directory within my recipe all works now. But /var/run is cleared a boot time, which is why i would not create the dir through chef, but change the pid file location: # set this in your attributes file or wherever
default['nrpe']['pid_file'] = '/run/nagios.pid' |
maybe we should update the cookbook attributes accordingly? |
for debian squeeze use |
thanks for the reply! thanks again On Wed, Jul 22, 2015 at 10:33 PM, Alexander Springer <
|
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs. |
Hey,
i'm using ubuntu 12.04LTS and the
within the check lwrp
doesn't work for me. It always just says:
And using the check_nrpe plugin can't find configured commands until i restart nrpe by hand.
I'm installing nrpe using the source method and the provided init script doesn't support reload as a command, maybe this is the real problem here, not sure.
The text was updated successfully, but these errors were encountered: