Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Learning Nagios 4
Learning Nagios 4

Learning Nagios 4: For system administrators who want a fast, easily understood introduction to Nagios 4, this is the perfect book. Get to grips with the latest version of this powerful monitoring tool and transform the stability of your whole system.

eBook
$9.99 $28.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Learning Nagios 4

Chapter 2. Installing Nagios 4

The previous chapter has described what Nagios is, the basic concepts of monitoring, and types of objects in Nagios. This chapter describes how to install Nagios and the standard Nagios plugins. The process described here does not take advantage of any packaging systems that are currently available on the majority of operating systems.

In this chapter, we will cover the following points:

  • How to upgrade Nagios from a previous version

  • Installing Nagios prerequisites (software, users, and groups)

  • Obtaining and compiling Nagios from source

  • Installing Nagios and setting up a system service

  • Configuring Nagios with a basic set of objects

  • Setting up basic notifications

  • Using templates and object inheritance

Installation


Nagios can be installed in two ways. The first one is to install Nagios from your Linux distribution's binary packages, which has the upside that the packages are updated in terms of security issues by your Linux distribution automatically or by running updates manually. The downside is that for many distributions, Nagios 4 may not be available for some time, such as long term support distributions that may be providing the Nagios 3.x version.

Another option is to compile and install Nagios manually. Manual installation is recommended for system administrators who want more power where their software is installed, and want to manage software upgrades and configuration on their own. It also allows updating to latest version of Nagios faster; binary distributions may not always have the latest versions.

This section discusses the installation of Nagios 4. It focuses on Ubuntu Linux distribution, but the commands for Ubuntu are also valid for Debian Linux distribution. This chapter...

Configuring Nagios


Nagios stores it's configuration in a separate directory. Usually it's either in /etc/nagios or /usr/local/etc/nagios. If you followed the steps for manual installation, it's in /etc/nagios. We will now configure Nagios so that it is ready for use. While it will not be easy to check the results right away, we will verify that the configuration itself is valid. Chapter 3, Using the Nagios Web Interface, talks about setting up the Nagios web interface, which will allow us to check the status of the host and services that we will create in this section.

Creating the main configuration file

The main configuration file is called nagios.cfg, and it is the main file that is loaded during Nagios startup. Its syntax is simple, a line beginning with # is a comment, and all lines in the form of <parameter>=<value> set a value. In some cases, a value might be repeated (like specifying additional files/directories to read). The following is a sample of the Nagios main configuration...

Summary


Our Nagios setup is now complete and ready to be started! We took the road from source code into a working application. We have also configured it so that it monitors the machine it is running on from scratch, and it took very little time and effort to do this.

Our Nagios installation now uses three directories:/opt/nagios for binaries, /etc/nagios for the configuration, and /var/nagios for storing the data. All object definitions are stored in a categorized way as subdirectories /etc/nagios. This allows a much easier management of Nagios objects.

We have configured the server on which Nagios is running to be monitored. You might want to add more servers just to see how it all works. We told Nagios to monitor the SSH server, but most probably you'll also want to monitor other things such as a web server or an e-mail.

Chapter 4, Using the Nagios Plugins will help when it comes to setting up various types of checks. Make sure to also read the /etc/nagios/commands/default.cfg file to...

Left arrow icon Right arrow icon

What you will learn

  • Install and configure Nagios to administer your network and system Deploy agents and plug-ins, and monitor assets with advanced features of Nagios Notify users of current and future incidents to protect the availability, performance, and security of monitored assets Configure and work your way around the Nagios web interface Pass service and host check results over the network using NSCA Set up a working and usable distributed monitoring system using NSClient++ Develop custom plug-ins responsible for performing checks and analyzing results Use the web interface to manage scheduled downtimes for hosts and services Implement adaptive monitoring to modify various check-related parameters Make use of SSH and NRPE to perform remote checks Use SNMP to retrieve information from a device, set options, and also cover means for a device to notify other machines about a failure

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 21, 2014
Length: 400 pages
Edition :
Language : English
ISBN-13 : 9781783288656
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Mar 21, 2014
Length: 400 pages
Edition :
Language : English
ISBN-13 : 9781783288656
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 158.97
Nagios Core Administration Cookbook
$54.99
Learning Nagios 4
$48.99
Nagios Core Administration Cookbook Second Edition
$54.99
Total $ 158.97 Stars icon
Banner background image

