Fix name conflict with icinga2-common
Avoid name conflict with broken systemd checkcomand definition in icinga2-common.
This commit is contained in:
parent
93e8ffaeaa
commit
6bdcf284dd
2 changed files with 2 additions and 2 deletions
|
@ -104,6 +104,6 @@ object CheckCommand "pgsql_socket" {
|
|||
vars.pgsql_username = "nagios"
|
||||
}
|
||||
|
||||
object CheckCommand "systemd" {
|
||||
object CheckCommand "custom_systemd" {
|
||||
command = [ PluginContribDir + "/check_systemd" ]
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@ apply Service "ssh" {
|
|||
apply Service "systemd" {
|
||||
import "generic-service"
|
||||
|
||||
check_command = "systemd"
|
||||
check_command = "custom_systemd"
|
||||
|
||||
assign where host.vars.debian_release && host.vars.debian_release >= 12
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue