Configure Jolokia
You can customize your Jolokia security access policy and metrics.conf settings. You can also use these steps to disable the /metrics/v2/ endpoints.
- To change the security access policy:
- Create a
jolokia-access.xmlfile at the following location:/etc/puppetlabs/orchestration-services/jolokia-access.xml
- Populate the file contents according to your desired Jolokia access
policy (as described in the security chapter of the Jolokia
documentation), and uncomment the following parameter:
metrics.metrics-webservice.jolokia.servlet-init-params.policyLocation
- Save the file and restart the Puppet Server service.
- Create a
- For additional configuration options, refer to the
metrics.metrics-webservice.jolokia.servlet-init-paramstable in themetrics.conffile located at:/etc/puppetlabs/orchestration-services/conf.d/metrics.conf
Jolokia's Servlet init parameters documentation explains the various options available in this table.
To disable the/metrics/v2/endpoints, open themetrics.conffile and set themetrics.metrics-webservice.jolokia.enabledparameter tofalse.






