Only in ./: 989932-7_nagios_nrpe_support.patch
diff -cB /home/xxx/bak/nagios/nagios_nrpe.drush.inc ./nagios_nrpe.drush.inc
*** /home/xxx/bak/nagios/nagios_nrpe.drush.inc	2011-03-25 16:48:52.000000000 -0400
--- ./nagios_nrpe.drush.inc	2011-03-25 16:45:14.000000000 -0400
***************
*** 32,49 ****
   * Drush command callback: nagios-nrpe-check.
   */
  function drush_nagios_nrpe_check($check) {
!   foreach (module_implements('nagios_nrpe_checks') as $module) {
!     if (in_array($check, array_keys(module_invoke($module, 'nagios_nrpe_checks')))) {
!       return nagios_nrpe_check($module, $check);
      }
!   }
!   foreach (drush_command_implements('nagios_nrpe_checks') as $command) {
!     $function = $command . '_nagios_nrpe_checks';
!     if (in_array($check, array_keys($function()))) {
!       return nagios_nrpe_check($command, $check);
      }
    }
!   drush_set_error('No such nagios nrpe check exists: ' . $check);
  }
  
  /**
--- 32,68 ----
   * Drush command callback: nagios-nrpe-check.
   */
  function drush_nagios_nrpe_check($check) {
!   $checks = explode(',',$check);
!   foreach ($checks as $untrimmedcheck) {
!     $check = trim($untrimmedcheck);
!     $temp_msg = '';
!     foreach (module_implements('nagios_nrpe_check') as $module) {
!       if (in_array($check, array_keys(module_invoke($module, 'nagios_nrpe_checks')))) {
!         $temp_msg = nagios_nrpe_check($module, $check);
!       }
      }
!     foreach (drush_command_implements('nagios_nrpe_checks') as $command) {
!       $function = $command . '_nagios_nrpe_checks';
!       if (in_array($check, array_keys($function()))) {
!         $temp_msg = nagios_nrpe_check($command, $check);
!       }
!     }
!      
!     if ($temp === '') {
!       drush_set_error('No such nagios nrpe check exists: ' . $check); 
!     }
!     else {
!       $message .= $temp_msg.', ';
      }
    }
! 
!   // We want to exit with the correct exit status so NRPE knows the outcome
!   // of our drush nrpe check so set DRUSH_EXECUTION_COMPLETED to true.
!   drush_set_context('DRUSH_EXECUTION_COMPLETED', TRUE);
!   if (isset($message)) {
!     $message = trim($message, ', ');
!     drush_print($message);
!   }
  }
  
  /**
***************
*** 64,72 ****
    if ($nagios_data[$key]['type'] == 'perf') {
      $message .= '|' . $key . '=' . $nagios_data[$key]['text'];
    }
!   // We want to exit with the correct exit status so NRPE knows the outcome
!   // of our drush nrpe check so set DRUSH_EXECUTION_COMPLETED to true.
!   drush_set_context('DRUSH_EXECUTION_COMPLETED', TRUE);
!   drush_print($message);
!   exit((int) $nagios_data[$key]['status']);
  }
--- 83,88 ----
    if ($nagios_data[$key]['type'] == 'perf') {
      $message .= '|' . $key . '=' . $nagios_data[$key]['text'];
    }
! 
!   return $message;
  }
diff -cB /home/eh2413/bak/nagios/nagios_nrpe.info ./nagios_nrpe.info
*** /home/eh2413/bak/nagios/nagios_nrpe.info	2011-03-25 16:46:59.000000000 -0400
--- ./nagios_nrpe.info	2011-03-25 17:01:37.000000000 -0400
***************
*** 3,7 ****
  description = Exposes Nagios checks to Drush to be run via NRPE
  core = 6.x
  project = "nagios"
! dependancies[] = "nagios"
  
--- 3,7 ----
  description = Exposes Nagios checks to Drush to be run via NRPE
  core = 6.x
  project = "nagios"
! dependencies[] = "nagios"
  
Common subdirectories: /home/eh2413/bak/nagios/nagios-plugin and ./nagios-plugin
diff -cB /home/eh2413/bak/nagios/README.txt ./README.txt
*** /home/eh2413/bak/nagios/README.txt	2011-03-25 16:46:59.000000000 -0400
--- ./README.txt	2011-03-25 17:09:09.000000000 -0400
***************
*** 45,50 ****
--- 45,58 ----
  
  An NRPE check will need to be add at the Nagios server to check for "drupal_check_cron"
  
+ Multiple arguments can be specified for the Drush NRPE command via a comma
+ separated list.
+ 
+   command[drupal_check_ct]=/path/to/drush -r /path/to/drupal nrpe cron,themes
+ 
+ This will return a comma separate list of results.
+ 
+  RON OK - , THM OK - 2|THM=2
  
  NRPE requirements checks
  ------------------------
