O'Reilly logo

Nagios: Building Enterprise-Grade Monitoring Infrastructures for Systems and Networks, Second Edition by David Josephsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Configuring Nagios

After installation, Nagios needs some configuration before it can start. Nagios is configured by way of text files that contain directives and definitions. It can seem daunting to configure for the first time because the definitions are self-referential and there’s a lot to define.

To get started, Nagios needs to call plug-ins during a time period against hosts and services and send notifications to contacts in the event a check returns a bad status, so you need to define the checks, time periods, hosts, services, notification commands, and contacts (and that’s all mandatory). Because so many objects refer to so many other objects, it can be hard to know where to begin to explain it all. Don’t be discouraged; Nagios ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required