sous-chefs / sc-mongodb

Development repository for the sc-mongodb cookbook
https://supermarket.chef.io/cookbooks/sc-mongodb
Apache License 2.0
75 stars 91 forks source link

mms-monitoring-agent does not behave as documented #168

Open st-h opened 7 years ago

st-h commented 7 years ago

the docs state To setup MMS, simply set your keys in node['mongodb']['mms_agent']['api_key'] and then add the sc-mongodb::mms_monitoring_agent recipe to your run list.

When doing so, this leads to a /etc/mongodb-mms/monitoring-agent.config without any mmsApiKey or mmsGroupId (which is a required parameter by now) set.

I had to set these parameters by using the following settings to make the monitoring agent work correctly.

node['mongodb']['mms_agent']['monitoring']['config']['mmsApiKey'] = 'key'
node['mongodb']['mms_agent']['monitoring']['config']['mmsGroupId'] = 'group'
github-actions[bot] commented 4 years ago

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.