cristian04.cloudwatch_monitoring

ansible-role-cloudwatch-monitoring

Build Status

Dieses Rollenspiel installiert die neueste AWS CloudWatch-Überwachung.

Getestet mit Ansible 2.2.0.0

Wie man es macht

Installation

ansible-galaxy install cristian04.cloudwatch-monitoring

Empfehlungen:

  • Fügen Sie die Rolle nicht zur Versionskontrolle hinzu. Verwenden Sie stattdessen ansible-galaxy
  • Sie können eine requirements-Datei erstellen, indem Sie ansible-galaxy list >> galaxy.roles.yml eingeben
  • Um alle Abhängigkeiten von ansible-galaxy zu installieren, führen Sie ansible-galaxy install -r galaxy.roles.yml aus
  • Ihre ansible.cfg-Datei muss mit dem richtigen Pfad zu den Rollen konfiguriert sein.
  • Sie können ansible.cfg mit dem Parameter -p überschreiben. Beispiel: ansible-galaxy install -r galaxy.roles.yml -p roles/

Rollenvariablen

Schauen Sie sich cloudwatch-monitoring/defaults für eine Beispieldatei an

  • cloud_watch_monitoring_path: /opt
  • path: /
  • cron_specs:
    • { name: "Cloudwatch-Überwachung", 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

  • Tests hinzufügen
  • Vagrant-Images zum Testen hinzufügen

Lizenz

BSD

Autoreninformation

Cristian Marquez Russo.

Basierend auf der Arbeit von Amrit Singh

Über das Projekt

Amazon Cloudwatch Monitoring

Installieren
ansible-galaxy install cristian04.cloudwatch_monitoring
GitHub Repository
Lizenz
Unknown
Downloads
2.6k
Besitzer