You are here

function hook_munin_default_multigraphs in Monitoring 7

@file Munin API.

1 function implements hook_munin_default_multigraphs()

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

monitoring_munin_munin_default_multigraphs in modules/monitoring_munin/monitoring_munin.module
Implements hook_munin_default_multigraphs()
1 invocation of hook_munin_default_multigraphs()
monitoring_munin_enable in modules/monitoring_munin/monitoring_munin.install
Implements hook_enable()

File

modules/monitoring_munin/monitoring_munin.api.php, line 7
Munin API.

Code

function hook_munin_default_multigraphs() {
  return array(
    // The array keys are multigraph titles.
    'My multigraph' => array(
      // Munin vertical label for units. This is required only if you want the
      // multigraph get created.
      'vlabel' => 'My units',
      // Sensor categories from which all sensors should belong to the defined
      // multigraph.
      'categories' => array(),
      // Individual sensors that should belong to the multigraph.
      'sensors' => array(),
    ),
  );
}