Nagios/Icinga functionality for the using as Nagios/Icinga NRPE Plugin.
It just prints a message and exit with an exit status.
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.
- Via
--ignore
option, followed by project or comma seperated list of projects - Or via
--ignore-locked
option, which ignores project that are locked viadrush pm-update --lock
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:
- module updates
- last run of cron
- database schema
- files directory writability
- access to update.php
- files directory protection via .htaccess
- every project that implements
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.
Installation
Manual method
Download and extract this extension to a number of places:
- In a .drush folder in your HOME folder.
- Along with one of your existing modules. If your command is related to an existing module, this is the preferred option.
- In a folder specified with the include option.
- In /path/to/drush/commands (not a "Smart Thing to Do", but it would work).
Drush method
Since this is as drupal.org project, you might install it via drush, just type:
drush @none dl drush_nagios
Configuration
- See example.aliases.drushrc.php at examples directory for drush_nagios specific settings within an alias file.
- See example.drushrc.php at examples directory for drush_nagios specific settings within a Drush runtime config (drushrc) file.
Documentation
Every command got a help.
Type drush help COMMAND
for options and further informations.
- See example.aliases.drushrc.php for Drush alias configuration
- See Drush Nagios (drush_nagios) Doxygen Dokumentation
See also example.aliases.drushrc.php.
Credits
Thanks to the mighty hundfred, friend and Bastard Operator from Hell,
who inspired me to write this (Nagios) Drush plugin.
Project information
- Seeking new maintainer
The current maintainers are looking for new people to take ownership. - Module categories: Administration Tools, Security
- Ecosystem: Drush
- Created by fl3a on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 13 Jan 2015 at 10:30 UTC