diff /tmp/security_review/security_review.module ./security_review/security_review.module
481a482,523
>  * Implementation of hook_nagios_info()
>  */
> function security_review_nagios_info() {
>   return array(
>     'name'   => 'Security Review',
>     'id'     => 'SECURITY_REVIEW',
>   );
> }
> 
> /**
>  * Implementation of hook_nagios()
>  */
> function security_review_nagios () {
>   $checklist = module_invoke_all('security_checks');
>   $result = security_review_run($checklist);
>   if ( !$result ) {
>     // return a warning if we couldn't run the review
>     $status = NAGIOS_STATUS_WARN;
>     $text = 'Site security review did not run';    
>   }
>   
>   // query the results of the run
>   $results = db_query("SELECT namespace, reviewcheck, result, lastrun, skip, skiptime, skipuid FROM {security_review} WHERE result = 0" );
>   if ( !db_fetch_array($results) ) {
>     $text = 'Site has passed the security review';
>     $status = NAGIOS_STATUS_OK;
>   } else {
>     $text = 'Site failed security review';
>     $status = NAGIOS_STATUS_CRITICAL;    
>   }
>   
>   return array(
>     'key'  => 'SECURITY_REVIEW',
>     'data' => array(
>     'status' => $status,
>     'type'    => 'state',
>     'text'   => $text,
>     ),
>   );
> }
> 
> /**
