Skip to content
ansible-role-cloudwatch-monitoring
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
handlers
meta
tasks
tests
vars
.gitignore
.travis.yml
README.md

README.md

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.