Book Image

Learning Nagios 4

By : Wojciech Kocjan
Book Image

Learning Nagios 4

By: Wojciech Kocjan

Overview of this book

Table of Contents (19 chapters)
Learning Nagios 4
About the Author
About the Reviewers

Chapter 11. Programming Nagios

The previous chapter provided information about monitoring Microsoft Windows machines and several approaches for more advanced monitoring using Nagios.

This chapter focuses on extending Nagios using various programming languages. One of the key features of Nagios is its extensibility. There are multiple ways in which Nagios can be tailored to suit your needs. It is also possible to integrate Nagios tightly with your applications and benefit from a powerful mechanism to schedule and perform checks.

In this chapter, we will cover the following topics:

  • Understanding what aspects of Nagios can be customized

  • Writing plugins that perform active checks

  • Monitoring cloud environments (VMware and Amazon Web Services machines)

  • Creating commands to send custom notifications

  • Managing Nagios and reading its status information

  • Using passive checks for long-running tests