icinga-zones/global-templates/servicegroups.conf
Jan Dittberner 9173311c2f Define custom_ssl_cert command
The ssl_cert command definition from icinga2-common does not support
client certificates with a separate private key file and uses the
deprecated -n parameter to check_ssl_cert. We override this CheckCommand
with a custom_ssl_cert.
2023-08-19 14:26:48 +02:00

24 lines
565 B
Text

// vim: set ft=icinga2 et sw=2 ts=2 si ai:
object ServiceGroup "disk" {
display_name = "Disk Checks"
assign where service.check_command == "disk"
}
object ServiceGroup "package-updates" {
display_name = "Package Update Status"
assign where service.check_command == "apt"
}
object ServiceGroup "procs" {
display_name = "Process Checks"
assign where service.check_command == "procs"
}
object ServiceGroup "ceritficates" {
display_name = "X.509 Certificate Checks"
assign where service.check_command in [ "custom_ssl_cert", "custom_ca_cert" ]
}