Building a Monitoring Infrastructure with Nagios


Book Description

Build real-world, end-to-end network monitoring solutions with Nagios This is the definitive guide to building low-cost, enterprise-strength monitoring infrastructures with Nagios, the world’s leading open source monitoring tool. Network monitoring specialist David Josephsen goes far beyond the basics, demonstrating how to use third-party tools and plug-ins to solve the specific problems in your unique environment. Josephsen introduces Nagios “from the ground up,” showing how to plan for success and leverage today’s most valuable monitoring best practices. Then, using practical examples, real directives, and working code, Josephsen presents detailed monitoring solutions for Windows, Unix, Linux, network equipment, and other platforms and devices. You’ll find thorough discussions of advanced topics, including the use of data visualization to solve complex monitoring problems. This is also the first Nagios book with comprehensive coverage of using Nagios Event Broker to transform and extend Nagios. Understand how Nagios works, in depth: the host and service paradigm, plug-ins, scheduling, and notification Configure Nagios successfully: config files, templates, timeperiods, contacts, hosts, services, escalations, dependencies, and more Streamline deployment with scripting templates, automated discovery, and Nagios GUI tools Use plug-ins and tools to systematically monitor the devices and platforms you need to monitor, the way you need to monitor them Establish front-ends, visual dashboards, and management interfaces with MRTG and RRDTool Build new C-based Nagios Event Broker (NEB) modules, one step at a time Contains easy-to-understand code listings in Unix shell, C, and Perl If you’re responsible for systems monitoring infrastructure in any organization, large or small, this book will help you achieve the results you want–right from the start. David Josephsen is Senior Systems Engineer at DBG, Inc., where he maintains a collection of geographically dispersed server farms. He has more than a decade of hands-on experience with Unix systems, routers, firewalls, and load balancers in support of complex, high-volume networks. Josephsen’s certifications include CISSP, CCNA, CCDA, and MCSE. His co-authored work on Bayesian spam filtering earned a Best Paper award at USENIX LISA 2004. He has been published in both ;login and Sysadmin magazines on topics relating to security, systems monitoring, and spam mitigation. Introduction CHAPTER 1 Best Practices CHAPTER 2 Theory of Operations CHAPTER 3 Installing Nagios CHAPTER 4 Configuring Nagios CHAPTER 5 Bootstrapping the Configs CHAPTER 6 Watching CHAPTER 7 Visualization CHAPTER 8 Nagios Event Broker Interface APPENDIX A Configure Options APPENDIX B nagios.cfg and cgi.cfg APPENDIX C Command-Line Options Index




Building a National Distributed E-Infrastructure -- PL-Grid


Book Description

This book describes scientific results obtained by project partners and outcomes of research and development activities carried out within the Polish Infrastructure for Information Science Support in the European Research Space PL-Grid (PL-Grid 2011).




Nagios


Book Description

The Fully Updated Guide to Enterprise Network Monitoring with Today’s Nagios Platform and Tools This is the definitive guide to building cost-effective, enterprise-strength monitoring infrastructures with the latest commercial and open source versions of Nagios. World-renowned monitoring expert David Josephsen covers the entire monitoring software stack, treating Nagios as a specification language and foundation for building well designed monitoring systems that can scale to serve any organization. Drawing on his unsurpassed experience, Josephsen demonstrates best practices throughout and also reveals common mistakes, their consequences, and how to avoid them. He provides all the technical depth you need to configure and run Nagios successfully, including a practical and thorough discussion of writing your own custom modules with the C-based Nagios Event-Broker API. Extensively updated throughout, this edition adds an entirely new chapter on scaling Nagios for large, complex networks that rely heavily on virtualization and cloud services. Josephsen thoroughly introduces Nagios XI, the advanced new commercial version of Nagios and shows how to improve productivity with the latest third-party tools and plug-ins. Coverage includes: Learn how Nagios works, in depth Master focused, efficient techniques for configuring and deploying the latest versions of Nagios Solve real-world problems in monitoring Windows and UNIX systems, networking hardware, and environmental sensors Systematically scale and optimize Nagios for the largest enterprise environments Enhance your monitoring system with new tools including Check-MK, Op5 Merlin, and SFlow Integrate visualization via Ganglia, Graphite, and RRDTool Simplify and streamline all facets of system monitoring with Nagios XI Build powerful custom Nagios Event Broker (NEB) modules, step-by-step Learn about easy-to-understand code listings, fully updated for today’s platforms No matter how complex your systems monitoring challenges are, this book will help you achieve the results you want—right from the start.




