You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the nagios service (v4.3.4) on my Ubuntu host with community chef cookbook for nagios (7.2.6).
The nagios service won't start without an update to the /etc/passwd file for nagios user.
Most likely due to this change in Nagios Core: NagiosEnterprises/nagioscore#416
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.
Closing due to inactivity. If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
Cookbook version
7.2.6
Chef-client version
12.18.31
Platform Details
Ubuntu Trusty 14.04.5
Scenario:
Use the nagios service (v4.3.4) on my Ubuntu host with community chef cookbook for nagios (7.2.6).
The nagios service won't start without an update to the /etc/passwd file for nagios user.
Most likely due to this change in Nagios Core:
NagiosEnterprises/nagioscore#416
Related documentation here:
https://support.nagios.com/kb/article/nagios-core-error-could-not-create-or-update-nagios-configtest-760.html
Steps to Reproduce:
Bootstap an instance running Ubuntu 14.04.05 (Trusty).
Chef wrapper cookbook that references upstream nagios community cookbook (v 7.2.6)
Include chef attributes which will download, compile, and install nagios 4.3.4 core via tarball.
sudo chef-client
Upstart to start the nagios service.Expected Result:
I expect a
sudo chef-client
run on the instance to start/restart nagios service without errors.Actual Result:
I also have the following entry in the /etc/passwd:
Possible solution
As per the nagios core doc, assumably Ubuntu requires the bash shell defined parameters:
bin/bash
.It appears that there are two paths to resolution depending on the OS in use.
nagios/recipes/server_source.rb
Line 44 in a8f9cf8
The text was updated successfully, but these errors were encountered: