Icinga2 + Graphite limit sent Data to specific hosts

Hi.

One possibility is to blacklist specific metrics.
See here:

Another possibility might be to set “enable_perfdata” based on a host variable, or something similar, in the service-definition:

# Host
object Host "your_funky_host" {
  ...
  vars.no_perfdata = true
  ...
}

# Service
apply Service { ...
  ...
  if (vars.no_perfdata) {
      enable_perfdata = false
  } else {
      enable_perfdata = true
  }
  ...
}

Greetings,
Homerjay

1 Like