Nagios, 2nd Edition


Book Description

Good system administrators recognize problems long before anyone asks, "Hey, is the Internet down?" Nagios, an open source system and network monitoring tool, has emerged as the most popular solution for sys admins in organizations of all sizes. It's robust but also complex, and Nagios: System and Network Monitoring, 2nd Edition, updated to address Nagios 3.0, will help you take full advantage of this program. Nagios, which runs on Linux and most *nix variants, can be configured to continuously monitor network services such as SMTP, POP3, HTTP, NNTP, SSH, and FTP. It can also supervise host resources (processor load, disk and memory usage, running processes, log files, and so on) and environmental factors, such as temperature and humidity. This book is your guide to getting the most out of this versatile and powerful monitoring tool. Inside Nagios, you’ll learn how to: –Install and configure the Nagios core, all standard plugins, and selected third-party plugins –Configure the notification system to alert you of ongoing problems—and to alarm others in case of a serious crisis –Program event handlers to take automatic action when trouble occurs –Write Perl plugins to customize Nagios for your unique needs –Quickly understand your Nagios data using graphing and visualization tools –Monitor Windows servers, SAP systems, and Oracle databases The book also includes a chapter that highlights the differences between Nagios versions 2 and 3 and gives practical migration and compatibility tips. Nagios: System and Network Monitoring, 2nd Edition is a great starting point for configuring and using Nagios in your own environment.




The Art of Monitoring


Book Description

A hands-on and introductory guide to the art of modern application and infrastructure monitoring and metrics. We start small and then build on what you learn to scale out to multi-site, multi-tier applications. The book is written for both developers and sysadmins. We focus on building monitored and measurable applications. We also use tools that are designed to handle the challenges of managing Cloud, containerised and distributed applications and infrastructure. In the book we'll deliver: * An introduction to monitoring, metrics and measurement. * A scalable framework for monitoring hosts (including Docker and containers), services and applications built on top of the Riemann event stream processor. * Graphing and metric storage using Graphite and Grafana. * Logging with Logstash. * A framework for high quality and useful notifications * Techniques for developing and building monitorable applications * A capstone that puts all the pieces together to monitor a multi-tier application.




Learning Nagios 4


Book Description

This book will introduce Nagios to readers who are interested in monitoring their systems. All the concepts in the book are explained in a simplified manner, presented in an easy-to-understand language with lots of tips, tricks, and illustrations. This book is great for system administrators interested in using Nagios to monitor their systems. It will also help professionals who have already worked with earlier versions of Nagios to understand the new features of Nagios 4 and provides usable solutions to real-life problems related to Nagios administration. To effectively use this book, system administration knowledge is required. If you want to create your own plug-ins, knowledge of scripting languages like Perl, shell and Python is expected.




Prometheus: Up & Running


Book Description

Get up to speed with Prometheus, the metrics-based monitoring system used by tens of thousands of organizations in production. This practical guide provides application developers, sysadmins, and DevOps practitioners with a hands-on introduction to the most important aspects of Prometheus, including dashboarding and alerting, direct code instrumentation, and metric collection from third-party systems with exporters. This open source system has gained popularity over the past few years for good reason. With its simple yet powerful data model and query language, Prometheus does one thing, and it does it well. Author and Prometheus developer Brian Brazil guides you through Prometheus setup, the Node exporter, and the Alertmanager, then demonstrates how to use them for application and infrastructure monitoring. Know where and how much to apply instrumentation to your application code Identify metrics with labels using unique key-value pairs Get an introduction to Grafana, a popular tool for building dashboards Learn how to use the Node Exporter to monitor your infrastructure Use service discovery to provide different views of your machines and services Use Prometheus with Kubernetes and examine exporters you can use with containers Convert data from other monitoring systems into the Prometheus format




Automating Linux and Unix System Administration


Book Description

The author focuses solely on how UNIX and Linux system administrators can use well-known tools to automate tasks, even across multiple systems.




Datadog Cloud Monitoring Quick Start Guide


Book Description

