Books & Videos

Table of Contents

  1. From Source Code to a Running Installation

    1. Chapter 1 Installation

      1. 1.1 Preparations
      2. 1.2 Compiling Source Code
      3. 1.3 Starting Nagios Automatically
      4. 1.4 Installing and Testing Plugins
      5. 1.5 Configuration of the Web Interface
    2. Chapter 2 Nagios Configuration

      1. 2.1 The Main Configuration File nagios.cfg
      2. 2.2 Objects—an Overview
      3. 2.3 Defining the Machines to Be Monitored, with host
      4. 2.4 Grouping Computers Together with hostgroup
      5. 2.5 Defining Services to Be Monitored with service
      6. 2.6 Grouping Services Together with servicegroup
      7. 2.7 Defining Addressees for Error Messages: contact
      8. 2.8 The Message Recipient: contactgroup
      9. 2.9 When Nagios Needs to Do Something: The command Object
      10. 2.10 Defining a Time Period with timeperiod
      11. 2.11 Templates
      12. 2.12 Configuration Aids for Those Too Lazy to Type
      13. 2.13 CGI Configuration in cgi.cfg
      14. 2.14 The Resources File resource.cfg
    3. Chapter 3 Startup

      1. 3.1 Checking the Configuration
      2. 3.2 Getting Monitoring Started
      3. 3.3 Overview of the Web Interface
  2. In More Detail...

    1. Chapter 4 Nagios Basics

      1. 4.1 Taking into Account the Network Topology
      2. 4.2 On-Demand Host Checks vs. Periodic Reachability Tests
      3. 4.3 States of Hosts and Services
    2. Chapter 5 Service Checks and How They Are Performed

      1. 5.1 Testing Network Services Directly
      2. 5.2 Running Plugins via Secure Shell on the Remote Computer
      3. 5.3 The Nagios Remote Plugin Executor
      4. 5.4 Monitoring via SNMP
      5. 5.5 The Nagios Service Check Acceptor
    3. Chapter 6 Plugins for Network Services

      1. 6.1 Standard Options
      2. 6.2 Reachability Test with Ping
      3. 6.3 Monitoring Mail Servers
      4. 6.4 Monitoring FTP and Web Servers
      5. 6.5 Domain Name Server Under Control
      6. 6.5.1 DNS check with nslookup
      7. 6.5.2 Monitoring the name server with dig
      8. 6.6 Querying the Secure Shell Server
      9. 6.7 Generic Network Plugins
      10. 6.7.2 Monitoring UDP ports
      11. 6.8 Monitoring Databases
      12. 6.9 Monitoring LDAP Directory Services
      13. 6.10 Checking a DHCP Server
      14. 6.11 Monitoring UPS with the Network UPS Tools
      15. 6.12 Health Check of an NTP Server with check_ntp_peer
    4. Chapter 7 Testing Local Resources

      1. 7.1 Free Hard Drive Capacity
      2. 7.2 Utilization of the Swap Space
      3. 7.3 Testing the System Load
      4. 7.4 Monitoring Processes
      5. 7.5 Checking Log Files
      6. 7.6 Keeping Tabs on the Number of Logged-In Users
      7. 7.7 Checking the System Time
      8. 7.8 Regularly Checking the Status of the Mail Queue
      9. 7.9 Keeping an Eye on the Modification Date of a File
      10. 7.10 Monitoring UPSs with apcupsd
      11. 7.11 Nagios Monitors Itself
      12. 7.12 Hardware Checks with LM Sensors
    5. Chapter 8 Plugins for Special Tasks

      1. 8.1 The Dummy Plugin for Tests
      2. 8.2 Negating Plugin Results
      3. 8.3 Inserting Hyperlinks with urlize
      4. 8.4 Checking Host or Service Clusters as an Entity
      5. 8.5 Summarizing Checks with check_multi
    6. Chapter 9 Executing Plugins via SSH

      1. 9.1 The check_by_ssh Plugin
      2. 9.2 Configuring SSH
      3. 9.3 Nagios Configuration
    7. Chapter 10 The Nagios Remote Plugin Executor (NRPE)

      1. 10.1 Installation
      2. 10.2 Starting via the inet Daemon
      3. 10.3 NRPE Configuration on the Computer to Be Monitored
      4. 10.4 NRPE Function Test
      5. 10.5 Nagios Configuration
      6. 10.6 Indirect Checks
    8. Chapter 11 Collecting Information Relevant for Monitoring with SNMP

      1. 11.1 Introduction to SNMP
      2. 11.2 NET-SNMP
      3. 11.3 Nagios's Own SNMP Plugins
      4. 11.4 Other SNMP-based Plugins
    9. Chapter 12 The Nagios Notification System

      1. 12.1 Who Should be Informed of What, When?
      2. 12.2 When Does a Message Occur?
      3. 12.3 The Message Filter
      4. 12.4 External Notification Programs
      5. 12.5 Escalation Management
      6. 12.6 Accounting for Dependencies between Hosts and Services
    10. Chapter 13 Passive Tests with the External Command File

      1. 13.1 The Interface for External Commands
      2. 13.2 Passive Service Checks
      3. 13.3 Passive Host Checks
      4. 13.4 Reacting to Out-of-Date Information of Passive Checks
    11. Chapter 14 The Nagios Service Check Acceptor (NSCA)

      1. 14.1 Installation
      2. 14.2 Configuring the Nagios Server
      3. 14.3 Client-side Configuration
      4. 14.4 Sending Test Results to the Server
      5. 14.5 Application Example I: Integrating syslog and Nagios
      6. 14.6 Application Example II: Processing SNMP Traps
    12. Chapter 15 Distributed Monitoring

      1. 15.1 Switching On the OCSP/OCHP Mechanism
      2. 15.2 Defining OCSP/OCHP Commands
      3. 15.3 Practical Scenarios
  3. The Web Interface and Other Ways to Visualize Nagios Data

    1. Chapter 16 The Classical Web Interface

      1. 16.1 Recognizing and Acting On Problems
      2. 16.2 An Overview of the Individual CGI Programs
      3. 16.3 Planning Downtimes
      4. 16.4 Additional Information on Hosts and Services
      5. 16.5 Configuration Changes through the Web Interfaces: the Restart Problem
      6. 16.6 Modern Layout with the Nuvola Style
    2. Chapter 17 Flexible Web Interface with the NDOUtils

      1. 17.1 The Event Broker
      2. 17.2 The Database Interface
      3. 17.3 The Installation
      4. 17.4 Configuration
    3. Chapter 18 NagVis

      1. 18.1 Installation
      2. 18.2 Creating NagVis Maps
    4. Chapter 19 Graphic Display of Performance Data

      1. 19.1 Processing Plugin Performance Data with Nagios
      2. 19.2 Graphs for the Web with Nagiosgraph
      3. 19.3 Preparing Performance Data for Evaluation with Perf2rrd
      4. 19.4 The Graphics Specialist drraw
      5. 19.5 Automated to a Large Extent: NagiosGrapher
      6. 19.6 Smooth Plotting with PNP
      7. 19.7 Other Tools and the Limits of Graphic Evaluation
  4. Part IV Special Applications

    1. Chapter 20 Monitoring Windows Servers

      1. 20.1 Agent-less Checks via WMI
      2. 20.2 Installing and Configuring the Additional Services
      3. 20.3 The check_nt Plugin
      4. 20.4 NRPE for Windows
    2. Chapter 21 Monitoring Room Temperature and Humidity

      1. 21.1 Sensors and Software
      2. 21.2 The Nagios Plugin check_pcmeasure2.pl
    3. Chapter 22 Monitoring SAP Systems

      1. 22.1 Checking without a Login: sapinfo
      2. 22.2 Monitoring with SAP's Own Monitoring System CCMS
    4. Chapter 23 Processing Events with the EventDB

      1. 23.1 How the EventDB Works
      2. 23.2 Installation
      3. 23.3 Using the Web Interface
      4. 23.5 Maintenance
      5. 23.6 Sending Windows Events to Syslog
      6. 23.7 Making the Incomprehensible Legible with SNMPTT
  5. Part V Development

    1. Chapter 24 Writing Your Own Plugins

      1. 24.1 Programming Guidelines for Plugins
      2. 24.2 The Perl Module Nagios::Plugin
    2. Chapter 25 Determining File and Directory Sizes

      1. 25.1 Splitting up the Command Line With Getopt::Long
      2. 25.2 The Perl Online Documentation
      3. 25.3 Determining Thresholds
      4. 25.4 Implementing Timeouts
      5. 25.5 Displaying Performance Data
      6. 25.6 Configuration Files for Plugins
    3. Chapter 26 Monitoring Oracle with the Instant Client

      1. 26.1 Installing the Oracle Instant Client
      2. 26.2 Establishing a Connection to the Oracle Database
      3. 26.3 A Wrapper Plugin for sqlplus
  6. Part VI Appendixes

    1. Appendix An Overview of the Nagios Configuration Parameters

      1. A.1 The Main Configuration File nagios.cfg
      2. A.2 CGI Configuration in cgi.cfg
    2. Appendix Rapidly Alternating States: Flapping

      1. B.1 Flap Detection with Services
      2. B.2 Flap Detection for Hosts
    3. Appendix Event Handlers

      1. C.1 Execution Times for the Event Handler
      2. C.2 Defining the Event Handler in the Service Definition
      3. C.3 The Handler Script
      4. C.4 Things to Note When Using Event Handlers
    4. Appendix Macros

      1. D.1 Standard Macros
      2. D.2 On-Demand Macros
      3. D.3 Macros for User-defined Variables
      4. D.4 Macro Contents: Not Everything Is Allowed
    5. Appendix Single Sign-On for the Nagios Web Interface

      1. E.1 HTTP Authentication for Single Sign-On
      2. E.2 Kerberos Authentication with mod_auth_kerb
      3. E.3 Single Sign-On with mod_auth_ntlm_winbind
      4. E.4 Mozilla Firefox as a Web Client
      5. E.5 Microsoft Internet Explorer as a Web Client
    6. Appendix Tips on Optimizing Performance

      1. F.1 Internal Statistics of Nagios
      2. F.2 Measures for Improving Performance
      3. F.2.6 Preferring passive checks
    7. Appendix The Embedded Perl Interpreter

      1. G.1 Requirements of an ePN-capable Plugin
      2. G.2 Using ePN
      3. G.3 The Testing Tool new_mini_epn
    8. Appendix What's New in Nagios 3.0?

      1. H.1 Changes in Object Definitions
      2. H.2 Variable and Macros
      3. H.3 Downtime, Comments, and Acknowledgments
      4. H.4 Rapidly Changing States
      5. H.5 External Commands
      6. H.6 Embedded Perl
      7. H.7 A New Logic for Host Checks
      8. H.8 Restart
      9. H.9 Performance Optimization
      10. H.10 Extended Plugin Output
      11. H.11 CGI
      12. H.12 Miscellaneous
      13. H.13 Upgrade from Nagios 2.x to 3.0