Chapter 2.  Installing Nagios 4

The previous chapter described what Nagios is, the basic concepts of monitoring, and types of objects in Nagios. This chapter describes how to install Nagios and the standard Nagios plugins.

We will cover multiple ways in which Nagios can be installed and how it can be run —using binary packages from various Linux distributions and building Nagios from source code. We will also discuss how to run Nagios in your machine, using Docker containers as well as run it inside a virtual machine.

We have provided an easy-to-run script that works on most popular Linux distributions including Debian, Ubuntu, CentOS, and Red Hat Enterprise Linux. For consistency, we recommend that you use this script for Nagios installation as ...

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.