add simple-icinga-dashboard on status.franzi.business
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

fixes #20
This commit is contained in:
Franzi 2021-01-02 14:47:11 +01:00
parent 2ebf7ec32b
commit e8d131b041
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 84 additions and 1 deletions

View file

@ -4,6 +4,7 @@ nodes['ovh.icinga2'] = {
'iptables',
'php',
'postgresql',
'simple-icinga-dashboard',
'wireguard',
'zfs',
},
@ -30,6 +31,13 @@ nodes['ovh.icinga2'] = {
'icinga2': {
'api_users': {
# Used with <https://git.kunsmann.eu/kunsi/icinga2beamer>
'dashboard': {
'password': vault.password_for('ovh.icinga2 icinga2 api_user dashboard'),
'permissions': {
'objects/query/Host',
'objects/query/Service'
},
},
'icinga2beamer': {
'password': vault.decrypt('encrypt$gAAAAABf3wM9YS5ZpRdhp3xyIFX21_MK0omzqHqykWbWdkZWp2xyJ6awaUSXODnZQ5j-rws6n0yrpaeMdXoj1irb2FrgxMDTdfCh88hIsqcKGOObzwGaRg6Ze0tuiMrzIfOO3tRnc9Kd'),
'permissions': {
@ -80,7 +88,11 @@ nodes['ovh.icinga2'] = {
'target': 'http://127.0.0.1:5000/',
}
},
}
},
'statuspage': {
'domain': 'status.franzi.business',
'webroot': '/opt/simple-icinga-dashboard/out',
},
},
},
'php': {
@ -97,6 +109,13 @@ nodes['ovh.icinga2'] = {
'xml',
},
},
'simple-icinga-dashboard': {
'api_url': 'https://127.0.0.1:5665',
'api_user': 'dashboard',
'api_password': vault.password_for('ovh.icinga2 icinga2 api_user dashboard'),
'host_filter': '"checks_with_sms" in host.groups',
'service_filter': '"checks_with_sms" in service.groups'
},
'wireguard': {
'my_ip': '172.19.137.3/32',
'peers': {