Fix name conflict with icinga2-common

Avoid name conflict with broken systemd checkcomand definition in
icinga2-common.
This commit is contained in:
Jan Dittberner 2023-08-19 13:27:45 +02:00
parent 93e8ffaeaa
commit 6bdcf284dd
2 changed files with 2 additions and 2 deletions

View file

@ -104,6 +104,6 @@ object CheckCommand "pgsql_socket" {
vars.pgsql_username = "nagios" vars.pgsql_username = "nagios"
} }
object CheckCommand "systemd" { object CheckCommand "custom_systemd" {
command = [ PluginContribDir + "/check_systemd" ] command = [ PluginContribDir + "/check_systemd" ]
} }

View file

@ -153,7 +153,7 @@ apply Service "ssh" {
apply Service "systemd" { apply Service "systemd" {
import "generic-service" import "generic-service"
check_command = "systemd" check_command = "custom_systemd"
assign where host.vars.debian_release && host.vars.debian_release >= 12 assign where host.vars.debian_release && host.vars.debian_release >= 12
} }