Nagios Core Administration Cookbook - Second Edition
eBook - ePub

Nagios Core Administration Cookbook - Second Edition

Tom Ryder

Share book
  1. 386 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Nagios Core Administration Cookbook - Second Edition

Tom Ryder

Book details
Book preview
Table of contents
Citations

About This Book

Over 90 hands-on recipes that will employ Nagios Core as the anchor of monitoring on your networkAbout This Book• Master the advanced configuration techniques of Nagios Core to model your network better by improving hosts, services, and contacts• Filter and improve the notifications that Nagios Core sends in response to failed checks, which can greatly assist you when diagnosing problems• Pull Nagios Core's data into a database to write clever custom reports of your own deviseWho This Book Is ForIf you are a network or system administrator and are looking for instructions and examples on working with Nagios Core, then this book is for you. Some basic shell command-line experience is required, and some knowledge of scripting would be helpful when we discuss how plugins work.What You Will Learn• Manage the configuration of Nagios Core with advanced techniques to achieve fine detail in your checks• Find, install, and even write your own check plugins• Filter notifications to send them to the right people or programs at the right time• Work around difficult network accessibility issues and delegate checks to other machines• Tweak a Nagios Core server to achieve both high performance and redundancy in case of disaster• Process the results of checks performed by other machines to monitor backups and similar processes• Extend Nagios Core to allow advanced scripting, reporting, and network visualization behaviorIn DetailNagios Core is an open source monitoring framework suitable for any network that ensures both internal and customer-facing services are running correctly and manages notification and reporting behavior to diagnose and fix outages promptly. It allows very fine configuration of exactly when, where, what, and how to check network services to meet both the uptime goals of your network and systems team and the needs of your users.This book shows system and network administrators how to use Nagios Core to its fullest as a monitoring framework for checks on any kind of network services, from the smallest home network to much larger production multi-site services. You will discover that Nagios Core is capable of doing much more than pinging a host or to see whether websites respond.The recipes in this book will demonstrate how to leverage Nagios Core's advanced configuration, scripting hooks, reports, data retrieval, and extensibility to integrate it with your existing systems, and to make it the rock-solid center of your network monitoring world.Style and approachEach chapter contains a set of step-by-step recipes to perform an example of a commonly performed task related to network administration. The book begins by focusing closely on the properties and configuration of Nagios Core itself, and gradually moves on to other pieces of software that can support, manage, and extend the system.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Nagios Core Administration Cookbook - Second Edition an online PDF/ePUB?
Yes, you can access Nagios Core Administration Cookbook - Second Edition by Tom Ryder in PDF and/or ePUB format, as well as other popular books in Computer Science & Hardware. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781785883132
Edition
2

Nagios Core Administration Cookbook Second Edition


Table of Contents

Nagios Core Administration Cookbook Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why Subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Understanding Hosts, Services, and Contacts
Introduction
Creating a new network host
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a new HTTP service
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a new e-mail contact
Getting ready
How to do it...
How it works...
There's more...
See also
Verifying configuration
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a new hostgroup
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a new servicegroup
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a new contactgroup
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a new time period
Getting ready
How to do it...
How it works...
There's more...
See also
Running a service on all hosts on a group
Getting ready
How to do it...
How it works...
There's more...
See also
2. Working with Commands and Plugins
Introduction
Finding a plugin
Getting ready
How to do it...
How it works...
There's more...
See also
Installing a plugin
Getting ready
How to do it...
How it works...
There's more...
See also
Removing a plugin
Getting ready
How to do it...
How it works...
There's more...
See also
Creating a new command
Getting ready
How to do it...
How it works...
There's more...
See also
Customizing an existing command
Getting ready
How to do it...
How it works...
There's more...
See also
Using an alternative check command for hosts
Getting ready
How to do it...
How it works...
There's more...
See also
Writing a new plugin from scratch
Getting ready
How to do it...
How it works...
There's more...
See also
Implementing threshold checks in a plugin
Getting ready
How to do it...
How it works...
There's more...
See also
Using macros as environment variables in a plugin
Getting ready
How to do it…
How it works...
There's more...
See also
3. Working with Checks and States
Introduction
Specifying how frequently to check a host or service
Getting ready
How to do it...
How it works...
There's more...
See also
Changing thresholds for PING RTT and packet loss
Getting ready
How to do it...
How it works...
There's more...
See also
Changing thresholds for disk usage
Getting ready
How to do it...
How it works...
There's more...
See also
Scheduling downtime for a host or service
Getting ready
How to do it...
How it works...
There's more...
See also
Managing brief outages with flapping
Getting ready
How to do it...
How it works...
There's more...
See also
Adjusting flapping percentage thresholds for a service
Getting ready
How to do it...
How it works...
There's more...
See also
4. Configuring Notifications
Introduction
Configuring notification periods
Getting ready
How to do it...
How it works...
There's more...
See also
Configuring notifications for groups
Getting ready
How to do it...
How it works...
There's more...
See also
Choosing states for notification
Getting ready
How to do it...
How it works...
There's more...
See also
Specifying the number of failed checks before notification
Getting ready
How to do it...
How it works...
There's more...
See also
Automating contact rotation
Getting ready
How to do it...
How it works...
There's more...
See also
Defining an escalation for repeated notifications
Getting ready
How to do it...
How it works...
There's more...
See also
Defining a custom notification method
Getting ready
How to do it...
How it works...
There's more...
See also
Filtering notifications based on a host or service value
Getting ready
How to do it...
How it works...
There's more...
See also
5. Monitoring Methods
Introduction
Monitoring PING for any host
Getting ready
How to do it...
How it works...
There's more...
See also
Monitoring SSH for any host
Getting ready
How to do it...
How it works...
There's more...
See also
Checking an alternative SSH port
Getting ready
How to do it...
How it works...
There's more...
See also
Monitoring mail services
Getting ready
How to do it...
How it works...
There's more...
See also
Monitoring web services
Getting ready
How to do it...
How it works...
There's more...
See also
Checking that a website returns a given string
Getting ready
How to do it...
How it works...
There's more...
See also
Monitoring database services
Getting ready
How to do it...
How it works...
There's more...
See also
Monitoring t...

Table of contents