Enable incident.io alerts on all Icinga2 hosts and services

Add vars.enable_incidentio = true to every host template (generic-host,
server, mikrotik, ap-ubnt, netonix, edgeswitch, ap-epmp, af11, af24)
and the generic-service template — all ~80 hosts and their services
are now covered via template inheritance.
This commit is contained in:
Graham McIntire 2026-07-24 16:37:46 -05:00
parent edd689d8c7
commit d3f4278133
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -19,6 +19,7 @@ template Host "generic-host" {
check_command = "hostalive"
vars.enable_pagerduty = true
vars.enable_pagerduty_servers = false
vars.enable_incidentio = true
}
template Host "server" {
@ -29,6 +30,7 @@ template Host "server" {
check_command = "hostalive"
vars.enable_pagerduty = false
vars.enable_pagerduty_servers = true
vars.enable_incidentio = true
}
template Host "mikrotik" {
@ -38,6 +40,7 @@ template Host "mikrotik" {
check_command = "hostalive"
vars.enable_pagerduty = true
vars.enable_incidentio = true
}
template Host "ap-ubnt" {
@ -47,6 +50,7 @@ template Host "ap-ubnt" {
check_command = "hostalive"
vars.enable_pagerduty = true
vars.enable_incidentio = true
}
template Host "netonix" {
@ -56,6 +60,7 @@ template Host "netonix" {
check_command = "hostalive"
vars.enable_pagerduty = true
vars.enable_incidentio = true
}
template Host "edgeswitch" {
@ -65,6 +70,7 @@ template Host "edgeswitch" {
check_command = "hostalive"
vars.enable_pagerduty = true
vars.enable_incidentio = true
}
template Host "ap-epmp" {
@ -74,6 +80,7 @@ template Host "ap-epmp" {
check_command = "hostalive"
vars.enable_pagerduty = true
vars.enable_incidentio = true
}
template Host "af11" {
@ -83,6 +90,7 @@ template Host "af11" {
check_command = "hostalive"
vars.enable_pagerduty = true
vars.enable_incidentio = true
}
template Host "af24" {
@ -92,6 +100,7 @@ template Host "af24" {
check_command = "hostalive"
vars.enable_pagerduty = true
vars.enable_incidentio = true
}
/**
@ -103,6 +112,7 @@ template Service "generic-service" {
check_interval = 1m
retry_interval = 30s
vars.enable_pagerduty = true
vars.enable_incidentio = true
}
/**