life-noc/icinga/services/reseau-chezlepro.conf

187 lines
7.9 KiB
Text

/*
AUTO-GENERATED FILE - DOMAIN: reseau-chezlepro
Ne pas modifier manuellement.
Source: domains.yaml
*/
apply Service "reseau-chezlepro-verification-firewalls" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/reseau-chezlepro.yaml"
vars.life_noc_item_key = "verification-firewalls"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-firewalls"
groups = [ "RESEAU-CHEZLEPRO" ]
vars.life_noc_threshold_unknown_lt = "20"
vars.life_noc_threshold_ok_gte = "20"
vars.life_noc_threshold_warning_gte = "31"
vars.life_noc_threshold_critical_gte = "45"
vars.life_noc_on_error = "critical"
notes = "Vérification des firewalls"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/verification-firewalls"
assign where host.name == "life-noc"
}
apply Service "reseau-chezlepro-verification-vpn-openvpn" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/reseau-chezlepro.yaml"
vars.life_noc_item_key = "verification-vpn-openvpn"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-vpn-openvpn"
groups = [ "RESEAU-CHEZLEPRO" ]
vars.life_noc_threshold_unknown_lt = "20"
vars.life_noc_threshold_ok_gte = "20"
vars.life_noc_threshold_warning_gte = "31"
vars.life_noc_threshold_critical_gte = "45"
vars.life_noc_on_error = "critical"
notes = "Vérification des tunnels OpenVPN"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/verification-vpn-openvpn"
assign where host.name == "life-noc"
}
apply Service "reseau-chezlepro-verification-crl-certificats" {
import "service_echeance"
vars.date_echeance = "2026-04-15"
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "RESEAU-CHEZLEPRO" ]
notes = "Vérification de la CRL et des certificats"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/verification-crl-certificats"
assign where host.name == "life-noc"
}
apply Service "reseau-chezlepro-verification-switches" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/reseau-chezlepro.yaml"
vars.life_noc_item_key = "verification-switches"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-switches"
groups = [ "RESEAU-CHEZLEPRO" ]
vars.life_noc_threshold_unknown_lt = "60"
vars.life_noc_threshold_ok_gte = "60"
vars.life_noc_threshold_warning_gte = "90"
vars.life_noc_threshold_critical_gte = "120"
vars.life_noc_on_error = "critical"
notes = "Vérification des switches et uplinks"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/verification-switches"
assign where host.name == "life-noc"
}
apply Service "reseau-chezlepro-verification-vlans-segmentation" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/reseau-chezlepro.yaml"
vars.life_noc_item_key = "verification-vlans-segmentation"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-vlans-segmentation"
groups = [ "RESEAU-CHEZLEPRO" ]
vars.life_noc_threshold_unknown_lt = "60"
vars.life_noc_threshold_ok_gte = "60"
vars.life_noc_threshold_warning_gte = "90"
vars.life_noc_threshold_critical_gte = "120"
vars.life_noc_on_error = "critical"
notes = "Vérification de la segmentation réseau"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/verification-vlans-segmentation"
assign where host.name == "life-noc"
}
apply Service "reseau-chezlepro-verification-dns" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/reseau-chezlepro.yaml"
vars.life_noc_item_key = "verification-dns"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-dns"
groups = [ "RESEAU-CHEZLEPRO" ]
vars.life_noc_threshold_unknown_lt = "60"
vars.life_noc_threshold_ok_gte = "60"
vars.life_noc_threshold_warning_gte = "90"
vars.life_noc_threshold_critical_gte = "120"
vars.life_noc_on_error = "critical"
notes = "Vérification DNS interne et externe"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/verification-dns"
assign where host.name == "life-noc"
}
apply Service "reseau-chezlepro-verification-dynamic-dns" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/reseau-chezlepro.yaml"
vars.life_noc_item_key = "verification-dynamic-dns"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-dynamic-dns"
groups = [ "RESEAU-CHEZLEPRO" ]
vars.life_noc_threshold_unknown_lt = "60"
vars.life_noc_threshold_ok_gte = "60"
vars.life_noc_threshold_warning_gte = "90"
vars.life_noc_threshold_critical_gte = "120"
vars.life_noc_on_error = "critical"
notes = "Vérification du DNS dynamique si utilisé"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/verification-dynamic-dns"
assign where host.name == "life-noc"
}
apply Service "reseau-chezlepro-audit-regles-firewall" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/reseau-chezlepro.yaml"
vars.life_noc_item_key = "audit-regles-firewall"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "audit-regles-firewall"
groups = [ "RESEAU-CHEZLEPRO" ]
vars.life_noc_threshold_unknown_lt = "60"
vars.life_noc_threshold_ok_gte = "60"
vars.life_noc_threshold_warning_gte = "90"
vars.life_noc_threshold_critical_gte = "120"
vars.life_noc_on_error = "critical"
notes = "Audit périodique des règles de firewall"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/audit-regles-firewall"
assign where host.name == "life-noc"
}
apply Service "reseau-chezlepro-verification-geoblocking" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/reseau-chezlepro.yaml"
vars.life_noc_item_key = "verification-geoblocking"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-geoblocking"
groups = [ "RESEAU-CHEZLEPRO" ]
vars.life_noc_threshold_unknown_lt = "60"
vars.life_noc_threshold_ok_gte = "60"
vars.life_noc_threshold_warning_gte = "90"
vars.life_noc_threshold_critical_gte = "120"
vars.life_noc_on_error = "critical"
notes = "Vérifier le geoblocking et son effet attendu"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/verification-geoblocking"
assign where host.name == "life-noc"
}
apply Service "reseau-chezlepro-verification-certificats-publics" {
import "service_echeance"
vars.date_echeance = "2026-06-01"
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "RESEAU-CHEZLEPRO" ]
notes = "Vérifier les expirations de certificats publics"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/reseau-chezlepro/verification-certificats-publics"
assign where host.name == "life-noc"
}