A comprehensive guide to rolling out Datadog to monitor infrastructure and applications running in both cloud and datacenter environments Key FeaturesLearn Datadog to proactively monitor your infrastructure and cloud servicesUse Datadog as a platform for aggregating monitoring efforts in your organizationLeverage Datadog's alerting service to implement on-call and site reliability engineering (SRE) processesBook Description Datadog is an essential cloud monitoring and operational analytics tool which enables the monitoring of servers, virtual machines, containers, databases, third-party tools, and application services. IT and DevOps teams can easily leverage Datadog to monitor infrastructure and cloud services, and this book will show you how. The book starts by describing basic monitoring concepts and types of monitoring that are rolled out in a large-scale IT production engineering environment. Moving on, the book covers how standard monitoring features are implemented on the Datadog platform and how they can be rolled out in a real-world production environment. As you advance, you'll discover how Datadog is integrated with popular software components that are used to build cloud platforms. The book also provides details on how to use monitoring standards such as Java Management Extensions (JMX) and StatsD to extend the Datadog platform. Finally, you'll get to grips with monitoring fundamentals, learn how monitoring can be rolled out using Datadog proactively, and find out how to extend and customize the Datadog platform. By the end of this Datadog book, you will have gained the skills needed to monitor your cloud infrastructure and the software applications running on it using Datadog. What you will learnUnderstand monitoring fundamentals, including metrics, monitors, alerts, and thresholdsImplement core monitoring requirements using Datadog featuresExplore Datadog's integration with cloud platforms and toolsExtend Datadog using custom scripting and standards such as JMX and StatsDDiscover how proactive monitoring can be rolled out using various Datadog featuresUnderstand how Datadog can be used to monitor microservices in both Docker and Kubernetes environmentsGet to grips with advanced Datadog features such as APM and Security MonitoringWho this book is for This book is for DevOps engineers, site reliability engineers (SREs), IT Production engineers, software developers and architects, cloud engineers, system administrators, and anyone looking to monitor and visualize their infrastructure and applications with Datadog. Basic working knowledge of cloud and infrastructure is useful. Working experience of Linux distribution and some scripting knowledge is required to fully take advantage of the material provided in the book.




Infrastructure Monitoring with Amazon CloudWatch


Book Description

Explore real-world examples of issues with systems and find ways to resolve them using Amazon CloudWatch as a monitoring service Key FeaturesBecome well-versed with monitoring fundamentals such as understanding the building blocks and architecture of networkingLearn how to ensure your applications never face downtimeGet hands-on with observing serverless applications and servicesBook Description CloudWatch is Amazon's monitoring and observability service, designed to help those in the IT industry who are interested in optimizing resource utilization, visualizing operational health, and eventually increasing infrastructure performance. This book helps IT administrators, DevOps engineers, network engineers, and solutions architects to make optimum use of this cloud service for effective infrastructure productivity. You'll start with a brief introduction to monitoring and Amazon CloudWatch and its core functionalities. Next, you'll get to grips with CloudWatch features and their usability. Once the book has helped you develop your foundational knowledge of CloudWatch, you'll be able to build your practical skills in monitoring and alerting various Amazon Web Services, such as EC2, EBS, RDS, ECS, EKS, DynamoDB, AWS Lambda, and ELB, with the help of real-world use cases. As you progress, you'll also learn how to use CloudWatch to detect anomalous behavior, set alarms, visualize logs and metrics, define automated actions, and rapidly troubleshoot issues. Finally, the book will take you through monitoring AWS billing and costs. By the end of this book, you'll be capable of making decisions that enhance your infrastructure performance and maintain it at its peak. What you will learnUnderstand the meaning and importance of monitoringExplore the components of a basic monitoring systemUnderstand the functions of CloudWatch Logs, metrics, and dashboardsDiscover how to collect different types of metrics from EC2Configure Amazon EventBridge to integrate with different AWS servicesGet up to speed with the fundamentals of observability and the AWS services used for observabilityFind out about the role Infrastructure As Code (IaC) plays in monitoringGain insights into how billing works using different CloudWatch featuresWho this book is for This book is for developers, DevOps engineers, site reliability engineers, or any IT individual with hands-on intermediate-level experience in networking, cloud computing, and infrastructure management. A beginner-level understanding of AWS and application monitoring will also be helpful to grasp the concepts covered in the book more effectively.