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

allowed_hosts max limit #78

Open
robinwolny opened this issue Apr 19, 2018 · 1 comment
Open

allowed_hosts max limit #78

robinwolny opened this issue Apr 19, 2018 · 1 comment

Comments

@robinwolny
Copy link

robinwolny commented Apr 19, 2018

Cookbook version

2.0.3

Chef-client version

the latest (doesn't matter)

Platform Details

CentOS6/7

Scenario:

when allowed_hosts in /etc/nagios/nrpe.cfg has more then 144 IPs, nrpe is failing and won't start up

Steps to Reproduce:

edit /etc/nagios/nrpe.cfg, option allowed_hosts with 150 or more IPs
Not sure if it's max limitation of NRPE or NRPE bug, but we should have some max limits to avoid it.

Expected Result:

nrpe up and running

Actual Result:

[2018-04-19T12:57:30+00:00] INFO: template[/etc/nagios/nrpe.cfg] sending restart action to service[nrpe] (delayed)
Recipe: nrpe::configure
 * service[nrpe] action restart[2018-04-19T12:57:30+00:00] INFO: Processing service[nrpe] action restart (nrpe::configure line 84)



================================================================================
   Error executing action `restart` on resource 'service[nrpe]'
   ================================================================================

   Mixlib::ShellOut::ShellCommandFailed
   ------------------------------------
   Expected process to exit with [0], but received '1'
   ---- Begin output of /sbin/service nrpe restart ----
   STDOUT: Shutting down nrpe [  OK  ]
   Starting nrpe [FAILED]
   STDERR:
   ---- End output of /sbin/service nrpe restart ----
   Ran /sbin/service nrpe restart returned 1
@github-actions
Copy link

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.

@github-actions github-actions bot added the Stale label Sep 30, 2020
@xorimabot xorimabot removed the Stale label Sep 30, 2020
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

2 participants