drush_nagios
Variables
example.drushrc.php File Reference

Go to the source code of this file.

Variables

 $command_specific ['check-updates']
 
 $command_specific ['check-drupal-requirements']
 

Detailed Description

Drush runtime config with command specific options for drush_nagios (https://www.drupal.org/project/drush_nagios) used on the monitored site or Drupal installation.

This configuration overwrites previous settings made in example.aliases.drushrc.php.

Rename this file to drushrc.php and optionally copy it to one of the places listed below in order of precedence:

  1. Drupal site folder (e.g. sites/{default|example.com}/drushrc.php).
  2. Drupal /drush and sites/all/drush folders.
See also
http://api.drush.org/api/drush/examples%21example.drushrc.php/5.x for examples of valid statements for a Drush runtime config (drushrc) file.

Definition in file example.drushrc.php.

Variable Documentation

$command_specific['check-updates']
Initial value:
= array(
'ignore' => 'project1,project2,projectN',
'ignore-locked' => 1,
)
Todo:
Implement drush_nagios_monitored_server variable for customizing output if available.

FQDN Host name of the server where the monitored site lives, used within message output if available. Command specific options for check-updates command.

  • ignore
    • Comma seperated list of projects which should be ignored, useful for patched, modified modules etc.
  • ignore-locked
    • Ignore projects which are locked by drush pm-update --lock (1, TRUE = on/0, FALSE = off).

Definition at line 42 of file example.drushrc.php.

$command_specific['check-drupal-requirements']
Initial value:
= array(
'ignore' => 'facility1,facility2,facilityN',
)

Command specific options for check-drupal-requirements command.

  • ignore
    • Facility or comma seperated list of facilities which should be ignored,

Definition at line 52 of file example.drushrc.php.