|
drush_nagios
|
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 .
drush_nagios includes the following commands:
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.
--ignore option, followed by project or comma seperated list of projects--ignore-locked option, which ignores project that are locked via drush pm-update --lockIn both cases the ignored projects does not affect the exit status but they got listed with their severity.
Checks for pending database updates.
Anything at Drupals status report (Administer -> Reports -> Status report) for met requirements and their serverity, such as:
hook_requirements()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.
Since this is a Drush extension, you will need Drush greater or equal Drush version 5.
Download from project page and extract this extension to a number of places:
Since this is as drupal.org project, you might install it via drush, just type:
drush @none dl drush_nagios
Every command got a help, for options, examples and further informations just type:
drush help COMMAND
Thanks to the mighty hundfred, friend and Bastard Operator from Hell, who inspired me to write this (Nagios) Drush plugin.
1.8.8