diff --git a/global-templates/commands.conf b/global-templates/commands.conf index 32610d1..8870819 100644 --- a/global-templates/commands.conf +++ b/global-templates/commands.conf @@ -104,6 +104,6 @@ object CheckCommand "pgsql_socket" { vars.pgsql_username = "nagios" } -object CheckCommand "systemd" { +object CheckCommand "custom_systemd" { command = [ PluginContribDir + "/check_systemd" ] } diff --git a/global-templates/services.conf b/global-templates/services.conf index 217967a..57272e3 100644 --- a/global-templates/services.conf +++ b/global-templates/services.conf @@ -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 }