Skip to content
Branch: master
Find file History
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.
scripts
README.md
RECIPE-icinga-automated-cloud-install.md

README.md

AN ICINGA AUTOMATED INSTALL WITH DOCKERIZED DATABASE BACKEND AND CLOUD BACKUPS

Introduction

Icinga is another interesting monitoring application, and it's very very easy to deploy. In it's most simple way, we can just check availability of servers and services for most common OpenSource applications in the Internet. Of course, it's also a good choice for a simple monitoring solution in the cloud.

The recipe presented here is not only an automated way to install icinga.. also it contain many other technologies and sysadmin technics, ranging from many "file manipulation" ways, to dockerization of the Icinga database backend, puppet-control for files and crontabs, and system backups sent to a OpenStack-based Cloud Object Storage service.

The recipe has two versions: One version for manual running (with a lot of comments inside the script), and one "comment-stripped" version, designed to be passed as user-data in a cloudformation deployment.

In conclusión, this recipe uses the following sysadmin topics:

  • General bash scripting.
  • File contents manipulation.
  • Database services dockerization.
  • Puppet automation.
  • Backup's automation (database and logs) and sending of those backups to a cloud storage (OpenStack SWIFT Object Storage).

What kind of hardware and software you need ?.

This is fully designed for the cloud (specially OpenStack, but also can be adapted to be run in AWS). The script (cloud version) included in this recipe is designed to be passed as "user data" (Metadata services) either on OpenStack or any other cloud using metadata bootstraping services (think AWS and the like).

About the software: You'll need a machine with the following software requeriments. Again, either a virtual cloud instance, or, a bare metal machine if you want to test in a non-cloud environment:

What knowledge should you need to have at hand ?:

  • General Linux administration.
  • Monitoring concepts - specially with Icinga.
  • Docker concepts.
  • Puppet concepts.

What files you'll find here ?:

You can’t perform that action at this time.