Book Image

GeoServer Cookbook

By : Stefano Iacovella
Book Image

GeoServer Cookbook

By: Stefano Iacovella

Overview of this book

Table of Contents (17 chapters)
GeoServer Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring the monitoring extension


In the previous recipe, we started to explore the monitoring extension. You managed to store information for some requests and created a chart showing the proportion of each operation for WMS.

We haven discussed yet where the information is stored. After viewing the chart, try to restart GeoServer and then open the reports section again. You'll be surprised that this time no data is shown; all the information previously collected is gone.

This happens because, by default, the monitoring extension uses the memory as a data repository, so information vanishes each time you restart GeoServer.

In this recipe, we'll configure a more robust approach for information storage, which is especially helpful if you need to save information over a wide range of time.

Getting ready

In this recipe, we're going to store information in an RDBMS. The monitoring extension supports different software, such as H2, PostgreSQL, or Oracle ™.

We'll use PostgreSQL, a powerful and open...