Skip to content

stephenlang/cloud-monitoring-plugin-deploy

 
 

Repository files navigation

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":"rackspace.com","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.

###References:

About

Using ansible to deploy Cloud Monitoring plugins to the Rackspace Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published