Hello my friends, I need your help again.
Im using:
Icinga Web 2 Version
2.8.2
PHP Version
7.4.12
and use the operating system Ubuntu 20.04.1 LTS.
zones.d/director-global/service_templates.conf
template Service "apt" {
check_command = "apt"
max_check_attempts = "1"
check_interval = 1s
retry_interval = 1s
check_timeout = 30s
enable_notifications = true
enable_active_checks = true
enable_passive_checks = true
enable_event_handler = true
enable_flapping = true
enable_perfdata = true
volatile = false
command_endpoint = host_name
}
-------------------------------------------------------------
zones.d/director-global/servicesets.conf
/**
* Service Set: Service Standart
*/
zones.d/master/servicesets.conf
/**
* Service Set: Service Standart
* on host icinga-blabla.de
*/
object Service "apt" {
host_name = "icinga-collect.ad01.helidom.de"
import "apt"
import DirectorOverrideTemplate
}
How do I get that he only gives me a warning in case of a critical condition?
With “vars.apt_only_critical = true” or not? Is there another variant?
But how do I get that implemented in the Director? Do I do this using the Apply Rules service with assign where?
I am grateful for tips and instructions!
Thanks/Danke