售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Learning Nagios - Third Edition
Learning Nagios - Third Edition
Credits
About the Authors
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
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Introducing Nagios
Understanding the basics of Nagios
Introducing plugins
Benefits of monitoring
Main features
Soft and hard states
Summary
2. Installing Nagios 4
Installing Nagios
Upgrading from previous versions
Performing installation with automated script
Installing Nagios using package managers
Installation with apt-get/dpkg
Installation with yum/rpm
Compiling Nagios from source code manually
Installing prerequisites
Setting up users, groups, and directories
Obtaining Nagios and Nagios plugins
Compiling and installing Nagios
Compiling and installing Nagios plugins
Setting up a web server
Troubleshooting the web server
Running Nagios using virtualizations
Running Nagios inside containers
Installing Nagios inside virtual machines
Summary
3. Configuring Nagios
Configuring Nagios
Understanding macro definitions
Configuring hosts
Configuring host groups
Configuring services
Configuring service groups
Configuring commands
Configuring time periods
Configuring contacts
Configuring contact groups
Verifying the configuration
Understanding notifications
Using inheritance and templates
Summary
4. Using the Built-in Web Interface
The Nagios web interface
Accessing the web interface
Using the web interface
Checking the tactical overview
Viewing the status map
Managing hosts
Checking status
Viewing host information
Managing services
Checking status
Viewing service information
Managing downtimes
Checking downtimes statuses
Scheduling downtimes
Managing comments
Nagios information
Viewing process information
Checking performance information
Generating reports
Changing the look of the Nagios web interface
Summary
5. Using Additional Interfaces
Introducing third-party web interfaces
Using Nagios dashboards
Installing alternative Nagios web interfaces
Viewing performance data with nagiosgraph
Learning command-line interfaces
Using nagios_commander
Interacting with nagios-cli
Using mobile applications to check the Nagios status
Checking the status on iOS with easyNag
Working with Nagios on Android using aNag
Checking the status on Windows Phone with NagChecker
Summary
6. Using the Nagios Plugins
Understanding checks in Nagios
Using standard network plugins
Testing the connection to a remote host
Testing connectivity using TCP and UDP
Monitoring e-mail servers
Checking POP3 and IMAP servers
Testing SMTP protocol
Monitoring network services
Checking FTP server
Verifying DHCP protocol
Monitoring Nagios processes
Testing websites
Monitoring database systems
Checking MySQL
Checking PostgreSQL
Checking Oracle
Checking other databases
Monitoring storage space
Checking swap space
Monitoring disk status SMART
Checking disk space
Testing free space for remote shares
Monitoring resources
Checking system load
Checking processes
Monitoring logged-in users
Monitoring other operations
Checking for updates with APT
Monitoring UPS status
Gathering information from LM sensors
Using the dummy check plugin
Manipulating other plugins' output
Additional and third-party plugins
Monitoring network software
Using third-party plugins
Summary
7. Advanced Configuration
Creating maintainable configurations
Configuring the file structure
Defining object dependencies
Creating host dependencies
Creating service dependencies
Using templates
Creating templates
Inheriting from multiple templates
Using the custom variables
Understanding state flapping
Summary
8. Notifications and Events
Creating effective notifications
Using multiple notifications
Sending instant messages via Jabber
Notifying users with text messages
Integrating with HipChat
Slack integration
Understanding escalations
Setting up escalations
Understanding how escalations work
Sending commands to Nagios
Adding comments to hosts and services
Scheduling host and service checks
Modifying custom variables
Creating event handlers
Restarting services automatically
Modifying notifications
Using adaptive monitoring
Summary
9. Passive Checks and NRDP
Understanding passive checks
Introducing active and passive checks
Configuring passive checks
Sending passive check results for hosts
Sending passive check results for services
Troubleshooting errors
Using NRDP
Installing the NRDP server
Using the NRDP client
Securing the NRDP communication
Summary
10. Monitoring Remote Hosts
Monitoring over SSH
Configuring the SSH connection
Using the check_by_ssh plugin
Performing multiple checks
Troubleshooting the SSH-based checks
Monitoring using NRPE
Obtaining NRPE
Compiling NRPE
Configuring the NRPE server
Registering NRPE check commands
Configuring Nagios for NRPE
Using command arguments with NRPE
Troubleshooting NRPE
Comparing NRPE and SSH
Alternatives to SSH and NRPE
Summary
11. Monitoring Using SNMP
Introducing SNMP
Understanding data objects
Working with SNMP and MIB
Using graphical tools
Setting up an SNMP agent
Using SNMP from Nagios
Receiving traps
Using additional plugins
Summary
12. Advanced Monitoring
Monitoring Windows machines
Installing NSClient++
Configuring NSClient++
Monitoring Windows using check_nt
Performing checks using NRPE protocol
Querying WMI data from Nagios
Implementing external scripts
Understanding distributed monitoring
Introducing obsessive notifications
Configuring Nagios instances
Performing freshness checking
Using templates for distributed monitoring
Creating the host and service objects
Customizing checks with custom variables
Summary
13. Programming Nagios
Introducing Nagios customizations
Creating custom active checks
Testing MySQL database correctness
Monitoring local time against a time server
Writing plugins the right way
Checking websites
Writing commands to send notifications
Managing Nagios
Using passive checks
Introducing the query handler
Communicating with the query handler
Using the query handler programmatically
Using the core service
Introducing the Nagios event radio dispatcher
Summary
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