Fix name conflict with icinga2-common

Avoid name conflict with broken systemd checkcomand definition in
icinga2-common.
main
Jan Dittberner 1 year ago
parent 93e8ffaeaa
commit 6bdcf284dd

@ -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" ]
} }

@ -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
} }

Loading…
Cancel
Save