Chapter 3. Create your first monitor

This chapter contains some simple exercises that will help you become familiar with basic monitoring operations. Examples are provided in cURL with JSON formatting. You can also complete this tutorial using the Cloud Monitoring command-line interface, raxmon. An example raxmon command is also shown for each operation. For information on installing and configuring raxmon https://github.com/racker/rackspace-monitoring-cli.

For the purpose of this tutorial assume that you have a new web server that you want to make sure is running and responding to requests within a reasonable amount of time. The basic workflow for the tutorial looks like this:

  1. Create an entity to represent the server in the monitoring system.

  2. Review the list of available monitoring zones.

  3. Define three checks for the new entity.

  4. Set up an email notification and a notification plan so you can receive information about the entity.

  5. Define two alarms and assign them to a check to begin the monitoring process.

  6. Make a simple modification to the original entity.

  7. Delete the entity and its child objects: the checks and alarms.

[Note]Note

In the following exercises, include your authorization token where you see "auth_token" and your account number where you see 010101. If you haven't requested an authentication token yet, follow the instructions in Section 1.7.3, “Authentication example” and then go to Section 3.1, “Create an entity”.



loading table of contents...