drush_nagios
drush_nagios Documentation

Introduction

Isolated Nagios/Icinga functionality from drush_multi, for Nagios/Icinga monitoring via NRPE Plugin or ssh as Drush plugin.

It just prints a message and exit with an exit status (severity).

You can find the original project page at http://drupal.org/project/drush_nagios .

Commands

drush_nagios includes the following commands:

check-updates

Checks for pending updates including Drupal (core), modules and themes grouped by type/serverity of update followed by the corresonding modules.

This command has 2 option to ignore projects.

In both cases the ignored projects does not affect the exit status but they got listed with their severity.

check-db-updates

Checks for pending database updates.

check-drupal-requirements

Anything at Drupals status report (Administer -> Reports -> Status report) for met requirements and their serverity, such as:

Like in check-updates, this command has a --ignore option for ignoring requirements/facilities too with the same behaviour as above.

Ignored requirements does not affect the exit status but they got listed with their severity.

Requirements

Since this is a Drush extension, you will need Drush greater or equal Drush version 5.

Installation

Manual method

Download from project page and extract this extension to a number of places:

Drush method

Since this is as drupal.org project, you might install it via drush, just type:

drush @none dl drush_nagios

Configuration

Documentation

Every command got a help, for options, examples and further informations just type:

drush help COMMAND

Maintainers

Credits

Thanks to the mighty hundfred, friend and Bastard Operator from Hell, who inspired me to write this (Nagios) Drush plugin.