Version 2.0 Documentation Table of Contents About What is Nagios? System requirements Licensing Downloading the latest version Other monitoring utilities Release Notes What’s new in this version Change log Support Self-service and commercial support GettingStarted Advice for beginners Installing Nagios Compiling and installing Nagios Setting up the web interface Configuring Nagios Configuration overview Main configuration file options Object configuration file options CGI configuration file options Configuring authorization for the CGIs Running Nagios Verifying the configuration Starting Nagios Stopping and restarting Nagios Nagios Plugins Standardplugins Writing your own plugins
Nagios Addons NRPE - Daemon and plugin for executing plugins on remote hosts NSCA- Daemon and client program for sending passive check results across the network Theory Of Operation Determing status and reachability of network hosts Network outages Notifications Plugin theory Service check scheduling State types Time periods Advanced Topics Event handlersExternal commands Indirect host and service checks Passive service checks Volatile services Service and host result freshness checks Distributed monitoring Redundant and failover monitoring Detection and handling of state flapping Service check parallelization Notification escalations Monitoring service and host clusters Host and service dependencies State stalking Performance data Scheduled host andservice downtime Using the embedded Perl interpreter Adaptive monitoring Object inheritance Time-saving tips for object definitions Integration With Other Software SNMP Traps TCP Wrappers Miscellaneous Securing Nagios Tuning Nagios for maximum performance Using the nagiostats utility Using macros in commands Information on the CGIs Custom CGI headers and footers
What IsThis? Nagios® is a system and network monitoring application. It watches hosts and services that you specify, alerting you when things go bad and when they get better. Nagios was originally designed to run under Linux, although it should work under most other unices as well. Some of the many features of Nagios® include: Monitoring of network services (SMTP, POP3, HTTP, NNTP, PING, etc.) Monitoring ofhost resources (processor load, disk usage, etc.) Simple plugin design that allows users to easily develop their own service checks Parallelized service checks Ability to define network host hierarchy using "parent" hosts, allowing detection of and distinction between hosts that are down and those that are unreachable Contact notifications when service or host problems occur and get resolved (viaemail, pager, or user-defined method) Ability to define event handlers to be run during service or host events for proactive problem resolution Automatic log file rotation Support for implementing redundant monitoring hosts Optional web interface for viewing current network status, notification and problem history, log file, etc. System Requirements The only requirement of running Nagios is amachine running Linux (or UNIX variant) and a C compiler. You will probably also want to have TCP/IP configured, as most service checks will be performed over the network. You are not required to use the CGIs included with Nagios. However, if you do decide to use them, you will need to have the following software installed... 1. A web server (preferrably Apache) 2. Thomas Boutell’s gd library...