Chapter 5. Monitoring Methods

In this chapter, we will cover the following recipes:

  • Monitoring PING for any host
  • Monitoring SSH for any host
  • Checking an alternative SSH port
  • Monitoring mail services
  • Monitoring web services
  • Checking that a website returns a given string
  • Monitoring database services
  • Monitoring the output of an SNMP query
  • Monitoring a RAID or other hardware device
  • Creating an SNMP OID to monitor

Introduction

Nagios Core is best thought of as a monitoring framework that uses plugins to perform appropriate checks on hosts and services, and returns results about their states in a format that it understands and can use for sending notifications and keeping track of states on a long-term basis.

The design is quite flexible. As explained in Chapter ...

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