aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/icinga2/conf.d/templates.conf.icinga_server
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-10-26 00:07:03 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-10-26 00:07:03 -0400
commit6e2a5993ce470341bed0e0c6ba8e44de3712d50e (patch)
tree7a6bad35bac69e5f9264a5dde460335b1068ec9e /files/usr/local/etc/icinga2/conf.d/templates.conf.icinga_server
parent7bb5176a0e1d3a7d8a119b92758404d514f59be9 (diff)
downloadinfrastructure-6e2a5993ce470341bed0e0c6ba8e44de3712d50e.tar.gz
more icinga stuff
Diffstat (limited to 'files/usr/local/etc/icinga2/conf.d/templates.conf.icinga_server')
-rw-r--r--files/usr/local/etc/icinga2/conf.d/templates.conf.icinga_server35
1 files changed, 3 insertions, 32 deletions
diff --git a/files/usr/local/etc/icinga2/conf.d/templates.conf.icinga_server b/files/usr/local/etc/icinga2/conf.d/templates.conf.icinga_server
index 1aae5ac..0ebe46e 100644
--- a/files/usr/local/etc/icinga2/conf.d/templates.conf.icinga_server
+++ b/files/usr/local/etc/icinga2/conf.d/templates.conf.icinga_server
@@ -12,39 +12,10 @@ template Service "generic-service" default {
}
template User "generic-user" default {
-
-}
-
-template Notification "mail-host-notification" {
- command = "mail-host-notification"
-
- states = [ Up, Down ]
- types = [ Problem, Acknowledgement, Recovery, Custom,
- FlappingStart, FlappingEnd,
- DowntimeStart, DowntimeEnd, DowntimeRemoved ]
-
- vars += {
- // notification_icingaweb2url = "https://www.example.com/icingaweb2"
- // notification_from = "Icinga 2 Host Monitoring <icinga@example.com>"
- notification_logtosyslog = false
- }
-
- period = "24x7"
}
-template Notification "mail-service-notification" {
- command = "mail-service-notification"
-
- states = [ OK, Warning, Critical, Unknown ]
- types = [ Problem, Acknowledgement, Recovery, Custom,
- FlappingStart, FlappingEnd,
- DowntimeStart, DowntimeEnd, DowntimeRemoved ]
-
- vars += {
- // notification_icingaweb2url = "https://www.example.com/icingaweb2"
- // notification_from = "Icinga 2 Service Monitoring <icinga@example.com>"
- notification_logtosyslog = false
- }
-
+template Notification "generic-notification" default {
+ // Don't repeat notifications.
+ interval = 0
period = "24x7"
}