function ultimate_cron_nagios_check in Ultimate Cron 6
Same name and namespace in other branches
- 8.2 ultimate_cron.nagios.inc \ultimate_cron_nagios_check()
- 8 ultimate_cron.nagios.inc \ultimate_cron_nagios_check()
- 7 ultimate_cron.nagios.inc \ultimate_cron_nagios_check()
Implementation of drush hook_nagios_check().
File
- ./
ultimate_cron.nagios.inc, line 91
Code
function ultimate_cron_nagios_check($function) {
// We don't bother to check if the function has been enabled by the user.
// Since this runs via drush, web security is not an issue.
$func = $function . '_check';
$result = $func();
$status[$result['key']] = $result['data'];
return $status;
}