|
@@ -99,5 +99,37 @@ apply Service "apt-Updates" {
|
|
|
command_endpoint = host.name
|
|
|
}
|
|
|
|
|
|
+ check_interval = 15m
|
|
|
+
|
|
|
+ assign where host.address && host.vars.os == "Linux"
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+apply Service "running_kernel" {
|
|
|
+ import "generic-service"
|
|
|
+
|
|
|
+ check_command = "needrestart_kernel"
|
|
|
+
|
|
|
+ if (host.name != NodeName) {
|
|
|
+ command_endpoint = host.name
|
|
|
+ }
|
|
|
+
|
|
|
+ check_interval = 15m
|
|
|
+
|
|
|
+ assign where host.address && host.vars.os == "Linux"
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+apply Service "libs" {
|
|
|
+ import "generic-service"
|
|
|
+
|
|
|
+ check_command = "needrestart_libs"
|
|
|
+
|
|
|
+ if (host.name != NodeName) {
|
|
|
+ command_endpoint = host.name
|
|
|
+ }
|
|
|
+
|
|
|
+ check_interval = 15m
|
|
|
+
|
|
|
assign where host.address && host.vars.os == "Linux"
|
|
|
}
|