Book Image

Nagios Core Administration Cookbook

By : Tom Ryder
Book Image

Nagios Core Administration Cookbook

By: Tom Ryder

Overview of this book

Network monitoring requires significantly more than just pinging hosts. This cookbook will help you to comprehensively test your networks' major functions on a regular basis."Nagios Core Administration Cookbook" will show you how to use Nagios Core as a monitoring framework that understands the layers and subtleties of the network for intelligent monitoring and notification behaviour. Nagios Core Administration Guide introduces the reader to methods of extending Nagios Core into a network monitoring solution. The book begins by covering the basic structure of hosts, services, and contacts and then goes on to discuss advanced usage of checks and notifications, and configuring intelligent behaviour with network paths and dependencies. The cookbook emphasizes using Nagios Core as an extensible monitoring framework. By the end of the book, you will learn that Nagios Core is capable of doing much more than pinging a host or to check if websites respond.
Table of Contents (18 chapters)
Nagios Core Administration Cookbook
About the Author
About the Reviewers

Improving startup times with pre-cached object files

In this recipe, we'll learn how to shorten startup times for large and/or complex Nagios Core configurations. This is done by pre-caching the Nagios Core objects from the configuration, applying all appropriate template and group expansions into a single file that Nagios Core can read much more quickly than a more modular and human-readable configuration.

This will likely only be of interest to you if you are monitoring more than a hundred hosts or services with a reasonably complex template and grouping layout, as suggested by some of the recipes in Chapter 1 and Chapter 9. It will still work on smaller installations, but the gains in startup speed are likely to be minimal.

If you are only running a small setup, then this recipe might be of interest if you want to better understand how Nagios Core expands a configuration that uses a lot of templates and other configuration tricks.

Getting ready

You should be running a Nagios Core 3.0 or...