Book Image

VMware vCenter Cookbook

By : Kostantin Kuminsky
Book Image

VMware vCenter Cookbook

By: Kostantin Kuminsky

Overview of this book

Table of Contents (15 chapters)
VMware vCenter Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Controlling the space used by snapshots


VM snapshots and concerns related to space usage are described in the Managing space used by snapshots recipe in Chapter 4, Improving Environment Efficiency. This recipe also has an example of configuring an alarm that can help to identify virtual machines that have a snapshot.

While such an approach is suitable for a cleaning task, it's also helpful to be notified about VMs with large snapshots before they take too much space and start causing performance issues. This can be achieved by creating an alarm with a higher threshold for snapshot size and attaching an email notification to it.

Note

An alarm definition for snapshot size does not exist by default in vCenter and has to be added manually.

How to do it...

vCenter has a trigger that monitors VM snapshot size, which can be used to create an alert that will notify the user when the snapshot size reaches a specified threshold.

To accomplish this in vCenter Client:

  1. Go to the Datacenter level, switch to...