Book Image

Learning Nagios 3.0

Book Image

Learning Nagios 3.0

Overview of this book

Table of Contents (16 chapters)
Learning Nagios 3.0
Credits
About the Author
About the Reviewer
Preface

Miscellaneous Plugins


Nagios also offers plugins for many other operations that are common to daily system monitoring and activities; this section covers only a few of them. It is recommended that you look for remaining commands in both the Nagios-plugins package as well as on the NagiosExchange web site.

APT Updates Checking

Many Linux distributions use APT (Advanced Packaging Tool) for handling package downloads (visit http://en.wikipedia.org/wiki/Advanced_Packaging_Tool). This tool is used by default on Debian and its derivatives. It allows the handling of upgrades and download of packages. It also allows the synchronization of package lists from one or more remote sources. Nagios provides a plugin that allows you to monitor, if any upgrades are available, and/or perform upgrades automatically. The syntax and options are as follows:

check_apt [ -d|-u|-U [<opts>]] [-n] [-t timeout]
[-i <regex>] [-e <regex>] [-c <regex>]

Option

Description

-u, --update

Perform...