更新时间:2021-07-16 12:52:15
封面
版权信息
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Chapter 1. Understanding Hosts Services and Contacts
Introduction
Creating a new network host
Creating a new HTTP service
Creating a new e-mail contact
Verifying configuration
Creating a new hostgroup
Creating a new servicegroup
Creating a new contactgroup
Creating a new time period
Running a service on all hosts on a group
Chapter 2. Working with Commands and Plugins
Finding a plugin
Installing a plugin
Removing a plugin
Creating a new command
Customizing an existing command
Using an alternative check command for hosts
Writing a new plugin from scratch
Implementing threshold checks in a plugin
Using macros as environment variables in a plugin
Chapter 3. Working with Checks and States
Specifying how frequently to check a host or service
Changing thresholds for PING RTT and packet loss
Changing thresholds for disk usage
Scheduling downtime for a host or service
Managing brief outages with flapping
Adjusting flapping percentage thresholds for a service
Chapter 4. Configuring Notifications
Configuring notification periods
Configuring notifications for groups
Choosing states for notification
Specifying the number of failed checks before notification
Automating contact rotation
Defining an escalation for repeated notifications
Defining a custom notification method
Filtering notifications based on a host or service value
Chapter 5. Monitoring Methods
Monitoring PING for any host
Monitoring SSH for any host
Checking an alternative SSH port
Monitoring mail services
Monitoring web services
Checking that a website returns a given string
Monitoring database services
Monitoring the output of an SNMP query
Monitoring a RAID or other hardware device
Creating an SNMP OID for monitoring
Chapter 6. Enabling Remote Execution
Monitoring local services on a remote machine with NRPE
Setting the listening address for NRPE
Setting allowed client hosts for NRPE
Creating new NRPE command definitions securely
Giving limited sudo(8) privileges to NRPE
Using check_by_ssh with key authentication instead of NRPE
Using check_mk instead of NRPE
Chapter 7. Using the Web Interface
Using the Tactical Overview
Viewing and interpreting availability reports
Viewing and interpreting trends
Viewing and interpreting notification history
Adding comments on hosts or services in the web interface
Viewing configuration in the web interface
Scheduling checks from the web interface
Acknowledging a problem via the web interface
Chapter 8. Managing Network Layout
Creating a network host hierarchy
Using the network map
Choosing icons for hosts
Establishing a host dependency
Establishing a service dependency
Monitoring inpidual nodes in a cluster
Using the network map as an overlay
Chapter 9. Managing Configuration
Grouping configuration files in directories
Keeping a configuration under version control
Configuring host roles using groups
Building groups using regular expressions
Using inheritance to simplify configuration
Defining macros in a resource file
Using another object's directives in a host or service check
Using custom directives
Dynamically building host definitions
Chapter 10. Security and Performance