function nagios_hook_test_module_nagios in Nagios Monitoring 8
Implements hook_nagios().
File
- tests/
modules/ nagios_hook_test_module/ nagios_hook_test_module.module, line 20
Code
function nagios_hook_test_module_nagios() {
return [
'NAGIOS_CHECK_KEY' => [
'status' => 1,
// NAGIOS_STATUS_WARNING
'type' => 'state',
'text' => 'Text description for the problem',
],
];
}