Using ansible to deploy Cloud Monitoring plugins to the Rackspace Cloud
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 18 commits ahead, 7 commits behind joeashcraft:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

An ansible playbook to install Cloud Monitoring plugins on the localhost. This guide will not go into how to install ansible or git for your system.

Default command:

ansible-playbook -i hosts <playbook>

###Available playbooks

  • holland_mysqldump.yml
  • lsyncd_status.yml
  • mysql_slave.yml
  • port_check.yml

###Examples | Name | Examples | ---------- | -------- | | holland_mysqldump | holland_mysqldump.yml | lsyncd_status | lsyncd_status.yml | mysql_slave | mysql_slave.yml | port_check | port_check.yml -e port=8080
port_check.yml -e '{"host":"","port":"80"}'

###Assumptions It is assumed that you have the ability to run Ansible. That may require installation of appropriate packages for the operating system or Python modules.

###Operating systems Functionality has been tested on Debian+Ubuntu and RHEL+CentOS.

###Modifiers You can edit the group_vars/all file if you want to change any of the defaults.

  • The Notification Plan will default to npManaged, but you can change it to npTechnicalContactsEmail or any notification plan that is created for the account.

###Troubleshooting Some tips to help you in the right direction.

  • The Rackspace Cloud Monitoring Agent log file can be found in /var/log/rackspace-monitoring-agent.log.
  • Configuration files will exist in /etc/rackspace-monitoring-agent.conf.d/.
  • The npManaged notification plan only exists for Managed Accounts, make sure you update this if you are an infrastructure account.