drush_nagios
Functions
Drush hooks

Functions

 nagios_drush_init ()
 
 nagios_drush_help ($section)
 
 nagios_drush_command ()
 

Detailed Description

Implementation of general drush hooks

Function Documentation

nagios_drush_command ( )

Implementation of hook_drush_command(). drush_parse_command() for a list of recognized keys.

Returns
An associative array describing your command(s).
Todo:
Implement recommended-version option in _nagios_print_message().
Todo:
Implement changelog option in _nagios_print_message().
Todo:
Implement option severity for check-db-updates command

Definition at line 70 of file nagios.drush.inc.

nagios_drush_help (   $section)

Implementation of hook_drush_help().

Parameters
Astring with the help section (prepend with 'drush:')
Returns
A string with the help text for your command.

Definition at line 39 of file nagios.drush.inc.

nagios_drush_init ( )

Implementation of hook_drush_init().

Drush version switch for including needed pm_release_recommended() in drush above v.5 which lives there in a different place.

See also
https://www.drupal.org/node/2358075

Definition at line 25 of file nagios.drush.inc.