2020-11-09 15:40:15 +00:00
|
|
|
nodes['ovh.icinga2'] = {
|
|
|
|
'bundles': {
|
2020-11-10 11:40:12 +00:00
|
|
|
'icinga2',
|
2020-11-13 12:19:26 +00:00
|
|
|
'php',
|
2020-11-09 15:40:15 +00:00
|
|
|
'postgresql',
|
2021-01-02 13:47:11 +00:00
|
|
|
'simple-icinga-dashboard',
|
2020-11-21 14:38:38 +00:00
|
|
|
'wireguard',
|
2020-11-09 15:40:15 +00:00
|
|
|
'zfs',
|
|
|
|
},
|
2020-11-13 12:19:26 +00:00
|
|
|
'groups': {
|
2020-11-21 09:55:09 +00:00
|
|
|
'debian-buster',
|
2020-11-13 12:19:26 +00:00
|
|
|
'webserver',
|
|
|
|
},
|
2020-11-09 15:40:15 +00:00
|
|
|
'metadata': {
|
|
|
|
'interfaces': {
|
|
|
|
'eth0': {
|
|
|
|
'ips': {
|
|
|
|
'51.195.44.8',
|
2020-11-21 14:38:38 +00:00
|
|
|
'2001:41d0:701:1100::2618/128'
|
2020-11-09 15:40:15 +00:00
|
|
|
},
|
|
|
|
'gateway4': '51.195.44.1',
|
|
|
|
'gateway6': '2001:41d0:701:1100::1'
|
|
|
|
},
|
|
|
|
},
|
2020-11-21 07:57:46 +00:00
|
|
|
'apt': {
|
|
|
|
'packages': {
|
|
|
|
'php-imagick': {},
|
|
|
|
},
|
|
|
|
},
|
2020-11-22 09:34:49 +00:00
|
|
|
'icinga2': {
|
2020-12-20 08:34:05 +00:00
|
|
|
'api_users': {
|
|
|
|
# Used with <https://git.kunsmann.eu/kunsi/icinga2beamer>
|
2021-01-02 13:47:11 +00:00
|
|
|
'dashboard': {
|
|
|
|
'password': vault.password_for('ovh.icinga2 icinga2 api_user dashboard'),
|
|
|
|
'permissions': {
|
|
|
|
'objects/query/Service'
|
|
|
|
},
|
|
|
|
},
|
2020-12-20 08:34:05 +00:00
|
|
|
'icinga2beamer': {
|
|
|
|
'password': vault.decrypt('encrypt$gAAAAABf3wM9YS5ZpRdhp3xyIFX21_MK0omzqHqykWbWdkZWp2xyJ6awaUSXODnZQ5j-rws6n0yrpaeMdXoj1irb2FrgxMDTdfCh88hIsqcKGOObzwGaRg6Ze0tuiMrzIfOO3tRnc9Kd'),
|
|
|
|
'permissions': {
|
|
|
|
'objects/query/Host',
|
|
|
|
'objects/query/Service'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2021-02-15 13:16:35 +00:00
|
|
|
'restrict-to': {
|
|
|
|
'172.19.138.0/24',
|
|
|
|
},
|
2020-11-22 09:34:49 +00:00
|
|
|
'sipgate_user': vault.decrypt('encrypt$gAAAAABfujAmCUnicSAllq8MskXnPodKp3cGcfA6Abvef-rAYwB2CtCwt9oBRVKFskJPVArDaF1wfjNTfLwgX3gTP7xFutJ1HA=='),
|
|
|
|
'sipgate_pass': vault.decrypt('encrypt$gAAAAABfui_4B7UmOosI_gsQ-xvmd3X_BUDSl-G2KF_Tg8O6RpUvk0gHexOKsrTb6se1ipXsh7RC9pbZCKMtesW0C6j24LHXDKCOjkqI77oO0ZjnG6SUwfcJqg61biNiRlXy8z-9LCGA'),
|
|
|
|
},
|
2020-12-31 11:40:26 +00:00
|
|
|
'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',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-11-13 12:19:26 +00:00
|
|
|
'nginx': {
|
|
|
|
'vhosts': {
|
|
|
|
'icingaweb': {
|
|
|
|
'domain': 'icinga.kunsmann.eu',
|
|
|
|
'webroot': '/usr/share/icingaweb2/public',
|
|
|
|
'extras': True,
|
|
|
|
},
|
2020-11-22 17:53:57 +00:00
|
|
|
'icinga_statusmonitor': {
|
|
|
|
'domain': 'statusmonitor.icinga.kunsmann.eu',
|
|
|
|
'proxy': {
|
|
|
|
'/': {
|
|
|
|
'target': 'http://127.0.0.1:5000/',
|
|
|
|
}
|
|
|
|
},
|
2021-01-02 13:47:11 +00:00
|
|
|
},
|
|
|
|
'statuspage': {
|
|
|
|
'domain': 'status.franzi.business',
|
|
|
|
'webroot': '/opt/simple-icinga-dashboard/out',
|
|
|
|
},
|
2020-11-13 12:19:26 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
'php': {
|
|
|
|
'version': '7.4',
|
|
|
|
'packages': {
|
2020-11-21 07:57:46 +00:00
|
|
|
'curl',
|
|
|
|
'gd',
|
|
|
|
'intl',
|
2020-11-13 12:19:26 +00:00
|
|
|
'json',
|
2020-11-21 07:57:46 +00:00
|
|
|
'ldap',
|
2020-11-13 12:19:26 +00:00
|
|
|
'opcache',
|
|
|
|
'pgsql',
|
|
|
|
'readline',
|
|
|
|
'xml',
|
|
|
|
},
|
|
|
|
},
|
2021-01-02 13:47:11 +00:00
|
|
|
'simple-icinga-dashboard': {
|
2021-04-10 14:08:52 +00:00
|
|
|
'icinga2_api': {
|
|
|
|
'baseurl': 'https://127.0.0.1:5665',
|
|
|
|
'username': 'dashboard',
|
|
|
|
'password': vault.password_for('ovh.icinga2 icinga2 api_user dashboard'),
|
|
|
|
},
|
|
|
|
'filters': {
|
|
|
|
'services': '"checks_with_sms" in service.groups',
|
|
|
|
},
|
|
|
|
'prettify': {
|
2021-04-10 13:43:37 +00:00
|
|
|
'CONTENT': '',
|
|
|
|
'NGINX': 'WEBSERVER',
|
|
|
|
'PROCESS': 'SERVICE',
|
|
|
|
},
|
2021-01-02 13:47:11 +00:00
|
|
|
},
|
2020-11-21 14:38:38 +00:00
|
|
|
'wireguard': {
|
2021-04-01 14:27:31 +00:00
|
|
|
'my_ip': '172.19.136.3/22',
|
2020-11-21 14:38:38 +00:00
|
|
|
'peers': {
|
|
|
|
'ovh.wireguard': {},
|
|
|
|
},
|
|
|
|
},
|
2020-11-09 15:40:15 +00:00
|
|
|
'zfs': {
|
|
|
|
'pools': {
|
|
|
|
'tank': {
|
|
|
|
'device': '/dev/sdb',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'vm': {
|
|
|
|
'cpu': 1,
|
|
|
|
'ram': 2,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|