Nagios Core Administration Cookbook
Table of Contents
Nagios Core Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
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 in 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
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 notification for groups
Getting ready
How to do it...
How it works...
There's more...
See also
Specifying which states to be notified about
Getting ready
How to do it...
How it works...
There's more...
See also
Tolerating a certain number of failed checks
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
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 the output of an SNMP query
Getting ready
How to do it...
How it works...
There's more...
See also
Monitoring a RAID or other hardware device
Getting ready
How to do it...
How it works...
See also
Creating an SNMP OID to monitor
Getting ready
How to do it...
How it works...
There's more...
See also
6. Enabling Remote Execution
Introduction
Monitoring local services on a remote machine with...