PacktLib: Learning Nagios 3.0

Learning Nagios 3.0

Credits

About the Author

About the Reviewer

Preface

Introduction

Introduction to Nagios

Benefits of Monitoring Resources

Main Features

Soft and Hard States

What's New in Nagios 3.0?

Summary

Installation and Configuration

Installation

Nagios Configuration

Summary

Using the Nagios Web Interface

Setting up the Web Interface

Using the Web Interface

Managing Hosts

Managing Services

Managing Downtimes

Managing Comments

Nagios Information

Reports

Summary

Overview of Nagios Plugins

Standard Network Plugins

Monitoring Email Servers

Monitoring Network Services

Monitoring Database Systems

Storage Space

Resource Monitoring

Miscellaneous Plugins

Summary

Advanced Configuration

Maintainable Configurations

Configuration File Structure

Defining Dependencies

Using Templates

Custom Variables

Flapping

Summary

Notifications and Events

Effective Notifications

Escalations

External Commands

Event Handlers

Modifying Notifications

Adaptive Monitoring

Summary

Passive Checks and NSCA

What are Passive Checks?

Configuring Passive Checks

Passive Checks — Hosts

Passive Checks — Services

Troubleshooting Passive Checks

What is NSCA?

Obtaining NSCA

Compiling NSCA

Configuring the NSCA Server

Sending results over NSCA

Security Concerns

Summary

Monitoring Remote Hosts

Monitoring over SSH

Configuring SSH

Using the check_by_ssh Plugin

Performing Multiple Checks

Troubleshooting SSH-Based Checks

Introduction to NRPE

Obtaining NRPE

Compiling NRPE

Configuring the NRPE Daemon

Installing NRPE as a System Service

Configuring Nagios for NRPE

NRPE and Command Arguments

Other Approaches

Troubleshooting NRPE

Summary

SNMP

Introduction to SNMP

Data Objects

Working with SNMP and MIB

Graphical Tools

Setting up an SNMP Agent

Using SNMP from Nagios

Receiving Traps

Additional Plugins

Summary

Advanced Monitoring

Monitoring Windows Hosts

NSClient++

Performing Tests via check_nt

Performing Checks with NRPE Protocol

Passive Checks using NSCA Protocol

Distributed Monitoring

Obsessive Notifications

Configuring Nagios Instances

Freshness Checking

Summary

Extending Nagios

Introduction

Active Checks

Writing Plugins the Right Way

Checking Websites

Monitoring VMware

Your Own Notifications

Managing Nagios

Using Passive Checks

Summary