]> git.hoellein.online Git - vserver/commitdiff
daily autocommit
authormhoellein <mario@hoellein.online>
Wed, 9 Sep 2020 15:31:13 +0000 (17:31 +0200)
committermhoellein <mario@hoellein.online>
Wed, 9 Sep 2020 15:31:13 +0000 (17:31 +0200)
icinga2/conf.d/apt.conf
icinga2/conf.d/templates.conf

index b2c77a0c1f29514d985fcaa449d680dd030d4895..8efdd7b105955ec772d96a6c646e39f03da229a2 100644 (file)
@@ -1,5 +1,5 @@
 apply Service "apt" {
-  import "generic-service"
+  import "daily-service-check"
 
   check_command = "apt"
 
index 5655e3f2d4b7c3dadbdadbada85bc8c7d8957946..1fa2e38a306f09e6fe30d347b38d83c87a153c31 100644 (file)
@@ -29,6 +29,18 @@ template Service "generic-service" {
   retry_interval = 30s
 }
 
+template Service "weekly-service-check" {
+  max_check_attempts = 5
+  check_interval = 168h
+  retry_interval = 24h
+}
+
+template Service "daily-service-check" {
+  max_check_attempts = 5
+  check_interval = 24h
+  retry_interval = 12h
+}
+
 /**
  * Provides default settings for users. By convention
  * all users should inherit from this template.