cristian04.cloudwatch_monitoring
ansible-role-cloudwatch-monitoring
This role install the latest AWS CloudWatch monitoring.
Tested on Ansible 2.2.0.0
How To
Installation
ansible-galaxy install cristian04.cloudwatch-monitoring
Recommendations:
- Don't add the role into Source Control. Use
ansible-galaxyinstead - You can create a
requirementsfile by typingansible-galaxy list >> galaxy.roles.yml - To install all the
ansible-galaxydependencies, executeansible-galaxy install -r galaxy.roles.yml - Your
ansible.cfgfile must be configured with the correct path to the roles. - You can override
ansible.cfgusing the-pparameter. Example:ansible-galaxy install -r galaxy.roles.yml -p roles/
Role Variables
Take a look into cloudwatch-monitoring/defaults for an example file
- cloud_watch_monitoring_path: /opt
- path: /
- cron_specs:
- { name: "Cloudwatch monitoring", minute: "/5", hour: "", job: "{{ cloud_watch_monitoring_path }}/aws-scripts-mon/mon-put-instance-data.pl --disk-space-util --disk-path={{ path }} --from-cron --aws-access-key-id={{ cloudwatch_aws_key }} --aws-secret-key={{ cloudwatch_aws_secret_key }}" }
TODOs
- Add tests
- Add Vagrant images to test
License
BSD
Author Information
Cristian Marquez Russo.
Based on the work done by Amrit Singh
Install
ansible-galaxy install cristian04.cloudwatch_monitoringLicense
Unknown
Downloads
2.6k
Owner
