diff --git a/nodes/ovh/icinga2.py b/nodes/ovh/icinga2.py index 73e1916..7f6f515 100644 --- a/nodes/ovh/icinga2.py +++ b/nodes/ovh/icinga2.py @@ -41,6 +41,25 @@ nodes['ovh.icinga2'] = { 'sipgate_user': vault.decrypt('encrypt$gAAAAABfujAmCUnicSAllq8MskXnPodKp3cGcfA6Abvef-rAYwB2CtCwt9oBRVKFskJPVArDaF1wfjNTfLwgX3gTP7xFutJ1HA=='), 'sipgate_pass': vault.decrypt('encrypt$gAAAAABfui_4B7UmOosI_gsQ-xvmd3X_BUDSl-G2KF_Tg8O6RpUvk0gHexOKsrTb6se1ipXsh7RC9pbZCKMtesW0C6j24LHXDKCOjkqI77oO0ZjnG6SUwfcJqg61biNiRlXy8z-9LCGA'), }, + 'icinga2_api': { + 'custom': { + # redundant monitoring of services/hosts + 'services': { + 'flauschekatze.space CERTIFICATE': { + 'check_command': 'check_https_cert_at_url', + 'vars.domain': 'flauschekatze.space', + }, + 'matrix.flauschekatze.space CERTIFICATE': { + 'check_command': 'check_https_cert_at_url', + 'vars.domain': 'matrix.flauschekatze.space', + }, + 'media.ccc.de CERTIFICATE': { + 'check_command': 'check_https_cert_at_url', + 'vars.domain': 'media.ccc.de', + }, + }, + }, + }, 'iptables': { 'custom_rules': { # icinga2 api