| |
| |
Foreword by the Nagios Creator, Ethan Galstad | |
| |
| |
Introduction | |
| |
| |
Do It Right the First Time | |
| |
| |
Why Nagios? | |
| |
| |
What's in This Book? | |
| |
| |
Who Should Read This Book? | |
| |
| |
End Notes | |
| |
| |
| |
Best Practices | |
| |
| |
A Procedural Approach to Systems Monitoring | |
| |
| |
Processing and Overhead | |
| |
| |
Remote Versus Local Processing | |
| |
| |
Bandwidth Considerations | |
| |
| |
Network Location and Dependencies | |
| |
| |
Security | |
| |
| |
Silence Is Golden | |
| |
| |
Watching Ports Versus Watching Applications | |
| |
| |
Who's Watching the Watchers? | |
| |
| |
End Notes | |
| |
| |
| |
Theory of Operations | |
| |
| |
The Host and Service Paradigm | |
| |
| |
Starting from Scratch | |
| |
| |
Hosts and Services | |
| |
| |
Interdependence | |
| |
| |
The Downside of Hosts and Services | |
| |
| |
Plug-ins | |
| |
| |
Exit Codes | |
| |
| |
Remote Execution | |
| |
| |
Scheduling | |
| |
| |
Check Interval and States | |
| |
| |
Distributing the Load | |
| |
| |
Reapers and Parallel Execution | |
| |
| |
Notification | |
| |
| |
Global Gotchas | |
| |
| |
Notification Options | |
| |
| |
Templates | |
| |
| |
Time Periods | |
| |
| |
Scheduled Downtime, Acknowledgments, and Escalations | |
| |
| |
I/O Interfaces Summarized | |
| |
| |
The Web Interface | |
| |
| |
Monitoring | |
| |
| |
Reporting | |
| |
| |
The External Command File | |
| |
| |
Performance Data | |
| |
| |
The Event Broker | |
| |
| |
End Notes | |
| |
| |
| |
Installing Nagios | |
| |
| |
OS Support and the FHS | |
| |
| |
Installation Steps and Prerequisites | |
| |
| |
Installing Nagios | |
| |
| |
Configure | |
| |
| |
Make | |
| |
| |
Make Install | |
| |
| |
Installing the Plug-ins | |
| |
| |
Installing NRPE | |
| |
| |
End Notes | |
| |
| |
| |
Configuring Nagios | |
| |
| |
Objects and Definitions | |
| |
| |
nagios.cfg | |
| |
| |
The CGI Config | |
| |
| |
Templates | |
| |
| |
Timeperiods | |
| |
| |
Commands | |
| |
| |
Contacts | |
| |
| |
Contactgroup | |
| |
| |
Hosts | |
| |
| |
Services | |
| |
| |
Hostgroups | |
| |
| |
Servicegroups | |
| |
| |
Escalations | |
| |
| |
Dependencies | |
| |
| |
Extended Information | |
| |
| |
Apache Configuration | |
| |
| |
GO! | |
| |
| |
End Notes | |
| |
| |
| |
Bootstrapping the Nagios Config Files | |
| |
| |
Scripting Templates | |
| |
| |
Autodiscovery | |
| |
| |
Check_MK | |
| |
| |
Nagios XI | |
| |
| |
Autodiscovery Is Dead: Long Live Autodiscovery | |
| |
| |
NagiosQL | |
| |
| |
| |
Watching: Monitoring Through the Nagios Plug-ins | |
| |
| |
Local Queries | |
| |
| |
Pings | |
| |
| |
Port Queries | |
| |
| |
Querying Multiple Ports | |
| |
| |
(More) Complex Service Checks | |
| |
| |
E2E Monitoring with Weblnject and Cucumber-Nagios | |
| |
| |
Watching Windows | |
| |
| |
The Windows Scripting Environment | |
| |
| |
COM and OLE | |
| |
| |
WMI | |
| |
| |
To WSH or Not to WSH | |
| |
| |
To VB or Not to VB | |
| |
| |
The Future of Windows Scripting | |
| |
| |
Getting Down to Business | |
| |
| |
NRPE | |
| |
| |
Check_NT | |
| |
| |
NSCP | |
| |
| |
Watching UNIX | |
| |
| |
NRPE | |
| |
| |
CPU | |
| |
| |
Memory | |
| |
| |
Disk | |
| |
| |
Check_MK | |
| |
| |
Watching "Other Stuff" | |
| |
| |
SNMP | |
| |
| |
Working with SNMP | |
| |
| |
Environmental Sensors | |
| |
| |
Standalone Sensors | |
| |
| |
LMSensors | |
| |
| |
IPMI | |
| |
| |
End Notes | |
| |
| |
| |
Scaling Nagios | |
| |
| |
Tuning, Optimization, and Some Building Blocks | |
| |
| |
NRDP/NSCA | |
| |
| |
NDOUtils | |
| |
| |
Distributed Passive Checks with Secondary Nagios Daemons | |
| |
| |
Event Broker Modules: DNX, Merlin, and Mod Gearman | |
| |
| |
DNX | |
| |
| |
Mod Gearman | |
| |
| |
Op5 Merlin | |
| |
| |
Distributed Dashboards: Fusion, MNTOS, and MK-Multisite | |
| |
| |
| |
Visualization | |
| |
| |
Nagios Performance Data | |
| |
| |
RRDTool: The Foundation | |
| |
| |
Enter RRDTool | |
| |
| |
RRD Data Types | |
| |
| |
Heartbeat and Step | |
| |
| |
Min and Max | |
| |
| |
Round Robin Archives | |
| |
| |
RRD Tool Create Syntax | |
| |
| |
RRD Tool Graph Mode | |
| |
| |
RPN | |
| |
| |
Data Visualization Strategies: A Tale of Three Networks | |
| |
| |
Suitcorp: Nagios, NagiosGraph, and Drraw | |
| |
| |
singularity.gov: Nagios and Ganglia | |
| |
| |
Massive Ginormic: Nagios, Logsurfer, Graphite, and Life After RRDTool | |
| |
| |
DIY Dashboards | |
| |
| |
Know What You're Doing | |
| |
| |
RRDTool Fetch Mode | |
| |
| |
The GD Graphics Library | |
| |
| |
NagVis | |
| |
| |
GraphViz | |
| |
| |
Sparklines | |
| |
| |
Force Directed Graphs with jsvis | |
| |
| |
End Notes | |
| |
| |
| |
Nagios XI | |
| |
| |
What Is It? | |
| |
| |
How Does It Work? | |
| |
| |
What's in It for Me? | |
| |
| |
One Slick Interface | |
| |
| |
Integrated Time Series Data | |
| |
| |
Modularized Components | |
| |
| |
Enhanced Reporting and Advanced Visualization | |
| |
| |
Integrated Plug-ins and Configuration Wizards | |
| |
| |
Operational Improvements | |
| |
| |
How Do I Get My Hands on It? | |
| |
| |
| |
The Nagios Event Broker Interface | |
| |
| |
Function References and Callbacks in C | |
| |
| |
The NEB Architecture | |
| |
| |
Implementing a Filesystem Interface Using NEB | |
| |
| |
DNX, a Real-World Example | |
| |
| |
Wrap Up | |
| |
| |
End Notes | |
| |
| |
Index | |