You are here

function hook_nagios_info in Nagios Monitoring 7

Same name and namespace in other branches
  1. 8 nagios.api.php \hook_nagios_info()

Provide a way to enabled/disable a certain module from being included in Nagios reports and alerts.

Implementing this hook generates a checkbox in the Nagios settings page, nothing more

1 function implements hook_nagios_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

nagios_nagios_info in ./nagios.module
Implements hook_nagios_info().

File

./nagios.api.php, line 13
Document hooks provided by the Nagios Monitoring module.

Code

function hook_nagios_info() {
  return [
    'name' => 'Your module name',
    'id' => 'IDENTIFIER',
  ];
}