-
Notifications
You must be signed in to change notification settings - Fork 289
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
MAX_OPEN_FILES should be configurable for Sensu Enterprise #849
Comments
Thanks @cwjohnston Could you let us know if there are any other options that should be configurable there? That way we can make this feature complete in one pass. |
For what I see here: |
The variables common both to OSS and EE are, if I correctly understood: |
@alvagante You're right, both FWIW, Sensu Enterprise will source both /etc/default/sensu and /etc/default/sensu-enterprise on startup, so it's probably reasonable to isolate Enterprise-only variables into their own file. cc @ghoneycutt |
@cwjohnston @ghoneycutt currently we use the same template for both /etc/default/sensu (https://github.com/sensu/sensu-puppet/blob/master/manifests/package.pp#L180) and /etc/default/sensu-enterprise (https://github.com/sensu/sensu-puppet/blob/master/manifests/enterprise.pp#L54). We might use a different template for sensu-enterprise and place there all the ee-only settings we need (so avoiding the need to have them as params duplicated in the main init.pp). |
@alvagante to circle back to your prior comment about vars shared by Core and Enterprise, I believe the following env vars should not be managed by this module:
The values for these env vars are overridden by JSON configuration on disk, and the module manages JSON configuration for each of these settings. I think having values set for these in both environment variables and in JSON on disk is likely to create confusion. From my perspective, env vars like |
@cwjohnston ok, understand and agree with such division. Actually that was also my concern. |
Added support for MAX_OPEN_FILES environment variable #849
@ghoneycutt this can be closed, I suppose, since relevant PR has been merged. |
Description of problem
Sensu Enterprise uses the value of MAX_OPEN_FILES environment variable to configure ulimit settings prior to starting the JVM. The value of this environment variable can be configured by editing /etc/default/sensu-enterprise, but is not present in the template used by this module to render that file. As a result, users cannot configure the number of file handles Sensu Enterprise can open when using this module.
Platform and version information
The text was updated successfully, but these errors were encountered: