Book Image

PostgreSQL 9 High Availability Cookbook

By : Shaun Thomas
Book Image

PostgreSQL 9 High Availability Cookbook

By: Shaun Thomas

Overview of this book

Table of Contents (17 chapters)
PostgreSQL 9 High Availability Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Monitoring

In this chapter, we will learn how to effectively monitor PostgreSQL's server status and database performance. Primarily, we will focus on using Nagios, check_mk, check_postgres, collectd, and Graphite; all of these tools excel at system monitoring. We will cover the following recipes in this chapter:

  • Figuring out what to monitor

  • Installing and configuring Nagios

  • Configuring Nagios to monitor a database host

  • Enhancing Nagios with check_mk

  • Getting to know check_postgres

  • Installing and configuring collectd

  • Adding a custom PostgreSQL monitor to collectd

  • Installing and configuring Graphite

  • Adding collectd data to Graphite

  • Building a graph in Graphite

  • Customizing a Graphite graph

  • Creating a Graphite dashboard