Chapter 1. Understanding Hosts, Services, and Contacts

In this chapter, we will cover the following recipes:

  • Creating a new network host
  • Creating a new HTTP service
  • Creating a new e-mail contact
  • Verifying configuration
  • Creating a new hostgroup
  • Creating a new servicegroup
  • Creating a new contactgroup
  • Creating a new time period
  • Running a service on all hosts on a group


Nagios Core is appropriate for monitoring services and states on all sorts of hosts and one of its primary advantages is that the configuration can be as simple or as complex as required. Many Nagios Core users will only ever use the software as a way to send PING requests to a few hosts on their local network, or possibly the Internet, and use it to send an administrator an e-mail ...

Get Nagios Core Administration Cookbook - Second 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.