cloudwatch_monitoring

ansible-role-cloudwatch-monitoring

Build Status

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-galaxy instead
  • You can create a requirements file by typing ansible-galaxy list >> galaxy.roles.yml
  • To install all the ansible-galaxy dependencies, execute ansible-galaxy install -r galaxy.roles.yml
  • Your ansible.cfg file must be configured with the correct path to the roles.
  • You can override ansible.cfg using the -p parameter. 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

About

Amazon Cloudwatch Monitoring

Install
ansible-galaxy install cristian04/ansible-role-cloudwatch-monitoring
GitHub repository
License
Unknown
Downloads
2587
Owner