Chapter 3.  Configuring Nagios

The previous chapter described how to set up and configure Nagios. Now that our Nagios system is up and running, we can move on to add hosts and services that should be monitored.

In this chapter, we will cover the following points:

  • Configuring Nagios
  • Understanding macro definitions
  • Configuring hosts and host groups
  • Configuring services and service groups
  • Configuring commands and time periods
  • Configuring contacts and contact groups
  • Verifying configuration
  • Understanding notifications
  • Templates and object inheritance

Configuring Nagios

In this chapter, you will learn about other ways in which the Nagios status can be checked as well as how Nagios itself can be managed.

Nagios configuration is stored in a separate directory. Usually ...

Get Learning Nagios - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.