Learning Nagios 4

For system administrators who want a fast, easily understood introduction to Nagios 4, this is the perfect book. Get to grips with the latest version of this powerful monitoring tool and transform the stability of your whole system.

Learning Nagios 4

Learning
Wojciech Kocjan

For system administrators who want a fast, easily understood introduction to Nagios 4, this is the perfect book. Get to grips with the latest version of this powerful monitoring tool and transform the stability of your whole system.
$10.00
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781783288649
Paperback400 pages

About This Book

  • Set up, configure, and manage Nagios 4 to secure and monitor your system
  • Learn how to use libnagios and NERD to process and handle queries
  • Packed with lots of tips, tricks and illustrations to explain the Nagios configuration and monitoring concepts in a simplified manner

Who This Book Is For

This book is great for system administrators interested in using Nagios to monitor their systems. It will also help professionals who have already worked with earlier versions of Nagios to understand the new features of Nagios 4 and provides usable solutions to real-life problems related to Nagios administration. To effectively use this book, system administration knowledge is required. If you want to create your own plug-ins, knowledge of scripting languages like Perl, shell and Python is expected.

Table of Contents

Chapter 1: Introducing Nagios
Understanding the basics of Nagios
Soft and hard states
What's new in Nagios 4.0
Summary
Chapter 2: Installing Nagios 4
Installation
Configuring Nagios
Summary
Chapter 3: Using the Nagios Web Interface
Setting up the web interface
Using the web interface
Managing hosts
Managing services
Managing downtime
Managing comments
Nagios information
Generating reports
Changing the look of the Nagios web interface
Third-party Nagios web interfaces
Summary
Chapter 4: Using the Nagios Plugins
Understanding how checks work
Monitoring using the standard network plugins
Monitoring the e-mail servers
Monitoring network services
Monitoring the database systems
Monitoring the storage space
Monitoring the resources
Monitoring other operations
Additional and third-party plugins
Summary
Chapter 5: Advanced Configuration
Creating maintainable configurations
Configuring the file structure
Defining the dependencies
Using the templates
Using the custom variables
Understanding flapping
Summary
Chapter 6: Notifications and Events
Creating effective notifications
Understanding escalations
Sending commands to Nagios
Creating event handlers
Using adaptive monitoring
Summary
Chapter 7: Passive Checks and NSCA
Understanding passive checks
Using NSCA
Summary
Chapter 8: Monitoring Remote Hosts
Monitoring over SSH
Monitoring using NRPE
Comparing NRPE and SSH
Alternatives to SSH and NRPE
Summary
Chapter 9: Monitoring using SNMP
Introducing SNMP
Working with SNMP and MIB
Setting up an SNMP agent
Using SNMP from Nagios
Summary
Chapter 10: Advanced Monitoring
Monitoring Windows hosts
Understanding distributed monitoring
Using templates for distributed monitoring
Summary
Chapter 11: Programming Nagios
Introducing Nagios customizations
Programming in C with libnagios
Creating custom active checks
Checking websites
Virtualization and clouds
Writing commands to send notifications
Managing Nagios
Summary
Chapter 12: Using the Query Handler
Introducing the query handler
Using the core service
Introducing Nagios Event Radio Dispatcher
Summary

What You Will Learn

  • Install and configure Nagios to administer your network and system
  • Deploy agents and plug-ins, and monitor assets with advanced features of Nagios
  • Notify users of current and future incidents to protect the availability, performance, and security of monitored assets
  • Configure and work your way around the Nagios web interface
  • Pass service and host check results over the network using NSCA
  • Set up a working and usable distributed monitoring system using NSClient++
  • Develop custom plug-ins responsible for performing checks and analyzing results
  • Use the web interface to manage scheduled downtimes for hosts and services
  • Implement adaptive monitoring to modify various check-related parameters
  • Make use of SSH and NRPE to perform remote checks
  • Use SNMP to retrieve information from a device, set options, and also cover means for a device to notify other machines about a failure

In Detail

One of the most important challenges in system monitoring is to detect and report any malfunctioning system or device as soon as possible, so that you as an administrator are aware of the problem before a user runs into one.

Nagios is a powerful monitoring tool that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes. It monitors your entire IT infrastructure to ensure systems, applications, services, and business processes are functioning properly. In the event of a failure, Nagios can alert the technical staff of the problem, allowing them to begin remediation processes before outages affect business processes, end-users, or customers.

"Learning Nagios 4" is a practical, beginner-level book that introduces you to setting up Nagios and walks you through all the basics of configuring it. It will guide you through the process of getting Nagios 4 up and running, using the web interface and monitoring IT systems. This book will also help you with understanding the typical problems encountered in setting up large-scale Nagios environments, as well as guide you through creating your very own Nagios plug-ins.

"Learning Nagios 4" will introduce Nagios to the system administrators who are interested in monitoring their systems as well as networks. This book starts by guiding you through setting up and configuring your first instance of Nagios so you can quickly start using it to ensure your IT is working properly.

The book also covers using SNMP to monitor various network-enabled devices. You will also find out how to use NSClient++ to monitor Microsoft Windows systems. The book explains distributed monitoring using multiple Nagios instances. Also, if you want to create your own plug-ins for Nagios, this book will teach you how to do so using programming languages like C and scripting languages like PHP, Perl, shell and Python.

By the end of this book, you will have all the necessary knowledge you need to set up Nagios 4 as well as for using Nagios in a large, distributed environment that monitors a large number of computers, services, and devices.

Authors

Table of Contents

Chapter 1: Introducing Nagios
Understanding the basics of Nagios
Soft and hard states
What's new in Nagios 4.0
Summary
Chapter 2: Installing Nagios 4
Installation
Configuring Nagios
Summary
Chapter 3: Using the Nagios Web Interface
Setting up the web interface
Using the web interface
Managing hosts
Managing services
Managing downtime
Managing comments
Nagios information
Generating reports
Changing the look of the Nagios web interface
Third-party Nagios web interfaces
Summary
Chapter 4: Using the Nagios Plugins
Understanding how checks work
Monitoring using the standard network plugins
Monitoring the e-mail servers
Monitoring network services
Monitoring the database systems
Monitoring the storage space
Monitoring the resources
Monitoring other operations
Additional and third-party plugins
Summary
Chapter 5: Advanced Configuration
Creating maintainable configurations
Configuring the file structure
Defining the dependencies
Using the templates
Using the custom variables
Understanding flapping
Summary
Chapter 6: Notifications and Events
Creating effective notifications
Understanding escalations
Sending commands to Nagios
Creating event handlers
Using adaptive monitoring
Summary
Chapter 7: Passive Checks and NSCA
Understanding passive checks
Using NSCA
Summary
Chapter 8: Monitoring Remote Hosts
Monitoring over SSH
Monitoring using NRPE
Comparing NRPE and SSH
Alternatives to SSH and NRPE
Summary
Chapter 9: Monitoring using SNMP
Introducing SNMP
Working with SNMP and MIB
Setting up an SNMP agent
Using SNMP from Nagios
Summary
Chapter 10: Advanced Monitoring
Monitoring Windows hosts
Understanding distributed monitoring
Using templates for distributed monitoring
Summary
Chapter 11: Programming Nagios
Introducing Nagios customizations
Programming in C with libnagios
Creating custom active checks
Checking websites
Virtualization and clouds
Writing commands to send notifications
Managing Nagios
Summary
Chapter 12: Using the Query Handler
Introducing the query handler
Using the core service
Introducing Nagios Event Radio Dispatcher
Summary

Book Details

ISBN 139781783288649
Paperback400 pages
Read More