Table of Contents

12 Chapters
Introducing Nagios Chevron down icon Chevron up icon
Installing Nagios 4 Chevron down icon Chevron up icon
Using the Nagios Web Interface Chevron down icon Chevron up icon
Using the Nagios Plugins Chevron down icon Chevron up icon
Advanced Configuration Chevron down icon Chevron up icon
Notifications and Events Chevron down icon Chevron up icon
Passive Checks and NSCA Chevron down icon Chevron up icon
Monitoring Remote Hosts Chevron down icon Chevron up icon
Monitoring using SNMP Chevron down icon Chevron up icon
Advanced Monitoring Chevron down icon Chevron up icon
Programming Nagios Chevron down icon Chevron up icon
Using the Query Handler Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.2
(10 Ratings)
5 star 70%
4 star 10%
3 star 0%
2 star 10%
1 star 10%
Filter icon Filter
Top Reviews

Filter reviews by




D. Barrett Jun 18, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a longtime user of GroundWork, I've always had an abstraction layer between me and Nagios. I'd always thought that having a better understanding of the internals of GroundWork would make it easier for me to use, but I didn't take the opportunity to learn about Nagios until now.The book, Learning Nagios 4, by Wojciech Kocjan, weighs in at 400 pages and is the second edition. I found the book to be very well written, and it contained a lot of good technical information that I thought was interesting and beneficial.Chapter 1 introduces Nagios to the unfamiliar user, and Wojciech gives good examples that ensure system administrators that Nagios is suitable for them. can provide IT staff with a very good system to check infrastructure and software to ensure it's working correctly.Chapter 2 runs through installing and configuring Nagios. I was very pleased to see a book providing instructions on installing software from source, as it's rather unusual in my experience to find books that don't just provide installation by package manager. Going through common Nagios configurations was also interesting, as I learnt a few quirks about templates and precedence.Chapter 3 is all about the web interface that compliments Nagios. As a user of Nagios by proxy through GroundWork I was a little shocked at the Web GUI and how different it was to the interface I was used to, but it is nice to see Nagios 4 has implemented PHP support so there's a bigger avenue for theme customisation.Chapter 4 talks about the basic plugins that are provided with Nagios. If you're a follower of my blog you would've seen my Nagios plugins for OS X Server, some of which were co-authored with/by my friend Jedda Wignall. I learnt quite a bit about the inbuilt plugins that come with Nagios, including the plugins that can schedule package manager checks - very cool!Chapter 5 discusses advanced configuration details, mainly about templates and the nuances to inheritance, along with describing what flapping actually is. I thought the section on using multiple configurations (like OS type, location etc) to generate a configuration for a specific machine was quite interesting, and would allow the user to create advanced host settings with relative ease.Chapter 6 was a chapter that I found very interesting as it focused on alerts and contacts. As a former member of a very small team we were inundated by emails every day and it became hard to keep track of what was coming in. The authors example of constant email flooding was exactly what happened to us. It's worth spending a bit more time setting up proper alerts to make sure the right information reaches the right people, rather than spamming everyone constantly.Chapter 7 talks about passive checks, and how they compare to the normal active checks. NCSA, or the Nagios Service Check Acceptor is also discussed, which is a daemon on the client end that can send check results back to the monitoring service securely. I've not used either types of passive checks, so learning about them was quite interesting. I'm looking forward to putting them into good use some time.Chapter 8 contains a ton of great information and detail about the remote server checks performed by SSH, and the Nagios Remote Plugin Executor (NRPE). The author provides good arguments for choosing either of the services, depending on your requirements. I hadn't actually heard of NRPE before, but it looks to be quite powerful without the overhead of SSH connections by the host.Chapter 9 is all about SNMP and how it can interact with Nagios. In past experience I've only ever had bash scripts to process SNMP responses, but now I know how to implement it properly into Nagios without having a conduit processing script. I also never really knew much about SNMP, so it was good to learn about what SNMP actually is, not just how to interact with it, which can be an issue in some technical books where interacting is explained, but the source/destination isn't.Chapter 10 starts off by covering getting Nagios working with Windows clients, which to me isn't very applicable as I'm purely a Linux/Unix/OS X man myself so my eyes glazed over as I pushed through that section. Having said that, it's good to know Nagios monitoring is fully supported in Windows with the appropriate software installed. Another concept that is looked at in Chapter 10 is the setup and configuration of a multi-server master/slave setup with multiple Nagios servers. Now, unfortunately (or fortunately, depending on which way you look at it) I've not been in a position where I've needed to have multiple Nagios servers performing checks, but it's useful to know that it's possible, and to have some instructions on getting it set up.Chapter 11 is probably my favourite chapter of the book because it's all about programming Nagios plugins. The book has a multitude of examples written in different languages. I've always done my scripts in Bash, but had never even thought of writing plugins in PHP, which is my strongest language. Having seen code for a few languages (like Tcl) that I've heard of but not used, this book has encouraged me to try other languages for Nagios plugins, and not limit myself to Bash.Chapter 12, the final chapter, talks about the query handler which is used for two-way communications with Nagios. There's also a section on Nagios Event Radio Dispatcher (or NERD) which can be used for a real-time notification system for alerts.Overall, I would highly recommend this book to any sysadmins looking to implement an excellent monitoring solution that is easy to set up, yet powerful enough through its extensive plugin collection and flexibility. After reading this book I've come away with a stronger knowledge of Nagios that will benefit my work in the future.Note: I was provided with a free eBook to review this book, however, this review is 100% genuine and contains my true thoughts about the book.
Amazon Verified review Amazon
Thomas Weaver May 11, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book starts out by explain what Nagios is, what it can do, and why it is so popular, it then moves on to a step by step guide on how to install Nagios 4. Throughout the book step by step guides are given for both RedHat and Debian based systems although the book does state it mainly focuses on Ubuntu.You quickly have a basic installation and start to gather the basics of how everything works, the book then moves on to how Nagios can be used and its GUI. This gives you all the information you need to be able to start using Nagios and quickly start learning more advanced operations. This is the first time as well the book starts to talk about popular 3rd party additions, how to install them, and how to extend the Nagios functionality. The book then takes you through more advanced options about monitoring remote hosts, distributing load, using and creating your own plugins and new functionality introduced in Nagios 4.The book goes through monitoring all types of devices and operating systems, including Windows, Linux, network devices and 3rd Parties such as Amazon AWS and VMWare. In the final chapters example custom plugins are given in a multitude of languages including php, perl, python, tcl and explains how each one works and interacts with Nagios.The detail the books goes in to in every chapter from start to finish makes it appeal to the beginners, but the summary at the beginning of each chapter allows more advanced users to skip bits they already know. I would advise however not to to skip any as the book is full of great advise and gotchas from a clearly experienced author that will get even the most experienced asking themselves questions. For the beginners illustrations are used to help get the point across and to explain how Nagios fits together making it really easy to understand. The book does go through some 3rd party applications and plugins but I feel it could refer to a few more especially alternatives to the NSCA Daemon etc which has its limitations. This however is possibly a journey the reader should take on their own and the book does give the correct information and links to the reader to investigate things themselves. Beginners will love the troubleshooting sections in this book as Nagios can be a pain to debug sometimes and the tips given throughout the book are invaluable.This is a great book for beginners and Nagios masters a like. A beginner will have the skill to go it alone after reading the book and the confidence that they are doing things the correct way which with Nagios can be the one question you ask yourself the most. More advanced users will benefit from the lists of configuration options as a reference but also some great ideas on how to set things up and expand in the future. A must read for anyone either administering a current set up or looking at starting from scratch.
Amazon Verified review Amazon
Luca Nov 28, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Con questo testo son arrivato alla configurazione di un sistema completo e implementazione dei monitoraggi.Ovviamente lo step successivo è stato un lavoro di analisi e di creatività per trovare i punti da monitorare del mio sistema ela realizzazione di piccole procedure che restituissero i dati a Nagios.Il libro mi ha permesso un'ottima comprensione dello strumento.
Amazon Verified review Amazon
Stephen E. Fritz Aug 01, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Learning Nagios 4 by Wojciech Kocjan is an ambitious project. Its preface sets out its goal: to be a practical guide for setting up Nagios 4. It begins with installation, describes the tools available and their configuration and concludes with more advanced topics such as programming service checks and using query handlers. In between, it systematically covers the most important tools available to the sysadmin and how to use them. If that scope sounds ambitious, its 400 page length presages the thoroughness of its content.Although there is abundant documentation available from the project maintainers, that documentation is thorough, almost too much so. Equal weight is given to the less-commonly used options in that documentation, and reading it can become a burden. Kocjan's book, by selecting the most important topics, is better focused for practical implementations. The book thus achieves a practicality that only an experienced professional can attain.Nagios 4 -- a September 2013 milestone release -- is a good point for experienced administrators to review the application from the basics up. Periodic continuing education is important and milestone releases are an appropriate time to thoroughly review skills from the foundation up. Yet the book is also written at a level appropriate to new Nagios administrators. While a thorough knowledge of basic Linux skills is necessary, even those unfamiliar with Nagios will be able to build a monitoring system. While stating it is focused on Ubuntu, there is adequate discussion of installations from source and RPM-based distributions for administrators of other Linux distributions to understand Nagios. However, there are likely details specific to those other distributions that are not covered and will require additional research on the administrators part.Installation and ConfigurationThe book begins with basic installation and configuration tasks. The author's experience is evident. While some of the material looks like it is drawn directly from the maintainer's documentation, the format is much more practical. As opposed to the topic-based organization of the maintainer's technical documentation, the author's format is organized in an order that reflects a real-world implementation. For instance, the author includes a concise discussion of topology definitions with host definitions -- the point at which an administrator would define topology. Descriptions of the web interface and basic plugins follows. These are illustrated with practical examples.The author proceeds with advanced topics, such as organizing definitions in a maintainable manner with suggested sets of definitions and version control. Indeed, troubleshooting a Nagios installation that is not well organized will invariably add a great deal of time simply searching for errors in a poorly organized system. That organization is the foundation upon which more advanced definitions such as dependencies and templates are built.Having established a well-defined framework, the author then addresses the whole point of a monitoring system: events, notifications and escalations and event handlers. These are also illustrated with practical examples. Event handlers are often afforded only light coverage in Nagios manuals; that is not the case here. Event handlers a a Nagios strength that automate responses to events; the code required to restart a web server serves as an example. Adaptive monitoring is also often overlooked altogether, but is adequately described here.Advanced Nagios 4 Configuration and FeaturesEstablishing this solid foundation is only half the book. The second half explores much more advanced topics such as workload distribution, scalability and extending Nagios to monitor additional platforms.The Nagios Service Check Acceptor (NSCA) is more difficult to understand and implement, but the author does a good job explaining and providing an example. So, too, is the description and illustration of load distribution using ssh and the Nagios Remote Plugin Executor (NRPE), preferable to ssh because it reduces Nagios server overhead. SNMP is a protocol that, well-implemented, affords a great deal of availability and performance data. However, it can be a bit difficult to learn and understand. Here, the author's experience is evident as the text provides a very practical, understandable and thorough description of the protocol and its application.Finally, the last quarter of the book addresses the most advanced topics, such as Windows, distributed monitoring, programming and query handlers.Windows is ubiquitous in the enterprise, but requires expertise to monitor using Nagios. NSClient++ is the agent used and it provides NSCA, NRPE and other functionality. It also acts as an "interpretor" for Nagios to record Windows-specific data. Yet here, the author does not explore deploying and maintaining NSClient++ using Active Directory Group Policy Objects. Rather, the example provided is limited to manual installation and configuration -- an onerous and possibly impractical task for a Windows enterprise. However, the descriptions and examples provided are otherwise thorough and practical.Distributed monitoring is discussed only at a high level and examples are rather basic. However, implementing a distributed Nagios implementation is a complex task worthy of a book itself. This book lays out the reasons and higher-level architecture of distributed Nagios well enough for an administrator to recognize when it is required and with the necessary architectural understanding to research and design it.Programming, too, is covered at a high level. Several languages may be used and the author uses C for examples. Examples include web services, VMWare and Amazon Web Services -- topics of current and practical interest.The book ends with a discussion of Query Handlers -- a feature new to Nagios 4. Think of it as a Unix domain sockets communications implementation for Nagios. Query Handlers, using tools such as the Nagios Event Radio Dispatcher (NERD) and Google's open source Gource provide a framework to receive real-time updates from Nagios.ConclusionLearning Nagios 4 has an ambitious scope. Kocjan has the experience to deliver a thorough and well-organized book. The expertise is apparent from his recommendations for organized definitions and the logic flow of the presentation. The book is detailed enough for a new Nagios administrator to learn the application quickly. There is enough detail for seasoned administrators to learn about advanced features and how they are implemented. Even experts can benefit from a top to bottom review of the milestone Nagios 4 release.
Amazon Verified review Amazon
Richard J Breiten Jun 30, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a 12-year veteran of system administration and systems engineering, system and network monitoring has always been one of those areas that could be improved. While Nagios has led the way in many ways with system monitoring, the newest Nagios 4 version leapfrogs ahead of where they were.This book by Wojciech Kocjan, a sys admin and programmer with 10 years experience, weighs in at 345 pages and is the second edition. I found the book well-written and contained good technical information, both for the novice and experienced user alike.Chapters 1/2 - The book begins by introducing the reader to Nagios and provides excellent explanations on how and why Nagios works as it does. The overview, while brief, still does a great job at explaining the terminology and provides some familiarity to the way Nagios handles events and monitoring. The book also provides a ground-up approach to installing Nagios and steps the reader through the same steps which would be required for an administrator in the real-world. The author goes to great lengths to aid the reader in being able to set up their own Nagios environment using Ubuntu, from downloading the source to installation, all the way to installing assorted plugins and setting up Nagios as a service. Extensive explanations on setting up monitoring hosts and hostgroups are also detailed, with diagrams and sample code explaining the steps a user would take. A particularly helpful portion of Chapter 2 in particular surrounds discussing notifications and how they are triggered within the environment - a topic which I, personally, would have poured over reading when I first began tinkering with Nagios.Chapter 3 - The book continues into discussing the setup and configuration of the web interface, as well as managing downtimes, services, and systems. Additionally, a brief exploration of third-party Nagios web interfaces is discussed towards the end of the chapter in the event the user prefers a different UI.Chapter 4 - Following setup and configuration of Nagios as well as the web interface, the author then takes the reader through explaining plugins and how they report status. Various scenarios for monitoring different system types is explored, including database and email systems, storage space, resources such as system load, etc, which the reader could find particularly helpful. The chapter finishes up with an exploration of third-party plugins and how to create their commands for different checks.Chapter 5 - One thing I appreciate the author delved into, however briefly, is advanced topics, including creating templates for hosts and custom variables. While this is still an introductory book, this topic can go a long way in helping a harried and frazzled system admin (because, honestly, who isn't these days?) in setting these up in their environment. In addition, some time is devoted to describing to the read what "flapping" is and its implications in the Nagios environment - a topic which, to date, I don't think has been explained quite as succinctly.Chapter 6 - This is devoted to discussing notifications and events, which ends up taking Nagios to 10. Being able to monitor and quantify your systems and network is great, but what good is it if you can't include notifications like instant messaging when you're offsite? Discussion of setting up notifications and escalations lends the reader to understanding how to be able to up their game by allowing Nagios to provide the information to the reader and team. Spending more time up front on setting up proper alerting and reporting will go far in keeping the reader's team from being inundated by emails, as in the author's example.Chapter 7 - Passive checks and utilization of NCSA (Nagios Service Check Acceptor) rounds out Chapter 7 with an explanation on understanding and setting up passive checks. Again, generic code, graphs, and examples are provided so the reader can follow along in their own Ubuntu VM (you are creating snapshots as you go along, right?). NCSA is a daemon specifically for sending check results back to Nagios securely. Speaking from experience, setting this up can be time-consuming and frustrating, but the author lends himself to explaining the intricacies well, hopefully keeping the reader from experiencing these pains.Chapter 8 - This holds almost a treasure trove full of information on using SSH and NRPE (Nagios Remote Plugin Executor) for monitoring and securely sending check results back to Nagios Core. NRPE lends itself to the same powerful execution as SSH without the overhead of connections back to the host. Discussion and examples of setting up the SSH and NRPE connections is provided, allowing the reader to be able to follow along in setting up their own connections.Chapter 9 - SNMP and monitoring are discussed in Chapter 9 with particular attention given to understanding Object Identifiers (OIDs) and how to leverage them in the environment. Delving into SNMP a bit with MIB and using various checks within Nagios to perform checks and alerts, as well as providing the reader a graphical way to understand and view SNMP data is provided. This can be particularly helpful for the admin not well-versed in using the command-line for parsing and understanding the readout from SNMP. Again, as in the rest of the text, graphs and illustrations are provided which explain and layout the information for the reader to hopefully set up their own SNMP agents and receive traps and data back into Nagios.Chapter 10 - More advanced topics are briefly discussed in Chapter 10, including distributed monitoring and specifically monitoring Windows hosts with NSClient++. I have had the most experience thus far in monitoring Windows clients, so it was refreshing to see the author spend some time in discussing setup and configuration of NSClient++ for the reader. Distributed monitoring can become cumbersome in setting up, but the author does a decent job in discussing obsessive notifications with additional sample code and diagrams for the reader to get their feet wet on the topic. Pulling from a previous chapter, some additional time is spent on utilizing templates for distributed environments, something that is invaluable in the Nagios ecosystem.Chapter 11/12 - The remainder of the book centers around discussing programming and customizing Nagios to the reader's heart's desire. Different Nagios file parsers are discussed, with links to the different language parsers, as well as an upper-level overview of utilizing libnagios for programming in C. A discussion on creating custom active checks with sample code, as well as discussion on writing the reader's own plugins the correct way is reviewed. A brief mention of monitoring VMware and AWS (Amazon Web Services) is provided, with some additional sample code to get the reader started. An introduction and explanation on the preferred way of using query handlers is discussed with attention to communicating with it programmatically.In conclusion, this is well-written and constructed, and definitely worth a read for any sysadmin or sysengineer looking to get started with using Nagios and setting up an outstanding (free!) monitoring solution. The addition of plugins extends Nagios usability and allows a flexibility and strength that puts it over to the top. While I've had experience in using and administering systems with Nagios before, this is a fantastic introduction and even intemediary book with enough meat to keep the reader following along with examples and sample code to construct their own monitoring environment, whether at home or in a large-scale production network at the office. Well worth the read and outstanding effort from Wojciech Kocjan, definitely a job well done. For additional information on the book, visit <a href=http://www.packtpub.com/learning-nagios-4/book>PacktPub</a>.Please note, I was provided a free copy of the book to review; however, this in no way detracts from the excellent job Wojciech has done in the formulation of this text nor the fantastic format and samples contained.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.